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.
|
MotionState(double x,
double v,
double a)
Kinematic state of a motion profile at any given time.
|
MotionState(double x,
double v)
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() |
@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 java.lang.String toString()
public double getX()
public double getV()
public double getA()
public double getJ()