From cfedad9ac1c514c9a20403f9f11fd9d253273dd2 Mon Sep 17 00:00:00 2001 From: bjoernellens1 <64093272+bjoernellens1@users.noreply.github.com> Date: Tue, 15 Aug 2023 18:12:35 +0200 Subject: [PATCH] Update rmp220_middleware.py Cythonize for possible efficiency gains --- rmp220_middleware/rmp220_middleware.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rmp220_middleware/rmp220_middleware.py b/rmp220_middleware/rmp220_middleware.py index 9ccbb38..b8ae256 100644 --- a/rmp220_middleware/rmp220_middleware.py +++ b/rmp220_middleware/rmp220_middleware.py @@ -101,6 +101,8 @@ class StateMachineNode(Node): self.latest_cmd_vel = msg # TODO: Add setting chassis state to enabled automatically upon receiving commands (with filter maybe) + # TODO: try to cythonize code. + def timer_callback(self): #self.cmd_vel_pub.publish(self.twist) #self.cmd_vel_callback(self.cmd_vel_sub)