Anpassung fahre_gerade_aus für negative Strecken

Signed-off-by: Harry Kimpel <harrykimpel@hotmail.com>
This commit is contained in:
Harry Kimpel 2023-11-29 17:54:25 +01:00
parent 608480dc44
commit f5119caeb7
2 changed files with 20 additions and 9 deletions

View file

@ -107,7 +107,7 @@ def hologram():
iqRobot.drehe(45)
iqRobot.fahre_gerade_aus(15,30)
iqRobot.fahre_gerade_aus(-15,30)
def augmented_reality():
iqRobot.drehe(-135)
iqRobot.fahre_gerade_aus(42,30)
@ -119,7 +119,6 @@ def augmented_reality():
iqRobot.fahre_gerade_aus(20,30)
iqRobot.drehe(-90)
iqRobot.fahre_gerade_aus(5,20)
druckmaschine()
hologram()