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

If you are trying to publish an unchanging message repeatedly, use the rate parameter (-r) for rostopic on the commandline:

rostopic pub -r 10 turtle1/command_velocity turtlesim/Velocity "{'linear':0.0, 'angular':1.0}"

This should publish a turtlesim/Velocity type msg to the turtle1/command_velocity topic at 10 Hz.