Schaufel Funktion #6

Merged
jenoack merged 2 commits from schaufel-funktion into main 2023-11-16 09:42:03 +00:00
Showing only changes of commit 68f71f808f - Show all commits

View file

@ -157,6 +157,11 @@ class IQRobot:
drehung = self.motionSensor.get_yaw_angle()
print(drehung)
def schaufel(self,prozent):
volle_umdrehung=0.29
rotations=volle_umdrehung*prozent/100
self.bothFrontMotors.move(rotations, unit='rotations',speed=20)
print("successfully loaded the IQ Lego teams code :)")