Trait openrr_planner::collision::FromUrdf

source ·
pub trait FromUrdf {
    // Required method
    fn from_urdf_robot_with_base_dir(robot: &Robot, path: Option<&Path>) -> Self;

    // Provided methods
    fn from_urdf_robot(robot: &Robot) -> Self
       where Self: Sized { ... }
    fn from_urdf_file(path: impl AsRef<Path>) -> Result<Self, UrdfError>
       where Self: Sized { ... }
}
Expand description

Convert urdf object into openrr_planner/ncollide3d object

Required Methods§

Provided Methods§

source

fn from_urdf_robot(robot: &Robot) -> Self
where Self: Sized,

source

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

Object Safety§

This trait is not object safe.

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_with_base_dir( urdf_obstacle: &Robot, base_path: Option<&Path>, ) -> Self

Implementors§