Compare commits
No commits in common. "a20dc320201554476f18ae441fad921f92affbd1" and "c40f2a97ed7b42c72f47705a1250fcd73114a101" have entirely different histories.
a20dc32020
...
c40f2a97ed
1 changed files with 2 additions and 31 deletions
33
main.py
33
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()
|
||||
hologram_aufgabe1()
|
||||
|
|
Loading…
Reference in a new issue