URDF parser for Rust.
Only link and joint are supported.
The version attribute of <robot> is supported, like urdfdom. If it is omitted, version 1.0 is assumed.
- 1.1: The
quat_xyzwattribute of<origin>is supported. It is converted torpywhen parsing. - 1.2: The
acceleration,decelerationandjerkattributes of<limit>are supported. Omitted limits mean no limit and are represented as infinity. Negative limits,uppersmaller thanlower, and non-positive or non-finite geometry dimensions are errors.
You can access urdf elements like below example.
let urdf_robot = urdf_rs::read_file("sample.urdf").unwrap();
let links = urdf_robot.links;
println!("{:?}", links[0].visual[0].origin.xyz);
let joints = urdf_robot.joints;
println!("{:?}", joints[0].origin.xyz);Here is a discord server for OpenRR users and developers.