Skip to Content
ROS Robotics By Example - Second Edition
book

ROS Robotics By Example - Second Edition

by Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman
November 2017
Beginner
484 pages
10h 25m
English
Packt Publishing
Content preview from ROS Robotics By Example - Second Edition

ROS commands summary

If you are communicating with ROS via the terminal window, it is possible to issue commands to ROS to explore or control nodes in a package from the command prompt, as listed in the following table:

Command

Action

Example usage and subcommand examples

roscore

Starts the Master

$ roscore

rosrun

Runs an executable program and creates nodes

$ rosrun [package name] [executable name]

rosnode

Shows information about nodes and lists the active nodes

$ rosnode info [node name]

$ rosnode<subcommand>

Subcommand: list

rostopic

Shows information about ROS topics

$ rostopic<subcommand><topic name>

Subcommands: echo, info, and type

rosmsg

Shows information about the message types

$ rosmsg<subcommand> ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ROS Robotics By Example

ROS Robotics By Example

Carol Fairchild, Dr. Thomas L. Harman
Hands-On ROS for Robotics Programming

Hands-On ROS for Robotics Programming

Bernardo Ronquillo Japón
ROS Robotics Projects - Second Edition

ROS Robotics Projects - Second Edition

Ramkumar Gandhinathan, Lentin Joseph

Publisher Resources

ISBN: 9781788479592Supplemental Content