8 #include "../MpcSettings.h" 19 template <
typename SCALAR =
double>
38 const SCALAR& t_forward_prediction_stop,
void updateSettings(const mpc_settings &mpcsettings)
Definition: MpcTimeHorizon-impl.h:77
SCALAR initialTimeHorizon_
Definition: MpcTimeHorizon.h:50
MpcTimeHorizon(const mpc_settings &settings, const SCALAR &initialTimeHorizon)
Definition: MpcTimeHorizon-impl.h:13
CppAD::AD< CppAD::cg::CG< double > > SCALAR
MPC Settings struct.
Definition: MpcSettings.h:45
Definition: MpcTimeHorizon.h:20
void updateInitialTimeHorizon(const SCALAR &initTimeHorizon)
update the time horizon which is used during the first call to the solver
Definition: MpcTimeHorizon-impl.h:83
virtual ~MpcTimeHorizon()
Definition: MpcTimeHorizon-impl.h:19
virtual bool computeNewTimeHorizon(const SCALAR &t_since_ended_first_solve, const SCALAR &t_forward_prediction_stop, SCALAR &new_T)
compute new MPC time horizon
Definition: MpcTimeHorizon-impl.h:24
mpc_settings mpc_settings_
Definition: MpcTimeHorizon.h:48