37 values_ = std::vector<VectorXd>(n_derivatives, VectorXd::Zero(dim));
std::vector< VectorXd > values_
e.g. position, velocity and acceleration, ...
const VectorXd at(Dx deriv) const
Read the state value or it's derivatives by index.
const VectorXd p() const
read access to the zero-derivative of the state, e.g. position.
State(int dim, int n_derivatives)
Constructs a state object.
const VectorXd v() const
read access to the first-derivative of the state, e.g. velocity.
const VectorXd a() const
read access to the second-derivative of the state, e.g. acceleration.
Dx
< the values or derivative. For motions e.g. position, velocity, ...