ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I guess you can publish string "play"/"stop" via message std_msgs/String. Then you create another node listening to this topic. Based on the string received, this node publish topic 'cmd_vel' with message geometry_msgs/Twist. If the string is "play", then you set some linear/angular velocity in Twist message. This should be able to make it move. On the other side, if the string is "stop", just set linear/angular velocity as 0.
Hope this helps, Gerry