Go to the documentation of this file.
23 #ifndef FINITE_DIFFERENCES_VARIABLE_GRID_H_
24 #define FINITE_DIFFERENCES_VARIABLE_GRID_H_
47 class FiniteDifferencesVariableGridSE2 :
public FiniteDifferencesGridSE2
50 using Ptr = std::shared_ptr<FiniteDifferencesVariableGridSE2>;
51 using UPtr = std::unique_ptr<FiniteDifferencesVariableGridSE2>;
98 #endif // FINITE_DIFFERENCES_VARIABLE_GRID_H_
std::unique_ptr< FiniteDifferencesVariableGridSE2 > UPtr
corbo::DiscretizationGridInterface::Ptr getInstance() const override
Return a newly created shared instance of the implemented class.
corbo::NlpFunctions NlpFunctions
bool isGridAdaptActive() const override
void disableGridAdaptation()
Disable grid adapation.
void setNmin(int n_min)
Set minium grid size for grid adaptation.
@ TimeBasedAggressiveEstimate
void setGridAdaptSimpleShrinkingHorizon(bool adapt_first_iter=false)
Set grid adaptation strategy to 'shrinking horizon'.
void setDtBounds(double dt_lb, double dt_ub)
Set lower and upper bounds for the temporal resolution.
std::shared_ptr< DiscretizationGridInterface > Ptr
static Factory & instance()
bool isDtFixedIntended() const override
bool adaptGridSimpleShrinkingHorizon(NlpFunctions &nlp_fun)
bool isMovingHorizonWarmStartActive() const override
std::shared_ptr< FiniteDifferencesVariableGridSE2 > Ptr
void setGridAdaptTimeBasedAggressiveEstimate(int n_max, double dt_hyst_ratio=0.1, bool adapt_first_iter=false)
Set grid adaptation strategy to 'aggressive'.
bool adaptGridTimeBasedSingleStep(NlpFunctions &nlp_fun)
void setGridAdaptTimeBasedSingleStep(int n_max, double dt_hyst_ratio=0.1, bool adapt_first_iter=false)
Set grid adaptation strategy to 'single step'.
bool adaptGridTimeBasedAggressiveEstimate(NlpFunctions &nlp_fun)
virtual ~FiniteDifferencesVariableGridSE2()=default
static corbo::Factory< corbo::DiscretizationGridInterface > & getFactory()
Get access to the associated factory.
bool adaptGrid(bool new_run, NlpFunctions &nlp_fun) override
GridAdaptStrategy _grid_adapt
FiniteDifferencesVariableGridSE2()=default
mpc_local_planner
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:35:06