ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It looks like you are invoking the callback self.goalCB()
instead of just passing the function self.goalCB
.
Can you try to remove the parenthesis when you register the callbacks?
self._as.register_goal_callback(self.goalCB)
self._as.register_preempt_callback(self.preemptCB)