From 0ea5b0c55ea29ca53c0482cb5a3947d11bc79ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Tue, 22 Aug 2023 09:22:59 +0200 Subject: [PATCH] changes in operation: testing --- rmp220_middleware/rmp220_middleware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rmp220_middleware/rmp220_middleware.py b/rmp220_middleware/rmp220_middleware.py index d3a6643..af0b388 100644 --- a/rmp220_middleware/rmp220_middleware.py +++ b/rmp220_middleware/rmp220_middleware.py @@ -124,8 +124,8 @@ class StateMachineNode(Node): self.timeout = 20.0 def timer_callback(self): - if self.chassis_mode == State.DISABLED or self.chassis_mode == State.STOPPED or self.chassis_mode == State.PASSIVE: - return # Do nothing if chassis is disabled, stopped or passive --> should save processing power + # if self.chassis_mode == State.DISABLED or self.chassis_mode == State.STOPPED or self.chassis_mode == State.PASSIVE: + # return # Do nothing if chassis is disabled, stopped or passive --> should save processing power if self.chassis_mode == State.ENABLED: if self.timeout <= 0: self.state = State.PAUSED