16 releases

0.5.0 May 24, 2019
0.4.2 Feb 3, 2018
0.4.1 Dec 28, 2017
0.3.2 Nov 11, 2017
0.1.5 May 15, 2017

#74 in Parser tooling

Download history 28/week @ 2019-04-29 28/week @ 2019-05-06 26/week @ 2019-05-13 112/week @ 2019-05-20 527/week @ 2019-05-27 598/week @ 2019-06-03 418/week @ 2019-06-10 485/week @ 2019-06-17 763/week @ 2019-06-24 565/week @ 2019-07-01 568/week @ 2019-07-08 160/week @ 2019-07-15 106/week @ 2019-07-22 95/week @ 2019-07-29 74/week @ 2019-08-05

580 downloads per month
Used in 3 crates

Apache-2.0

21KB
548 lines

urdf-rs Build Status crates.io

URDF parser using serde-xml-rs for rust.

Only link and joint are supported.

Documentation

Example

You can access urdf elements like below example.

extern crate urdf_rs;
let urdf_robo = urdf_rs::read_file("sample.urdf").unwrap();
let links = urdf_robo.links;
println!("{:?}", links[0].visual.origin.xyz);
let joints = urdf_robo.joints;
println!("{:?}", joints[0].origin.xyz);

Contributors

  • Johan Andersson
  • Tom Olsson

lib.rs:

urdf-rs

[Build Status] (https://travis-ci.org/OTL/urdf-rs)

URDF parser using serde-xml-rs for rust.

Only link and [joint] (http://wiki.ros.org/urdf/XML/joint) are supported.

Examples

You can access urdf elements like below example.

extern crate urdf_rs;
let urdf_robo = urdf_rs::read_file("sample.urdf").unwrap();
let links = urdf_robo.links;
println!("{:?}", links[0].visual[0].origin.xyz);
let joints = urdf_robo.joints;
println!("{:?}", joints[0].origin.xyz);

Dependencies

~3MB
~80K SLoC