pub enum CuTrajectoryProfile {
Trapezoidal,
SCurve,
MinimumJerk,
Cubic,
}Expand description
Closed set of time-parameterization profile families.
Deserialized from snake-case RON (trapezoidal, s_curve,
minimum_jerk, cubic) with no stringly-typed dispatch.
Variants§
Trapezoidal
Synchronized trapezoidal (or triangular) rest-to-rest profile per segment.
SCurve
Jerk-limited symmetric 7-segment S-curve rest-to-rest per segment,
synchronized across joints by time-scaling (velocity scales by
s <= 1, acceleration by s^2, jerk by s^3, so the scaled profile
still honors every bound). Infinite jerk entries reproduce the
trapezoidal shape and timing exactly.
MinimumJerk
Quintic minimum-jerk polynomial per segment per joint with zero endpoint accelerations, honoring the specified waypoint velocities.
Cubic
Cubic Hermite polynomial per segment per joint honoring the specified waypoint velocities exactly.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuTrajectoryProfile
impl<'__de, __Context> BorrowDecode<'__de, __Context> for CuTrajectoryProfile
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Source§impl Clone for CuTrajectoryProfile
impl Clone for CuTrajectoryProfile
Source§fn clone(&self) -> CuTrajectoryProfile
fn clone(&self) -> CuTrajectoryProfile
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CuTrajectoryProfile
Source§impl Debug for CuTrajectoryProfile
impl Debug for CuTrajectoryProfile
Source§impl<__Context> Decode<__Context> for CuTrajectoryProfile
impl<__Context> Decode<__Context> for CuTrajectoryProfile
Source§impl Default for CuTrajectoryProfile
impl Default for CuTrajectoryProfile
Source§fn default() -> CuTrajectoryProfile
fn default() -> CuTrajectoryProfile
Source§impl<'de> Deserialize<'de> for CuTrajectoryProfile
impl<'de> Deserialize<'de> for CuTrajectoryProfile
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>,
Source§impl Encode for CuTrajectoryProfile
impl Encode for CuTrajectoryProfile
impl Eq for CuTrajectoryProfile
Source§impl PartialEq for CuTrajectoryProfile
impl PartialEq for CuTrajectoryProfile
Source§impl Serialize for CuTrajectoryProfile
impl Serialize for CuTrajectoryProfile
impl StructuralPartialEq for CuTrajectoryProfile
Source§impl TypePath for CuTrajectoryProfile
impl TypePath for CuTrajectoryProfile
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 CuTrajectoryProfile
impl RefUnwindSafe for CuTrajectoryProfile
impl Send for CuTrajectoryProfile
impl Sync for CuTrajectoryProfile
impl Unpin for CuTrajectoryProfile
impl UnsafeUnpin for CuTrajectoryProfile
impl UnwindSafe for CuTrajectoryProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CuMsgPayload for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> ElementType for T
impl<T> ElementType for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
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> ⓘ
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> ⓘ
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