[−][src]Struct gear::CollisionChecker
Collision checker for a robot
Fields
prediction: T
margin length for collision check
self_collision_pairs: Vec<(String, String)>
Implementations
impl<T> CollisionChecker<T> where
T: RealField + SubsetOf<f64>,
[src]
T: RealField + SubsetOf<f64>,
pub fn new(
name_collision_model_map: HashMap<String, Vec<(ShapeHandle<T>, Isometry3<T>)>>,
prediction: T
) -> Self
[src]
name_collision_model_map: HashMap<String, Vec<(ShapeHandle<T>, Isometry3<T>)>>,
prediction: T
) -> Self
Create CollisionChecker from HashMap
pub fn from_urdf_robot(urdf_robot: &Robot, prediction: T) -> Self
[src]
Create CollisionChecker from urdf_rs::Robot
pub fn from_urdf_robot_with_base_dir(
urdf_robot: &Robot,
base_dir: Option<&Path>,
prediction: T
) -> Self
[src]
urdf_robot: &Robot,
base_dir: Option<&Path>,
prediction: T
) -> Self
Create CollisionChecker from urdf_rs::Robot with base_dir support
base_dir: mesh files are loaded from this dir if the path does not start with "package://"
pub fn check_env<'a>(
&'a self,
robot: &'a Chain<T>,
target_shape: &'a dyn Shape<T>,
target_pose: &'a Isometry3<T>
) -> EnvCollisionNames<'_, '_, T>ⓘNotable traits for EnvCollisionNames<'a, 'b, T>
impl<'a, 'b, T> Iterator for EnvCollisionNames<'a, 'b, T> where
T: RealField + SubsetOf<f64>, type Item = String;
[src]
&'a self,
robot: &'a Chain<T>,
target_shape: &'a dyn Shape<T>,
target_pose: &'a Isometry3<T>
) -> EnvCollisionNames<'_, '_, T>ⓘ
Notable traits for EnvCollisionNames<'a, 'b, T>
impl<'a, 'b, T> Iterator for EnvCollisionNames<'a, 'b, T> where
T: RealField + SubsetOf<f64>, type Item = String;
Check collision between environmental object and returns the names of the link(joint) names
robot: robot model target_shape: Check collision with this shape and the robot target_pose: Check collision with this shape in this pose and the robot
pub fn check_self<'a>(
&'a self,
collision_check_robot: &'a Chain<T>,
self_collision_pairs: &'a [(String, String)]
) -> SelfCollisionPairs<'_, T>ⓘNotable traits for SelfCollisionPairs<'a, T>
impl<'a, T> Iterator for SelfCollisionPairs<'a, T> where
T: RealField + SubsetOf<f64>, type Item = (String, String);
[src]
&'a self,
collision_check_robot: &'a Chain<T>,
self_collision_pairs: &'a [(String, String)]
) -> SelfCollisionPairs<'_, T>ⓘ
Notable traits for SelfCollisionPairs<'a, T>
impl<'a, T> Iterator for SelfCollisionPairs<'a, T> where
T: RealField + SubsetOf<f64>, type Item = (String, String);
Check self collision and return the names of the link(joint) names
robot: robot model self_collision_pairs: pairs of the names of the link(joint)
Trait Implementations
impl<T: Clone> Clone for CollisionChecker<T> where
T: RealField,
[src]
T: RealField,
pub fn clone(&self) -> CollisionChecker<T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for CollisionChecker<T>
[src]
impl<T> Send for CollisionChecker<T> where
T: Scalar,
[src]
T: Scalar,
impl<T> Sync for CollisionChecker<T> where
T: Scalar,
[src]
T: Scalar,
impl<T> Unpin for CollisionChecker<T> where
T: Scalar + Unpin,
[src]
T: Scalar + Unpin,
impl<T> !UnwindSafe for CollisionChecker<T>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,