#include <state.h>
Public Member Functions | |
StateLin2d | Get2D () const |
Extracts only the 2-dimensional part (x,y) from this 3-D state. More... | |
StateLin3d () | |
StateLin3d (const StateLinXd &) | |
virtual | ~StateLin3d () |
Public Member Functions inherited from xpp::StateLinXd | |
const VectorXd | GetByIndex (MotionDerivative deriv) const |
Read either position, velocity of acceleration by index. More... | |
VectorXd & | GetByIndex (MotionDerivative deriv) |
Read and write 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 (int _dim=0) | |
Constructs an object of dimensions _dim. More... | |
StateLinXd (const VectorXd &p, const VectorXd &v, const VectorXd &a) | |
Constructs object with specific position, velocity and acceleration. More... | |
StateLinXd (const VectorXd &p) | |
Constructs object with position p, zeroing velocity and acc. 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_ |
xpp::StateLin3d::StateLin3d | ( | const StateLinXd & | state_xd | ) |
StateLin2d xpp::StateLin3d::Get2D | ( | ) | const |