Compare commits
4 commits
ce7e95ba17
...
be67475d91
Author | SHA1 | Date | |
---|---|---|---|
be67475d91 | |||
|
feac94f2fb | ||
|
147fb0cc8a | ||
|
835b9a69b9 |
1 changed files with 8 additions and 8 deletions
|
@ -106,7 +106,7 @@ class IQRobot:
|
||||||
richtung = 1
|
richtung = 1
|
||||||
if cm < 0:
|
if cm < 0:
|
||||||
richtung = -1
|
richtung = -1
|
||||||
speed = -speed
|
speed = speed * richtung
|
||||||
|
|
||||||
self.linker_motor.set_degrees_counted(0)
|
self.linker_motor.set_degrees_counted(0)
|
||||||
self.bewegungsSensor.reset_yaw_angle()
|
self.bewegungsSensor.reset_yaw_angle()
|
||||||
|
|
Loading…
Reference in a new issue