Chapter 4: Robot Description with URDF and Xacro
Type: Theory-to-Practice
Lessons: 8 (3 theory + 5 code)
Duration: 16-20 hours
Chapter Overview
This chapter teaches you how to describe robot physical structure using URDF (Unified Robot Description Format) and Xacro (XML Macros). You'll learn to model humanoid robots, integrate sensors, and validate your models.
By the end of this chapter, you will:
- Understand URDF as the blueprint for robot structure
- Model links, joints, and kinematic chains
- Balance visual vs collision geometry
- Use Xacro for parameterized, reusable descriptions
- Design bipedal humanoid structures
- Integrate sensors (cameras, LiDAR, IMU) in URDF
- Validate and visualize models with RViz
URDF: The Robot Blueprint
What is URDF?
URDF (Unified Robot Description Format) is an XML format that describes:
- Links: Rigid bodies (segments of the robot)
- Joints: Connections between links
- Visual Geometry: What the robot looks like
- Collision Geometry: For physics simulation
- Inertial Properties: Mass, center of mass, inertia tensors