pub struct CuEffortGains {
pub kp: f64,
pub kv: f64,
}Expand description
Effort-mode PD gains.
Both gains are dimensionless SI multipliers applied per joint kind:
kp is N m/rad (revolute) or N/m (prismatic), kv is N m s/rad
(revolute) or N s/m (prismatic). Both must be finite and >= 0.
Fields§
§kp: f64Proportional gain (dimensionless SI, see type docs).
kv: f64Derivative gain (dimensionless SI, see type docs).
Implementations§
Trait Implementations§
Source§impl Clone for CuEffortGains
impl Clone for CuEffortGains
Source§fn clone(&self) -> CuEffortGains
fn clone(&self) -> CuEffortGains
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 CuEffortGains
Source§impl Debug for CuEffortGains
impl Debug for CuEffortGains
Source§impl<'de> Deserialize<'de> for CuEffortGainswhere
CuEffortGains: Default,
impl<'de> Deserialize<'de> for CuEffortGainswhere
CuEffortGains: Default,
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 CuEffortGains
impl PartialEq for CuEffortGains
Source§impl Serialize for CuEffortGains
impl Serialize for CuEffortGains
impl StructuralPartialEq for CuEffortGains
Source§impl TypePath for CuEffortGains
impl TypePath for CuEffortGains
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 CuEffortGains
impl RefUnwindSafe for CuEffortGains
impl Send for CuEffortGains
impl Sync for CuEffortGains
impl Unpin for CuEffortGains
impl UnsafeUnpin for CuEffortGains
impl UnwindSafe for CuEffortGains
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