Skip to Content
Hands-On ROS for Robotics Programming
book

Hands-On ROS for Robotics Programming

by Bernardo Ronquillo Japón
February 2020
Intermediate to advanced
432 pages
10h 50m
English
Packt Publishing
Content preview from Hands-On ROS for Robotics Programming

Helpful ROS tools for checking purposes

Finally, you should know that there are two helpful ROS tools if you want to make some checks:

  • check_urdf attempts to parse a URDF file in order to verify the kinematic chain:
$ roscd rviz_basics$ check_urdf ./urdf/gopigoMinimal.urdf

The roscd command changes the prompt to the path of the ROS package whose name you are indicating as an argument, that is, rviz_basics. The output is as follows, where the current folder is the rviz_basics path, as requested, that is, ~/catkin_ws/src/CH4_RVIZ_BASICS before the $ sign:

~/catkin_ws/src/CH4_RVIZ_BASICS$ check_urdf ./urdf/gopigoMinimal.urdfrobot name is: gopigoMinimal---------- Successfully Parsed XML ---------------root Link: base_link has 2 child(ren)
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

Mastering ROS for Robotics Programming

Mastering ROS for Robotics Programming

Lentin Joseph
ROS Robotics By Example - Second Edition

ROS Robotics By Example - Second Edition

Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman

Publisher Resources

ISBN: 9781838551308Supplemental Content