Skip to Content
Robot Operating System Cookbook
book

Robot Operating System Cookbook

by Kumar Bipin
June 2018
Intermediate to advanced
484 pages
11h 36m
English
Packt Publishing
Content preview from Robot Operating System Cookbook

How to do it…

We will complete the URDF file to introduce the robot model in Gazebo by defining a few more elements there. However, we will be using the .xacro file which is more complex, but more powerful for development. We can find the file with all its modifications at chapter6_tutorials/robot_description/urdf/robot_gazebo.xacro on GitHub (https://github.com/kbipin/Robot-Operating-System-Cookbook):

<link name="base_link"> 
               <visual> 
               <geometry> 
                           <box size="0.2 .3 .1"/> 
                     </geometry> 
               <origin rpy="0 0 1.54" xyz="0 0 0.05"/> 
               <material name="white"> 
                     <color rgba="1 1 1 1"/> 
               </material> 
               </visual> 
         <collision> 
               <geometry> 
                           <box size="0.2 .3 0.1"/> 
               </geometry> 
         </collision> 
         <xacro:default_inertial mass="10"/> 
</link> 

You may have noticed in the preceding ...

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

Mobile Intelligent Autonomous Systems

Mobile Intelligent Autonomous Systems

Jitendra R. Raol, Ajith K. Gopal
Wheeled Mobile Robotics

Wheeled Mobile Robotics

Gregor Klancar, Andrej Zdesar, Saso Blazic, Igor Skrjanc

Publisher Resources

ISBN: 9781783987443Supplemental Content