Stores at state comprised of values and higher-order derivatives. More...
#include <state.h>
Public Types | |
using | VectorXd = Eigen::VectorXd |
Public Member Functions | |
const VectorXd | a () const |
const VectorXd | at (Dx deriv) const |
Read the state value or it's derivatives by index. More... | |
VectorXd & | at (Dx deriv) |
Read or write a specific state derivative by index. More... | |
const VectorXd | p () const |
State (int dim, int n_derivatives) | |
Constructs a state object. More... | |
const VectorXd | v () const |
virtual | ~State ()=default |
Private Attributes | |
std::vector< VectorXd > | values_ |
e.g. position, velocity and acceleration, ... More... | |
Stores at state comprised of values and higher-order derivatives.
This state can represent a motion state with position, velocity and accelerations, but also a force-profiles with forces, force-derivatives etc.
using towr::State::VectorXd = Eigen::VectorXd |
|
explicit |
|
virtualdefault |
const Eigen::VectorXd towr::State::a | ( | ) | const |
const Eigen::VectorXd towr::State::at | ( | Dx | deriv | ) | const |
Eigen::VectorXd & towr::State::at | ( | Dx | deriv | ) |
const Eigen::VectorXd towr::State::p | ( | ) | const |
const Eigen::VectorXd towr::State::v | ( | ) | const |
|
private |