pub struct CuCollisionModelParams {
pub safety_margin: Length,
pub skip_adjacent_links: bool,
}Expand description
Parameters of a CuRobotCollisionModel.
{"safety_margin": 0.005, "skip_adjacent_links": true}Fields§
§safety_margin: LengthMinimum surface distance for a pair to count as collision-free (finite, >= 0).
skip_adjacent_links: boolDisable self-collision pairs between shapes on adjacent joint frames
(Some(i) and Some(i ± 1)). Shapes on the same frame are never checked against each
other regardless of this flag.
Implementations§
Trait Implementations§
Source§impl Clone for CuCollisionModelParams
impl Clone for CuCollisionModelParams
Source§fn clone(&self) -> CuCollisionModelParams
fn clone(&self) -> CuCollisionModelParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CuCollisionModelParams
Source§impl Debug for CuCollisionModelParams
impl Debug for CuCollisionModelParams
Source§impl Default for CuCollisionModelParams
impl Default for CuCollisionModelParams
Source§impl<'de> Deserialize<'de> for CuCollisionModelParamswhere
CuCollisionModelParams: Default,
impl<'de> Deserialize<'de> for CuCollisionModelParamswhere
CuCollisionModelParams: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CuCollisionModelParams
impl PartialEq for CuCollisionModelParams
Source§impl Serialize for CuCollisionModelParams
impl Serialize for CuCollisionModelParams
impl StructuralPartialEq for CuCollisionModelParams
Source§impl TypePath for CuCollisionModelParams
impl TypePath for CuCollisionModelParams
fn type_path() -> &'static str
fn short_type_path() -> &'static str
fn type_ident() -> Option<&'static str>
fn crate_name() -> Option<&'static str>
fn module_path() -> Option<&'static str>
Auto Trait Implementations§
impl Freeze for CuCollisionModelParams
impl RefUnwindSafe for CuCollisionModelParams
impl Send for CuCollisionModelParams
impl Sync for CuCollisionModelParams
impl Unpin for CuCollisionModelParams
impl UnsafeUnpin for CuCollisionModelParams
impl UnwindSafe for CuCollisionModelParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> GetTypeRegistration for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more