21022024
#20
1 changed files with 8 additions and 8 deletions
|
@ -106,7 +106,7 @@ class IQRobot:
|
|||
richtung = 1
|
||||
if cm < 0:
|
||||
richtung = -1
|
||||
speed = -speed
|
||||
speed = speed * richtung
|
||||
|
||||
self.linker_motor.set_degrees_counted(0)
|
||||
self.bewegungsSensor.reset_yaw_angle()
|
||||
|
|
Loading…
Reference in a new issue