20. Importing URDF models¶
The URDF model import feature is accessible from the AGX menu in the top Menu Bar and the File tab of the AGX Mode.
When selecting the
Import URDF model to Blueprint... option, the following dialog appears.
If the selected URDF file contains any
filename paths, the following dialog appears.
The directory selected here corresponds to the
package:// part of any
filename path used in the URDF (.urdf) file and must match.
This is common when e.g. having mesh files that are used in the URDF model.
The figure below shows an example of this.
Once the import procedure is complete, a Blueprint containing the imported objects will appear and can be used as normal.
A key point is that regardless of a model being imported from an AGX Dynamics archive (.agx) or a URDF (.urdf) file, everything is translated to AGX Dynamics for Unreal Components and can be used in the same way.
The URDF import feature in AGX Dynamics for Unreal supports the same features, and have the same limitations, as the Algoryx Dynamics URDF Reader except for a few things:
mimicfeature is not supported.
- Textures from mesh files such as e.g. collada (.dae) files are not supported.