pub struct CuRateLimit {
pub max_speed: f64,
pub max_acceleration: f64,
}Expand description
Per-joint command rate limit (position mode only).
Both limits are scalars applied to every joint in that joint’s SI unit
(dimensionless SI magnitude): max_speed is rad/s for revolute and m/s
for prismatic joints, max_acceleration is rad/s² resp. m/s². Both must
be positive and finite.
Fields§
§max_speed: f64Max joint speed (dimensionless SI magnitude, see type docs).
max_acceleration: f64Max joint acceleration (dimensionless SI magnitude, see type docs).
Implementations§
Trait Implementations§
Source§impl Clone for CuRateLimit
impl Clone for CuRateLimit
Source§fn clone(&self) -> CuRateLimit
fn clone(&self) -> CuRateLimit
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 Copy for CuRateLimit
Source§impl Debug for CuRateLimit
impl Debug for CuRateLimit
Source§impl<'de> Deserialize<'de> for CuRateLimit
impl<'de> Deserialize<'de> for CuRateLimit
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 PartialEq for CuRateLimit
impl PartialEq for CuRateLimit
Source§impl Serialize for CuRateLimit
impl Serialize for CuRateLimit
impl StructuralPartialEq for CuRateLimit
Source§impl TypePath for CuRateLimit
impl TypePath for CuRateLimit
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 CuRateLimit
impl RefUnwindSafe for CuRateLimit
impl Send for CuRateLimit
impl Sync for CuRateLimit
impl Unpin for CuRateLimit
impl UnsafeUnpin for CuRateLimit
impl UnwindSafe for CuRateLimit
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