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§
fn from_urdf_robot_with_base_dir(robot: &Robot, path: Option<&Path>) -> Self
Provided Methods§
fn from_urdf_robot(robot: &Robot) -> Selfwhere
Self: Sized,
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>
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>
.