Date Published:
Last Modified:


The following page lists terminal commands (i.e. commands that can be run in bash/the shell) to control ROS.

Terminal Commands

Creates a new ROS master, parameter server, and a rosout logging node.

$ roscore

Runs a ROS application.

$ rosrun <package> <executable> 

Prints information about a node.

rosnode info

Prints a list of the active topics.

$ rostopic list

Prints a topic’s messages.

$ rosnode echo /topic

Publishes a message to a topic.

$ rostopic pub <arguments>

Like this page? Upvote with shurikens!


    comments powered by Disqus