MotionState
The kinematic state of a system, parameterized by position unit type.
Represents the complete motion state of a system at a point in time, including position, velocity, and acceleration. Velocity is derived as position per time, and acceleration as velocity per time.
This class is generic over the position unit type, allowing it to be used for both linear motion (with dev.nextftc.units.unittypes.DistanceUnit) and angular motion (with dev.nextftc.units.unittypes.AngleUnit).
Type Parameters
The position unit type (e.g., dev.nextftc.units.unittypes.DistanceUnit for linear motion, dev.nextftc.units.unittypes.AngleUnit for angular motion)
Constructors
Convenience constructor that accepts raw numeric magnitudes and a unit, converting them into strongly-typed Measure and Per values used by this class.
Properties
Functions
Divides this motion state by a scalar, component-wise.
Subtracts another motion state from this one, component-wise.
Adds another motion state to this one, component-wise.
Multiplies this motion state by a scalar, component-wise.
Returns the negation of this motion state.