Rückwärsfahren mit Regler #18
2 changed files with 9 additions and 10 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()
|
||||
|
|
1
main.py
1
main.py
|
@ -120,7 +120,6 @@ def augmented_reality():
|
|||
iqRobot.drehe(-90)
|
||||
iqRobot.fahre_gerade_aus(5,20)
|
||||
|
||||
|
||||
druckmaschine()
|
||||
hologram()
|
||||
augmented_reality()
|
||||
|
|
Loading…
Reference in a new issue