public class MotionState
Kinematic state of a motion profile at any given time.
@JvmOverloads public MotionState(double x, double v, double a, double j)
Kinematic state of a motion profile at any given time.
@JvmOverloads public MotionState(double x, double v, double a)
Kinematic state of a motion profile at any given time.
@JvmOverloads public MotionState(double x, double v)
Kinematic state of a motion profile at any given time.
@NotNull public MotionState get(double t)
Returns the class MotionState
at time t
.
class MotionState
,
t
@NotNull public MotionState flipped()
Returns a flipped (negated) version of the state.
@NotNull public MotionState stationary()
Returns the state with velocity, acceleration, and jerk zeroed.
@NotNull public java.lang.String toString()
public double getX()
public double getV()
public double getA()
public double getJ()