ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think you should change your system architecture. If you want to be able to ignore movements commands, you should rather implement a service or an action that someone can call. If your robot does not want to move, he can tell so when answering the service or action. In case you really need to use with the topics, think about shutting them them down while sleeping to that the sender knows that it makes no sense to send a message.