pub struct CuPathTimingParams<const N: usize> {
pub timing: CuTimingParams<N>,
pub collision_step: CuJointResolution,
}Expand description
Parameters of parameterize_cartesian_path: the shared joint timing
plus the collision recheck resolution.
{
"timing": {
"limits": {
"max_velocities": [{"revolute": 1.0}],
"max_accelerations": [{"revolute": 2.0}],
"max_jerks": [{"revolute": 10.0}],
},
"profile": "s_curve",
"sample_period": 0.02,
},
"collision_step": {"angular": 0.08, "linear": 0.01},
}Fields§
§timing: CuTimingParams<N>Limits, path-speed profile of every move, and sample period.
collision_step: CuJointResolutionJoint resolution for the collision recheck of the interpolated path.
Implementations§
Trait Implementations§
Source§impl<const N: usize> Clone for CuPathTimingParams<N>
impl<const N: usize> Clone for CuPathTimingParams<N>
Source§fn clone(&self) -> CuPathTimingParams<N>
fn clone(&self) -> CuPathTimingParams<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 moreimpl<const N: usize> Copy for CuPathTimingParams<N>
Source§impl<const N: usize> Debug for CuPathTimingParams<N>
impl<const N: usize> Debug for CuPathTimingParams<N>
Source§impl<const N: usize> Default for CuPathTimingParams<N>
impl<const N: usize> Default for CuPathTimingParams<N>
Source§impl<'de, const N: usize> Deserialize<'de> for CuPathTimingParams<N>
impl<'de, const N: usize> Deserialize<'de> for CuPathTimingParams<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> PartialEq for CuPathTimingParams<N>
impl<const N: usize> PartialEq for CuPathTimingParams<N>
Source§impl<const N: usize> Serialize for CuPathTimingParams<N>
impl<const N: usize> Serialize for CuPathTimingParams<N>
impl<const N: usize> StructuralPartialEq for CuPathTimingParams<N>
Source§impl<const N: usize> TypePath for CuPathTimingParams<N>
impl<const N: usize> TypePath for CuPathTimingParams<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 CuPathTimingParams<N>
impl<const N: usize> RefUnwindSafe for CuPathTimingParams<N>
impl<const N: usize> Send for CuPathTimingParams<N>
impl<const N: usize> Sync for CuPathTimingParams<N>
impl<const N: usize> Unpin for CuPathTimingParams<N>
impl<const N: usize> UnsafeUnpin for CuPathTimingParams<N>
impl<const N: usize> UnwindSafe for CuPathTimingParams<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