pub struct CuTimingOverrides<'a, const N: usize> {
pub segment_durations: Option<&'a [Time]>,
pub waypoint_velocities: Option<&'a [[CuJointVelocity; N]]>,
}Expand description
Per-call segment timing and waypoint velocities for parameterize.
segment_durations, when present, must hold exactly
waypoints.len() - 1 positive finite durations; the trajectory total is
their exact sum. waypoint_velocities, when present, must hold exactly
waypoints.len() entries aligned with the waypoints (endpoints
included); None means zero velocity at every waypoint. The default is
synchronized rest-to-rest timing.
Fields§
§segment_durations: Option<&'a [Time]>§waypoint_velocities: Option<&'a [[CuJointVelocity; N]]>Trait Implementations§
Source§impl<'a, const N: usize> Clone for CuTimingOverrides<'a, N>
impl<'a, const N: usize> Clone for CuTimingOverrides<'a, N>
Source§fn clone(&self) -> CuTimingOverrides<'a, N>
fn clone(&self) -> CuTimingOverrides<'a, 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<'a, const N: usize> Copy for CuTimingOverrides<'a, N>
Source§impl<'a, const N: usize> Debug for CuTimingOverrides<'a, N>
impl<'a, const N: usize> Debug for CuTimingOverrides<'a, N>
Source§impl<'a, const N: usize> Default for CuTimingOverrides<'a, N>
impl<'a, const N: usize> Default for CuTimingOverrides<'a, N>
Source§fn default() -> CuTimingOverrides<'a, N>
fn default() -> CuTimingOverrides<'a, N>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a, const N: usize> Freeze for CuTimingOverrides<'a, N>
impl<'a, const N: usize> RefUnwindSafe for CuTimingOverrides<'a, N>
impl<'a, const N: usize> Send for CuTimingOverrides<'a, N>
impl<'a, const N: usize> Sync for CuTimingOverrides<'a, N>
impl<'a, const N: usize> Unpin for CuTimingOverrides<'a, N>
impl<'a, const N: usize> UnsafeUnpin for CuTimingOverrides<'a, N>
impl<'a, const N: usize> UnwindSafe for CuTimingOverrides<'a, 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> 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