| Crates.io | xacro-rs |
| lib.rs | xacro-rs |
| version | 0.2.1 |
| created_at | 2026-01-25 03:25:55.17782+00 |
| updated_at | 2026-01-25 20:39:02.288599+00 |
| description | A xml preprocessor for xacro files to generate URDF files |
| homepage | https://github.com/kaidokert/xacro |
| repository | https://github.com/kaidokert/xacro |
| max_upload_size | |
| id | 2068038 |
| size | 1,002,073 |
An XML preprocessor for xacro files to generate URDF files
Reference: http://wiki.ros.org/xacro
cargo add xacro-rs
cargo install xacro-rs
Process a xacro file:
xacro-rs robot.xacro > robot.urdf
With arguments:
xacro-rs robot.xacro robot_name:=myrobot wheel_radius:=0.5
From stdin:
cat robot.xacro | xacro-rs - > robot.urdf
See xacro-rs --help for all options.
See the examples/ directory for runnable examples including:
API documentation: https://docs.rs/xacro-rs
Core xacro functionality implemented:
Not implemented:
See KNOWN_ISSUES.md for limitations and deviations from Python xacro.
No ROS dependencies required. Package resolution via RUST_XACRO_PACKAGE_MAP environment variable.