diff --git a/components/actor/stirrerpololu1376.py b/components/actor/stirrerpololu1376.py index 81b66bb..8af5346 100644 --- a/components/actor/stirrerpololu1376.py +++ b/components/actor/stirrerpololu1376.py @@ -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!") diff --git a/components/actor/stirrersim.py b/components/actor/stirrersim.py index 21f4263..00ecfde 100644 --- a/components/actor/stirrersim.py +++ b/components/actor/stirrersim.py @@ -18,7 +18,7 @@ class StirrerSim(AStirrer): print("Set speed to {} %".format(speed)) def _on_process(self): - print("STATUS = OK!") + pass if __name__ == '__main__':