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

Caster

The caster description is nested inside the <link name="base_link"> element. This means that it's a rigid part that's fixed to the robot body. Let's go over what it is:

  • It's a sphere that has a radius of 0.05 m, located at x=0.2 m, z=-0.125 m. Be aware that the Z coordinate is half of the box height (=0.25 m) and negative. This means that the top semi-sphere is embedded within the box and only the other semi-sphere stays visible on the bottom part of the box.
  • By default, the same color is selected as what was defined for the box.

Inspect the following code carefully to ensure you understand it:

    <!-- Caster --> <visual name="caster"> <origin xyz="0.2 0 -0.125" rpy="0 0 0" /> <geometry> <sphere radius="0.05" /> </geometry> </visual> ...
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