Introduction
URDF helps us tell the computer how a robot is built. It shows the parts and how they connect.
Jump into concepts and practice - no test required
URDF helps us tell the computer how a robot is built. It shows the parts and how they connect.
<robot name="robot_name"> <link name="link_name" /> <joint name="joint_name" type="joint_type"> <parent link="parent_link" /> <child link="child_link" /> </joint> </robot>
<robot name="simple_bot"> <link name="base_link" /> </robot>
<robot name="arm_bot"> <link name="base_link" /> <link name="arm_link" /> <joint name="base_to_arm" type="revolute"> <parent link="base_link" /> <child link="arm_link" /> </joint> </robot>
This URDF describes a robot with a body and a wheel connected by a joint that can rotate continuously.
<?xml version="1.0"?> <robot name="my_robot"> <link name="body" /> <link name="wheel" /> <joint name="body_to_wheel" type="continuous"> <parent link="body" /> <child link="wheel" /> </joint> </robot>
URDF files are easy to read and edit because they use simple XML.
URDF only describes structure, not behavior or control.
Good URDF helps other tools understand your robot correctly.
URDF shows how robot parts connect and move.
It uses XML with links and joints to describe structure.
This helps with simulation, visualization, and programming.
<link name="base_link"/> <joint name="joint1" type="revolute"> <parent link="base_link"/> <child link="arm_link"/> </joint>
<joint name="joint1" type="fixed"> <parent link="base_link"/> <child link="arm_link"/> <axis xyz="0 0 1"/> </joint>