Mercurial > tote0
changeset 9:b99cc61c581e
Proper zero position
| author | Radomir Dopieralski <dev@sheep.art.pl> |
|---|---|
| date | Wed, 27 Jan 2016 09:54:22 +0100 |
| parents | ce5ba7f8163c |
| children | bbe9d986b319 |
| files | run.py trim.py |
| diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/run.py Tue Jan 26 23:40:39 2016 +0100 +++ b/run.py Wed Jan 27 09:54:22 2016 +0100 @@ -5,13 +5,14 @@ import servo import creep import time +import math robot = tote.Robot(servo.Servos()) for leg in robot.legs: for servo in leg.servos: - servo.move(0) + servo.move(math.pi/2) time.sleep(0.25) gait = creep.Creep(robot)
