16 releases

Uses old Rust 2015

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

#3 in #ros

Download history 82/week @ 2020-09-27 100/week @ 2020-10-04 122/week @ 2020-10-11 133/week @ 2020-10-18 93/week @ 2020-10-25 75/week @ 2020-11-01 51/week @ 2020-11-08 45/week @ 2020-11-15 62/week @ 2020-11-22 73/week @ 2020-11-29 52/week @ 2020-12-06 73/week @ 2020-12-13 309/week @ 2020-12-20 33/week @ 2020-12-27 399/week @ 2021-01-03 330/week @ 2021-01-10

218 downloads per month
Used in 3 crates

Apache-2.0

21KB
549 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

~2–3MB
~75K SLoC