pub struct CuForwardKinematicsParams<const N: usize> {
pub chain: Option<CuChainSpec<N>>,
pub tool_offset: Option<Transform3D<f64>>,
}Expand description
Node config of CuForwardKinematicsTask.
config: {"chain": "igus_rebel", "tool_offset": /* optional Transform3D */}Fields§
§chain: Option<CuChainSpec<N>>Required robot chain: a preset name ("igus_rebel") or an inline chain.
tool_offset: Option<Transform3D<f64>>Optional flange-to-tool transform replacing the chain’s own tool offset.
Implementations§
Source§impl<const N: usize> CuForwardKinematicsParams<N>
impl<const N: usize> CuForwardKinematicsParams<N>
Sourcepub fn resolve_chain(&self) -> CuResult<CuKinematicChain<N>>
pub fn resolve_chain(&self) -> CuResult<CuKinematicChain<N>>
Resolves the configured chain (with tool_offset applied) and validates it.
Trait Implementations§
Source§impl<const N: usize> Clone for CuForwardKinematicsParams<N>
impl<const N: usize> Clone for CuForwardKinematicsParams<N>
Source§fn clone(&self) -> CuForwardKinematicsParams<N>
fn clone(&self) -> CuForwardKinematicsParams<N>
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<const N: usize> Debug for CuForwardKinematicsParams<N>
impl<const N: usize> Debug for CuForwardKinematicsParams<N>
Source§impl<const N: usize> Default for CuForwardKinematicsParams<N>
impl<const N: usize> Default for CuForwardKinematicsParams<N>
Source§impl<'de, const N: usize> Deserialize<'de> for CuForwardKinematicsParams<N>
impl<'de, const N: usize> Deserialize<'de> for CuForwardKinematicsParams<N>
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> Serialize for CuForwardKinematicsParams<N>
impl<const N: usize> Serialize for CuForwardKinematicsParams<N>
Source§impl<const N: usize> TypePath for CuForwardKinematicsParams<N>
impl<const N: usize> TypePath for CuForwardKinematicsParams<N>
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> Freeze for CuForwardKinematicsParams<N>
impl<const N: usize> RefUnwindSafe for CuForwardKinematicsParams<N>
impl<const N: usize> Send for CuForwardKinematicsParams<N>
impl<const N: usize> Sync for CuForwardKinematicsParams<N>
impl<const N: usize> Unpin for CuForwardKinematicsParams<N>
impl<const N: usize> UnsafeUnpin for CuForwardKinematicsParams<N>
impl<const N: usize> UnwindSafe for CuForwardKinematicsParams<N>
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