21022024 #20

Merged
viernst merged 53 commits from 21022024 into energybrickies 2024-02-21 17:05:35 +00:00
Showing only changes of commit 820a7d83d4 - Show all commits

View file

@ -127,6 +127,11 @@ class IQRobot:
drehung = self.bewegungsSensor.get_yaw_angle() drehung = self.bewegungsSensor.get_yaw_angle()
print(drehung) 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 :)") print("successfully loaded the IQ Lego teams code :)")