pub struct MotionLaw {
pub shape: Shape,
pub deceleration_ratio: f64,
pub vertical: Option<(usize, f64, f64)>,
pub spin: Option<[f64; 2]>,
}Expand description
How the moves of a machine are shaped: the shape, the braking limit as a share of the acceleration limit
(profile.deceleration_ratio), and an axis that lifts against gravity (profile.vertical_axis): its index, the
sign of up along it, and the share of its acceleration limit it has upwards (profile.up_acceleration_ratio). And
where the tool’s orientation is a rotation vector rx, ry, rz whose flange has limits of its own (an arm in tool
space, the checks “tool-angular-speed” and “tool-angular-acceleration”): the flange’s angular speed (rad/s) and
acceleration (rad/s^2), which the move keeps beside the axes’ limits on the rotation vector (spin_rates).
Fields§
§shape: Shape§deceleration_ratio: f64§vertical: Option<(usize, f64, f64)>§spin: Option<[f64; 2]>Trait Implementations§
Source§impl<'de> Deserialize<'de> for MotionLaw
impl<'de> Deserialize<'de> for MotionLaw
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for MotionLaw
Auto Trait Implementations§
impl Freeze for MotionLaw
impl RefUnwindSafe for MotionLaw
impl Send for MotionLaw
impl Sync for MotionLaw
impl Unpin for MotionLaw
impl UnsafeUnpin for MotionLaw
impl UnwindSafe for MotionLaw
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