diff --git a/main.py b/main.py index 1ffdb3c..cffdfc7 100644 --- a/main.py +++ b/main.py @@ -79,7 +79,7 @@ iqRobot: iq.IQRobot = iq.IQRobot(hub) # Führe Funktionen aus unser Robot Klasse aus: iqRobot.show('HAPPY') -def hologram_alt(): +def hologram_aufgabe1(): iqRobot.fahre_gerade_aus(cm=75,speed=80) iqRobot.drehe(45, False) iqRobot.fahre_gerade_aus(cm=14,speed=70) @@ -87,33 +87,4 @@ def hologram_alt(): iqRobot.drehe(-45, False) iqRobot.fahre_gerade_aus(cm=-75,speed=50) - -def druckmaschine(): - iqRobot.fahre_gerade_aus(19,30) - iqRobot.drehe(-45) - iqRobot.fahre_gerade_aus(20,30) - iqRobot.fahre_gerade_aus(-15,30) - -def hologram(): - iqRobot.drehe(45) - iqRobot.fahre_gerade_aus(37.5,30) - 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) - iqRobot.drehe(90) - iqRobot.fahre_gerade_aus(12,30) - iqRobot.schaufel(-100) - iqRobot.fahre_gerade_aus(-3,30) - iqRobot.drehe(90) - iqRobot.fahre_gerade_aus(20,30) - iqRobot.drehe(-90) - iqRobot.fahre_gerade_aus(5,20) - - -druckmaschine() -hologram() -augmented_reality() \ No newline at end of file +hologram_aufgabe1()