humoto
|
Class containing parameters of the stance finite state machine.
Definition at line 92 of file stance_finite_state_machine.h.
#include <stance_finite_state_machine.h>
Public Member Functions | |
StanceFSMParameters () | |
Default constructor. More... | |
std::size_t | getDurationMs (const StanceType::Type stance_type) const |
Returns duration of a stance. 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 () |
Default parameters of the finite state machine. 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 | |
StanceType::Type | first_ss_type_ |
StanceType::Type | first_stance_ |
std::size_t | first_stance_duration_ms_ |
StanceType::Type | last_stance_ |
std::size_t | last_stance_duration_ms_ |
std::size_t | num_steps_ |
std::size_t | ss_duration_ms_ |
std::size_t | tds_duration_ms_ |
Protected Member Functions | |
virtual void | finalize () |
This function is called automaticaly after reading a configuration file. Does nothing by default. 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_ |
|
inline |
Default constructor.
Definition at line 123 of file stance_finite_state_machine.h.
|
inlineprotectedvirtualinherited |
This function is called automaticaly after reading a configuration file. Does nothing by default.
Reimplemented in humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGILU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIL< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASLU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsALU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB0< TaskBase > >, humoto::pepper_mpc::MPCParameters, humoto::pepper_mpc::MotionParameters, humoto::walking::RobotFootParameters, humoto::wpg04::MPCParameters, humoto::pepper_mpc::RobotParameters, humoto::pepper_ik::WBCParameters, humoto::pepper_ik::GeneralizedCoordinates< t_features >, humoto::wpg04::TaskCoPPosition, humoto::wpg04::TaskCoMVelocity, humoto::wpg04::TaskCoPVelocity, and humoto::wpg04::TaskTerminalConstraint.
|
protectedpure virtualinherited |
Return the default name of a configuration node corresponding to this class.
Implemented in humoto::TaskBase.
|
inline |
Returns duration of a stance.
[in] | stance_type |
Definition at line 137 of file stance_finite_state_machine.h.
|
protectedpure virtualinherited |
Get number of entries in the corresponding configuration node.
Implemented in humoto::ConfigurableOptimizationProblem.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlinevirtual |
Default parameters of the finite state machine.
Implements humoto::config::CommonConfigurableBase< true >.
Reimplemented in humoto::wpg04::WalkParameters.
Definition at line 159 of file stance_finite_state_machine.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
staticprotectedinherited |
StanceType::Type humoto::walking::StanceFSMParameters::first_ss_type_ |
Definition at line 110 of file stance_finite_state_machine.h.
StanceType::Type humoto::walking::StanceFSMParameters::first_stance_ |
Definition at line 109 of file stance_finite_state_machine.h.
std::size_t humoto::walking::StanceFSMParameters::first_stance_duration_ms_ |
Definition at line 115 of file stance_finite_state_machine.h.
StanceType::Type humoto::walking::StanceFSMParameters::last_stance_ |
Definition at line 111 of file stance_finite_state_machine.h.
std::size_t humoto::walking::StanceFSMParameters::last_stance_duration_ms_ |
Definition at line 116 of file stance_finite_state_machine.h.
std::size_t humoto::walking::StanceFSMParameters::num_steps_ |
Definition at line 117 of file stance_finite_state_machine.h.
std::size_t humoto::walking::StanceFSMParameters::ss_duration_ms_ |
Definition at line 113 of file stance_finite_state_machine.h.
std::size_t humoto::walking::StanceFSMParameters::tds_duration_ms_ |
Definition at line 114 of file stance_finite_state_machine.h.