pub struct CuCollisionCheckParams<const N: usize, const M: usize = N> {
pub chain: Option<CuChainSpec<N>>,
pub collision_model: Option<CuCollisionModelSpec<M>>,
}Expand description
Node config of CuCollisionCheckTask.
config: {"chain": "igus_rebel", "collision_model": "igus_rebel"}Both keys are required. chain is a CuChainSpec and collision_model a
CuCollisionModelSpec (preset name or inline model).
Fields§
§chain: Option<CuChainSpec<N>>Required robot chain: a preset name ("igus_rebel") or an inline chain.
collision_model: Option<CuCollisionModelSpec<M>>Required collision model: a preset name ("igus_rebel") or an inline model.
Implementations§
Source§impl<const N: usize, const M: usize> CuCollisionCheckParams<N, M>
impl<const N: usize, const M: usize> CuCollisionCheckParams<N, M>
Sourcepub fn resolve_chain(&self) -> CuResult<CuKinematicChain<N>>
pub fn resolve_chain(&self) -> CuResult<CuKinematicChain<N>>
Resolves and validates the configured chain.
Sourcepub fn resolve_collision_model(&self) -> CuResult<CuRobotCollisionModel<N, M>>
pub fn resolve_collision_model(&self) -> CuResult<CuRobotCollisionModel<N, M>>
Resolves and validates the configured collision model.
Trait Implementations§
Source§impl<const N: usize, const M: usize> Clone for CuCollisionCheckParams<N, M>
impl<const N: usize, const M: usize> Clone for CuCollisionCheckParams<N, M>
Source§fn clone(&self) -> CuCollisionCheckParams<N, M>
fn clone(&self) -> CuCollisionCheckParams<N, M>
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 moreSource§impl<'de, const N: usize, const M: usize> Deserialize<'de> for CuCollisionCheckParams<N, M>
impl<'de, const N: usize, const M: usize> Deserialize<'de> for CuCollisionCheckParams<N, M>
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<const N: usize, const M: usize> TypePath for CuCollisionCheckParams<N, M>
impl<const N: usize, const M: usize> TypePath for CuCollisionCheckParams<N, M>
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<const N: usize, const M: usize> Freeze for CuCollisionCheckParams<N, M>
impl<const N: usize, const M: usize> RefUnwindSafe for CuCollisionCheckParams<N, M>
impl<const N: usize, const M: usize> Send for CuCollisionCheckParams<N, M>
impl<const N: usize, const M: usize> Sync for CuCollisionCheckParams<N, M>
impl<const N: usize, const M: usize> Unpin for CuCollisionCheckParams<N, M>
impl<const N: usize, const M: usize> UnsafeUnpin for CuCollisionCheckParams<N, M>
impl<const N: usize, const M: usize> UnwindSafe for CuCollisionCheckParams<N, M>
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