Public Member Functions |
| const VectorXd | GetByIndex (MotionDerivative deriv) const |
| | Read either position, velocity of acceleration by index.
|
| VectorXd & | GetByIndex (MotionDerivative deriv) |
| | Read and write either position, velocity of acceleration by index.
|
| bool | operator!= (const StateLinXd &other) const |
| | Returns true if just one value in this state differs from other.
|
| bool | operator== (const StateLinXd &other) const |
| | Returns true if this state has all same pos,vel and acc as other.
|
| | StateLinXd (int _dim=0) |
| | Constructs an object of dimensions _dim.
|
| | StateLinXd (const VectorXd &p, const VectorXd &v, const VectorXd &a) |
| | Constructs object with specific position, velocity and acceleration.
|
| | StateLinXd (const VectorXd &p) |
| | Constructs object with position p, zeroing velocity and acc.
|
| virtual | ~StateLinXd () |
Public Attributes |
| VectorXd | a_ |
| | position, velocity and acceleration
|
| int | kNumDim = 0 |
| | the number of dimenions this state represents.
|
| VectorXd | p_ |
| VectorXd | v_ |
Represents position, velocity and acceleration in x-dimensions.
Definition at line 58 of file state.h.