humoto
|
Class that groups together parmeters related to a robot foot.
Definition at line 19 of file point_mass_state.h.
#include <point_mass_state.h>
Public Member Functions | |
PointMassState () | |
Default constructor. More... | |
void | log (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="point_mass_state") const |
Log. 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 | set (const etools::Vector3 position, const etools::Vector3 velocity=etools::Vector3::Zero(), const etools::Vector3 acceleration=etools::Vector3::Zero()) |
Set state. More... | |
void | setDefaults () |
Initialize state (everything is set to zeros). More... | |
void | unset () |
Initialize state (everything is set to NaN). 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 | |
etools::Vector3 | acceleration_ |
etools::Vector3 | position_ |
etools::Vector3 | velocity_ |
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 40 of file point_mass_state.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.
|
protectedpure virtualinherited |
Get number of entries in the corresponding configuration node.
Implemented in humoto::ConfigurableOptimizationProblem.
|
inline |
Log.
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Definition at line 92 of file point_mass_state.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Set state.
[in] | position | |
[in] | velocity | |
[in] | acceleration |
Definition at line 75 of file point_mass_state.h.
|
inlinevirtual |
Initialize state (everything is set to zeros).
Implements humoto::config::CommonConfigurableBase< true >.
Reimplemented in humoto::rigidbody::RigidBodyState.
Definition at line 49 of file point_mass_state.h.
|
inline |
Initialize state (everything is set to NaN).
Definition at line 60 of file point_mass_state.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
etools::Vector3 humoto::rigidbody::PointMassState::acceleration_ |
Definition at line 33 of file point_mass_state.h.
|
staticprotectedinherited |
etools::Vector3 humoto::rigidbody::PointMassState::position_ |
Definition at line 31 of file point_mass_state.h.
etools::Vector3 humoto::rigidbody::PointMassState::velocity_ |
Definition at line 32 of file point_mass_state.h.