This commit is contained in:
Bernd Reuther 2021-10-17 13:54:06 +02:00
parent d089df2f2a
commit 65d2fbd2de

View File

@ -143,6 +143,7 @@ class motor():
def gehe_zu(self, position):
if self.aktiv == 0:
temp_schritte = int(position) - self.pos
print('Kamera Motor ' + self.name + ' gehe ' + str(temp_schritte))
if temp_schritte > 0:
self.__vorwaerts(temp_schritte)