|Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.|
Publishing a TopicDescription: Publishing a Topic
Tutorial Level: BEGINNER
Next Tutorial: Applications
Figure shows publishing data to cmd_vel topic. Firstly connect to ROS. Then, create a publisher with parameter topic name and message type. Then, send data. In this example cmd_vel value is sent. This data takes linear and angular velocities in x, y, z directions.