Merge pull request 'Anpassung fahre_gerade_aus für negative Strecken' (#17) from treffen-291123 into main

Reviewed-on: #17
This commit is contained in:
Harald Kimpel 2023-11-29 20:25:14 +00:00
commit be67475d91

View file

@ -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()