44 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
58 Preview(
const Eigen::VectorXd & stateTraj,
const Eigen::VectorXd & inputTraj);
100 return playbackTime_;
104 Eigen::VectorXd inputTraj_;
105 Eigen::VectorXd stateTraj_;
106 double playbackTime_ = 0.;
107 unsigned playbackStep_ = 0;
unsigned playbackStep() const
Get current playback step.
void integratePostPlayback(Pendulum &state, double dt)
Post-playback integration of state reference.
State of the inverted pendulum model.
double playbackTime() const
Get current playback time.
void integratePlayback(Pendulum &state, double dt)
Playback integration of state reference.
Main controller namespace.
Solution of a model predictive control problem.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Preview()
Initialize with zero state and input trajectories.
void integrate(Pendulum &state, double dt)
Integrate playback on reference.