pub struct PosForceCmd {
pub q: f64,
pub dq: f64,
pub i_pu: f64,
}Expand description
PosForce command (position + velocity + current per-unit).
Fields§
§q: f64Position setpoint (radians).
dq: f64Velocity setpoint (rad/s).
i_pu: f64Current setpoint (per-unit).
Trait Implementations§
Source§impl Clone for PosForceCmd
impl Clone for PosForceCmd
Source§fn clone(&self) -> PosForceCmd
fn clone(&self) -> PosForceCmd
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 moreSource§impl Debug for PosForceCmd
impl Debug for PosForceCmd
Source§impl From<PosForceCmd> for Command
impl From<PosForceCmd> for Command
Source§fn from(c: PosForceCmd) -> Self
fn from(c: PosForceCmd) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PosForceCmd
impl PartialEq for PosForceCmd
Source§fn eq(&self, other: &PosForceCmd) -> bool
fn eq(&self, other: &PosForceCmd) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PosForceCmd
impl StructuralPartialEq for PosForceCmd
Auto Trait Implementations§
impl Freeze for PosForceCmd
impl RefUnwindSafe for PosForceCmd
impl Send for PosForceCmd
impl Sync for PosForceCmd
impl Unpin for PosForceCmd
impl UnsafeUnpin for PosForceCmd
impl UnwindSafe for PosForceCmd
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