Compare commits

...

3 Commits

Author SHA1 Message Date
Jens Noack 820a7d83d4 Merge pull request 'Schaufel Funktion' (#6) from schaufel-funktion into main
Reviewed-on: #6
2023-11-16 09:42:02 +00:00
Jens Noack b5314bcd5d Merge branch 'main' into schaufel-funktion 2023-11-16 09:41:29 +00:00
(MakerLab) Laptop 2 68f71f808f Schaufel Funktion 2023-11-15 18:42:04 +01:00
1 changed files with 5 additions and 0 deletions

View File

@ -127,6 +127,11 @@ class IQRobot:
drehung = self.bewegungsSensor.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 :)")