Urdf
The Urdf component loads and displays URDF (Unified Robot Description Format) robot models. This is essential for:
- Visualizing robot configurations
- Creating interactive robot simulations
- Displaying joint positions in real-time
- Building robot teleoperation interfaces
Loading URDF from URL
A minimal example that loads a URDF robot model directly from a URL:
Loading URDF from Local Files
Load a URDF file from your local file system and animate joint values in real-time:
Key Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
key | str | - | Unique identifier for the robot |
src | str | - | URL or path to the URDF file |
jointValues | dict | {} | Dictionary mapping joint names to positions (radians) |
position | list | [0,0,0] | Robot position in world coordinates |
rotation | list | [0,0,0] | Robot rotation (Euler angles) |
scale | float/list | 1 | Uniform or per-axis scale |
Supported Mesh Formats
The URDF loader supports the following mesh formats for robot links:
.dae(Collada).stl(STereoLithography).obj(Wavefront OBJ).ply(Polygon File Format)
Learn More
For detailed examples of using Urdf, see:
- Unitree Go1 with Stairs - Multi-robot scenes with environment