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

Perhaps you can even do with only one node. In the same node, create a subscriber and a publisher. The subscriber, in its call back listens to string mesgs play/stop. Then, in a switch or if-else stmt, it publishes twist messages via publisher as explained above by Gerry.