changeset 16:dd935af37b17

Update from the working robot
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Sat, 14 Feb 2015 14:47:37 +0100
parents f8be8596c251
children 07e5364d368e
files creep.py robot.py serial.sh stream.sh
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/creep.py	Fri Jan 16 15:00:08 2015 +0100
+++ b/creep.py	Sat Feb 14 14:47:37 2015 +0100
@@ -119,4 +119,4 @@
 
 
 if __name__ == '__main__':
-    Creep.make_robot('/dev/ttyUSB0', 9600).run()
+    Creep.make_robot().run()
--- a/robot.py	Fri Jan 16 15:00:08 2015 +0100
+++ b/robot.py	Sat Feb 14 14:47:37 2015 +0100
@@ -150,7 +150,7 @@
 if __name__ == '__main__':
     import time
 
-    robot = Robot.make_robot('/dev/ttyUSB0', 9600)
+    robot = Robot.make_robot()
     robot.update()
     time.sleep(1)
     steps = 10
--- a/serial.sh	Fri Jan 16 15:00:08 2015 +0100
+++ b/serial.sh	Sat Feb 14 14:47:37 2015 +0100
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-stty -F /dev/ttyS0 38400 clocal cread cs8 -cstopb -parenb
+stty -F /dev/ttyS0 19200 clocal cread cs8 -cstopb -parenb