pub struct Dynamics {
pub damping: f64,
pub friction: f64,
}Expand description
A joint’s passive damping and friction.
Both must be finite and non-negative, which RobotBuilder::build checks.
Fields§
§damping: f64Resistance proportional to speed, in Ns/m or Nms/rad.
friction: f64Resistance opposing motion at any speed, in N or Nm.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dynamics
impl RefUnwindSafe for Dynamics
impl Send for Dynamics
impl Sync for Dynamics
impl Unpin for Dynamics
impl UnsafeUnpin for Dynamics
impl UnwindSafe for Dynamics
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