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

Publishing on the topic /turtleX/cmd_vel allows you to send a velocity command (linear and angular). The node turtlesim subscribes to this topic and set the position of the turtlebot according to the command (code here).

(since publishing a message does not do the job)

It doesn't actually do the job but that's how you can send easy instructions instead of manually calculate the new pose of the turtle for each command.