pub struct Inertial {
pub xyz: [f64; 3],
pub rpy: [f64; 3],
pub mass_kg: f64,
pub inertia: Inertia,
}Expand description
The mass properties of one link.
The default is the unit inertial a generated link carries: one kilogram at the link’s own origin, with a unit tensor.
Fields§
§xyz: [f64; 3]The centre of mass, offset from the link’s origin, in metres.
rpy: [f64; 3]The inertia frame’s roll, pitch and yaw relative to the link, in radians.
mass_kg: f64The link’s mass, in kilograms.
inertia: InertiaThe inertia tensor about the centre of mass.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inertial
impl RefUnwindSafe for Inertial
impl Send for Inertial
impl Sync for Inertial
impl Unpin for Inertial
impl UnsafeUnpin for Inertial
impl UnwindSafe for Inertial
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