public class MotionState
Kinematic state of a motion profile at any given time.
Constructor and Description |
---|
MotionState(double x,
double v,
double a,
double j)
Kinematic state of a motion profile at any given time.
|
Modifier and Type | Method and Description |
---|---|
MotionState |
flipped()
Returns a flipped (negated) version of the state.
|
MotionState |
get(double t)
Returns the
class MotionState at time t. |
double |
getA() |
double |
getJ() |
double |
getV() |
double |
getX() |
java.lang.String |
toString() |
public MotionState(double x, double v, double a, double j)
Kinematic state of a motion profile at any given time.
public MotionState get(double t)
Returns the class MotionState
at time t.
class MotionState
public MotionState flipped()
Returns a flipped (negated) version of the state.
public java.lang.String toString()
public double getX()
public double getV()
public double getA()
public double getJ()