- stirrer: removed status logs

This commit is contained in:
jens
2021-10-02 12:36:48 +02:00
parent 5f5fbf3a7c
commit f085e74c53
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -41,11 +41,8 @@ class StirrerPololu1376(AStirrer):
print("Set speed to {} %".format(speed))
def _on_process(self):
#s print("STATUS :")
# self.drv.print_vars()
status = self.drv.get_variable(Varid.STATUS)
limit_status = self.drv.get_variable(Varid.STATUS_LIMIT_STATUS)
print("Status={:02X}".format(status))
if status & 0x01 == 0x01:
if limit_status & 0x01 == 0x01:
print("Recover after motor error!")
+1 -1
View File
@@ -18,7 +18,7 @@ class StirrerSim(AStirrer):
print("Set speed to {} %".format(speed))
def _on_process(self):
print("STATUS = OK!")
pass
if __name__ == '__main__':