mcountryman / urdf-rs

URDF parser using serde-xml-rs for rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

URDF parser using serde-xml-rs for rust

License:Apache License 2.0


Languages

Language:Rust 100.0%