pub trait FromUrdf {
    // Required method
    fn from_urdf_robot(robot: &Robot) -> Self;

    // Provided method
    fn from_urdf_file<P>(path: P) -> Result<Self, UrdfError>
       where Self: Sized,
             P: AsRef<Path> { ... }
}
Expand description

Convert urdf object into openrr_planner/ncollide3d object

Required Methods§

source

fn from_urdf_robot(robot: &Robot) -> Self

Provided Methods§

source

fn from_urdf_file<P>(path: P) -> Result<Self, UrdfError>where Self: Sized, P: AsRef<Path>,

Implementations on Foreign Types§

source§

impl FromUrdf for Compound<f64>

Create ncollide::shape::Compound from URDF file

The <link> elements are used as obstacles. set the origin/geometry of <visual> and <collision>. You can skip <inertia>.

source§

fn from_urdf_robot(urdf_obstacle: &Robot) -> Self

Implementors§