Compare commits
3 Commits
37ceaa3bcb
...
820a7d83d4
Author | SHA1 | Date |
---|---|---|
Jens Noack | 820a7d83d4 | |
Jens Noack | b5314bcd5d | |
(MakerLab) Laptop 2 | 68f71f808f |
|
@ -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 :)")
|
||||
|
||||
|
|
Loading…
Reference in New Issue