Import a URDF file
Import a .urdf robot description into your project and generate the corresponding Unity GameObject hierarchy.
Simulation Pro ships its own Unified Robot Description Format (URDF) importer. It parses a .urdf robot description and instantiates the corresponding Unity GameObject hierarchy with ArticulationBody joints, meshes, materials, and colliders, so you don't need to author the hierarchy manually.
Unity automatically imports any file with a .urdf extension. To import a URDF file:
- Copy the
.urdffile, together with any referenced mesh, texture, and material files, into your project'sAssetsfolder. - Unity imports it as an asset whose main object is the robot's root GameObject, a prefab-like hierarchy you can drag into a scene.
- Select the
.urdfasset to configure import options in the Inspector, then select Apply to re-import.
Unity resolves referenced files relative to the .urdf file. The importer understands package:// and file:// URIs, and plain relative paths.
Note
Simulation Pro doesn't support Xacro macros. The importer rejects any URDF that uses XML namespaces, so export your Xacro file to pure URDF with the ROS tooling first.