#include <state.h>
Public Member Functions | |
StateLin2d () | |
virtual | ~StateLin2d () |
Public Member Functions inherited from xpp::StateLinXd | |
VectorXd & | GetByIndex (MotionDerivative deriv) |
Read and write either position, velocity of acceleration by index. More... | |
const VectorXd | GetByIndex (MotionDerivative deriv) const |
Read either position, velocity of acceleration by index. More... | |
bool | operator!= (const StateLinXd &other) const |
Returns true if just one value in this state differs from other. More... | |
bool | operator== (const StateLinXd &other) const |
Returns true if this state has all same pos,vel and acc as other. More... | |
StateLinXd (const VectorXd &p) | |
Constructs object with position p, zeroing velocity and acc. More... | |
StateLinXd (const VectorXd &p, const VectorXd &v, const VectorXd &a) | |
Constructs object with specific position, velocity and acceleration. More... | |
StateLinXd (int _dim=0) | |
Constructs an object of dimensions _dim. More... | |
virtual | ~StateLinXd ()=default |
Additional Inherited Members | |
Public Attributes inherited from xpp::StateLinXd | |
VectorXd | a_ |
position, velocity and acceleration More... | |
int | kNumDim = 0 |
the number of dimenions this state represents. More... | |
VectorXd | p_ |
VectorXd | v_ |