37 values_ = std::vector<VectorXd>(n_derivatives, VectorXd::Zero(dim));
const VectorXd a() const
read access to the second-derivative of the state, e.g. acceleration.
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 v() const
read access to the first-derivative of the state, e.g. velocity.
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.
Dx
< the values or derivative. For motions e.g. position, velocity, ...