Merge pull request 'Heber Funktion' (#7) from laptop_3 into main

Reviewed-on: #7
This commit is contained in:
Lars Haferkamp 2023-11-16 19:37:44 +00:00
commit c40f2a97ed

View file

@ -126,6 +126,9 @@ class IQRobot:
self.antrieb.move(amount=richtung * 0.1, steering=100)
drehung = self.bewegungsSensor.get_yaw_angle()
print(drehung)
def heber(self, cm,speed):
self.bothFrontMotors.move_tank(-cm*3.3,"cm", -speed, speed)
def schaufel(self,prozent):
volle_umdrehung=0.29