pub struct BodyState {
pub inertial: Inertial,
pub rot: M3,
pub origin: V3,
pub axis: V3,
pub com: V3,
pub velocity: V3,
pub spin: V3,
}Expand description
A body of a chain as it moves (Chain::body_states), in the base frame: its inertial (the payload merged into the
last), its frame’s rotation and origin, its joint’s axis, its centre of mass and that centre’s velocity, and its
angular velocity.
Fields§
§inertial: Inertial§rot: M3§origin: V3§axis: V3§com: V3§velocity: V3§spin: V3Trait Implementations§
impl Copy for BodyState
impl StructuralPartialEq for BodyState
Auto Trait Implementations§
impl Freeze for BodyState
impl RefUnwindSafe for BodyState
impl Send for BodyState
impl Sync for BodyState
impl Unpin for BodyState
impl UnsafeUnpin for BodyState
impl UnwindSafe for BodyState
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