URDF to MJCF
robosim_urdf_to_mjcfConvert URDF robot models to MuJoCo MJCF XML with automatic correction of half-extents, radians, and nested body tree structure.
Instructions
Convert a URDF to MuJoCo MJCF XML (correct half-extents, radians, nested body tree).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urdf": "<urdf>"
},
"name": "robosim_urdf_to_mjcf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urdf | Yes | The URDF XML text. |