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

Robot frames of reference in the URDF model

It is very important to understand how to place the different reference frames you will use for your robot. First, you have to decide where the <joint> elements are located in the space. In our case, we have two: one for the right wheel and one for the left wheel. Let's look at the one for the right wheel first:

  <joint name="joint_right_wheel" type="continuous">    <parent link="base_link"/>    <child link="right_wheel"/>    <origin xyz="0 -0.30 0" rpy="0 0 0" />     <axis xyz="0 1 0" />  </joint>

Now, let's look at the one for the left wheel:

 <joint name="joint_left_wheel" type="continuous">   <parent link="base_link"/>   <child link="left_wheel"/>   <origin xyz="0 0.30 0" rpy="0 0 0" />   <axis xyz="0 1 0" />
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