pub struct FrameMomentum {
pub linear: [f64; 3],
pub angular: [f64; 3],
pub mass: f64,
pub first_moment: [f64; 3],
pub gravity: [f64; 3],
pub external: [f64; 3],
pub external_at: [f64; 3],
}Expand description
What everything that moves on a machine’s base does to it, for effects.base_compliance (Machine::frame_momentum).
In the frame of the tool pose’s x, y and z (m; an axis the machine lacks stands at 0), about its origin. A part whose
mass does not change may leave out what of it does not move (its mass at a joint, the frame’s own): the base takes
the load against that at rest at the start pose, so a constant cancels.
Fields§
§linear: [f64; 3]The sum of m v of the moving parts, N s.
angular: [f64; 3]The sum of r x m v + I w about the origin, N m s, turning rotors, pulleys and links included.
mass: f64The moving mass and its first moment, the sum of m r: kg and kg m.
first_moment: [f64; 3]§gravity: [f64; 3]Gravity in this frame, m/s^2; zero with effects.gravity off.
external: [f64; 3]A force from outside on the moving parts (a process force from a workpiece on the floor), N, and where it acts, m.
external_at: [f64; 3]Trait Implementations§
Source§impl Clone for FrameMomentum
impl Clone for FrameMomentum
Source§fn clone(&self) -> FrameMomentum
fn clone(&self) -> FrameMomentum
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for FrameMomentum
Source§impl Debug for FrameMomentum
impl Debug for FrameMomentum
Source§impl Default for FrameMomentum
impl Default for FrameMomentum
Source§fn default() -> FrameMomentum
fn default() -> FrameMomentum
Source§impl PartialEq for FrameMomentum
impl PartialEq for FrameMomentum
Source§fn eq(&self, other: &FrameMomentum) -> bool
fn eq(&self, other: &FrameMomentum) -> bool
self and other values to be equal, and is used by ==.