humoto
|
#include <common.h>
Public Member Functions | |
MPCParameters (const std::size_t preview_horizon_len=16, const std::size_t sampling_time_ms=100, const std::size_t subsampling_time_ms=100, const std::size_t tds_sampling_time_ms=100) | |
Constructor. More... | |
double | getSubsamplingTime () const |
getSubsamplingTime 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... | |
Public Attributes | |
std::size_t | preview_horizon_length_ |
Length of the preview horizon (N) More... | |
std::size_t | sampling_time_ms_ |
Sampling time in milliseconds (T_ms) More... | |
std::size_t | subsampling_time_ms_ |
Subsampling time in milliseconds (Ts_ms) More... | |
std::size_t | tds_sampling_time_ms_ |
Sampling time of a transitional double support in milliseconds (Ttds_ms) More... | |
Protected Member Functions | |
void | finalize () |
Compute some derived variables. More... | |
virtual const std::string & | getConfigSectionID () const=0 |
Return the default name of a configuration node corresponding to this class. More... | |
virtual std::size_t | getNumberOfEntries () const=0 |
Get number of entries in the corresponding configuration node. More... | |
Static Protected Attributes | |
static const bool | default_crash_on_missing_entry_ |
Private Attributes | |
double | sampling_time_ |
Sampling time in seconds (T) More... | |
std::size_t | subsamples_num_ |
Number of subsamples per sample (TN) More... | |
double | subsampling_time_ |
Subsampling time in seconds (Ts) More... | |
double | tds_sampling_time_ |
Sampling time of a transitional double support in seconds (Ttds) More... | |
std::size_t | tds_subsamples_num_ |
Number of subsamples per doubles support sample (TN_tds) More... | |
|
inline |
Constructor.
[in] | preview_horizon_len | Length of the preview horizon |
[in] | sampling_time_ms | Sampling time in milliseconds |
[in] | subsampling_time_ms | Subsampling time in milliseconds |
[in] | tds_sampling_time_ms | Sampling time of a transitional double support in milliseconds |
|
inlineprotectedvirtual |
Compute some derived variables.
Reimplemented from humoto::config::CommonConfigurableBase< true >.
|
protectedpure virtualinherited |
Return the default name of a configuration node corresponding to this class.
Implemented in humoto::TaskBase.
|
protectedpure virtualinherited |
Get number of entries in the corresponding configuration node.
Implemented in humoto::ConfigurableOptimizationProblem.
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
Initialize to default values.
Implements humoto::config::CommonConfigurableBase< true >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
staticprotectedinherited |
std::size_t humoto::wpg04::MPCParameters::preview_horizon_length_ |
|
private |
std::size_t humoto::wpg04::MPCParameters::sampling_time_ms_ |
|
private |
|
private |
std::size_t humoto::wpg04::MPCParameters::subsampling_time_ms_ |
|
private |
std::size_t humoto::wpg04::MPCParameters::tds_sampling_time_ms_ |
|
private |