Merge pull request 'Heber Funktion' (#7) from laptop_3 into main
Reviewed-on: #7
This commit is contained in:
commit
c40f2a97ed
1 changed files with 3 additions and 0 deletions
|
@ -127,6 +127,9 @@ class IQRobot:
|
||||||
drehung = self.bewegungsSensor.get_yaw_angle()
|
drehung = self.bewegungsSensor.get_yaw_angle()
|
||||||
print(drehung)
|
print(drehung)
|
||||||
|
|
||||||
|
def heber(self, cm,speed):
|
||||||
|
self.bothFrontMotors.move_tank(-cm*3.3,"cm", -speed, speed)
|
||||||
|
|
||||||
def schaufel(self,prozent):
|
def schaufel(self,prozent):
|
||||||
volle_umdrehung=0.29
|
volle_umdrehung=0.29
|
||||||
rotations=volle_umdrehung*prozent/100
|
rotations=volle_umdrehung*prozent/100
|
||||||
|
|
Loading…
Reference in a new issue