From 0c99c96aff3c03334e0aad6f986778e1fd3d6a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Mon, 14 Aug 2023 12:58:31 +0200 Subject: [PATCH] works but needs improvement --- 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 fa805e5..8a02353 100644 --- a/rmp220_middleware/rmp220_middleware.py +++ b/rmp220_middleware/rmp220_middleware.py @@ -94,8 +94,8 @@ class StateMachineNode(Node): if abs(msg.linear.x) > 0.03 or abs(msg.angular.z) > 0.03: self.latest_cmd_vel = msg - else: - self.latest_cmd_vel = Twist() + # else: + # self.latest_cmd_vel = Twist() def timer_callback(self): #self.cmd_vel_pub.publish(self.twist)