Parameters of the MPC problem.
Definition at line 279 of file common.h.
|
| MPCParameters (const std::size_t preview_horizon_len=15, const std::size_t sampling_time_ms=100, const std::size_t subsampling_time_ms=100) |
| Constructor. More...
|
|
double | getSamplingTime () const |
| Get sampling time in seconds. More...
|
|
double | getSubsamplingTime () const |
| Get subsampling time in seconds. More...
|
|
void | readConfig (t_Reader &reader, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
| Read configuration (assuming the configuration node to be in the root). More...
|
|
void | readConfig (t_Reader &reader, const std::string &node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
| Read configuration (assuming the configuration node to be in the root). More...
|
|
void | readConfig (t_Reader &reader, const char *node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
| Read configuration (assuming the configuration node to be in the root). More...
|
|
void | readConfig (const std::string &file_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
| Read configuration (assuming the configuration node to be in the root). More...
|
|
void | readConfig (const std::string &file_name, const std::string &node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
| Read configuration (assuming the configuration node to be in the root). More...
|
|
void | readConfig (const std::string &file_name, const char *node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
| Read configuration (assuming the configuration node to be in the root). More...
|
|
void | readNestedConfig (t_Reader &reader, const std::string &node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
| Read nested configuration node. More...
|
|
void | setDefaults () |
| Initialize to default values. More...
|
|
void | writeConfig (t_Writer &writer) const |
| Write configuration. More...
|
|
void | writeConfig (t_Writer &writer, const std::string &node_name) const |
| Write configuration. More...
|
|
void | writeConfig (const std::string &file_name) const |
| Write configuration. More...
|
|
void | writeConfig (const std::string &file_name, const std::string &node_name) const |
| Write configuration. More...
|
|
void | writeNestedConfig (t_Writer &writer) const |
| Write nested configuration node. More...
|
|
void | writeNestedConfig (t_Writer &writer, const std::string &node_name) const |
| Write nested configuration node. More...
|
|