motor test
This commit is contained in:
parent
28937cece3
commit
7d797b2ffb
@ -139,6 +139,7 @@ class motor():
|
|||||||
|
|
||||||
def gehe_zu(self, position):
|
def gehe_zu(self, position):
|
||||||
temp_schritte = int(position) - self.pos
|
temp_schritte = int(position) - self.pos
|
||||||
|
print(str(temp_schritte))
|
||||||
|
|
||||||
if temp_schritte > 0:
|
if temp_schritte > 0:
|
||||||
self.vorwaerts(temp_schritte)
|
self.vorwaerts(temp_schritte)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user