pub struct MitCmd {
pub kp: f64,
pub kd: f64,
pub q: f64,
pub dq: f64,
pub tau: f64,
}Expand description
MIT impedance command.
Fields§
§kp: f64Position gain.
kd: f64Velocity gain.
q: f64Position setpoint (radians).
dq: f64Velocity setpoint (rad/s).
tau: f64Feed-forward torque (Nm).
Trait Implementations§
impl Copy for MitCmd
impl StructuralPartialEq for MitCmd
Auto Trait Implementations§
impl Freeze for MitCmd
impl RefUnwindSafe for MitCmd
impl Send for MitCmd
impl Sync for MitCmd
impl Unpin for MitCmd
impl UnsafeUnpin for MitCmd
impl UnwindSafe for MitCmd
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