[initialize_model.m]
- Todo:
- AS. Currently the state of the swing foot is not updated during the swing phase, i.e. it is the same as it was in the end of the preceding TDS. It may be more reasonable to undefine this state instead.
Definition at line 25 of file model.h.
|
| Model () |
| Default constructor. More...
|
|
etools::Matrix2 | getADSCoPBounds () const |
| Return bounds on position of the CoP in ADS / SS. More...
|
|
etools::Vector2 | getADSPositionFromFoot (const humoto::LeftOrRight::Type left_or_right, const etools::Matrix2 &ref_R, const etools::Vector2 &ref_position) const |
| Get position of a foot or aligned double support based on position of an aligned support or a foot. More...
|
|
double | getCoMHeight () const |
| Get CoM height. More...
|
|
humoto::rigidbody::PointMassState | getCoMState () const |
| Returns current CoM state. More...
|
|
etools::Vector6 | getCState () const |
| Get cstate. More...
|
|
etools::Matrix2 | getFootBounds (const humoto::LeftOrRight::Type left_or_right, const FootBoundsType::Type bounds_type) const |
| Get bounds on position of a foot. More...
|
|
etools::Vector2 | getFootPositionFromADS (const humoto::LeftOrRight::Type left_or_right, const etools::Matrix2 &ref_R, const etools::Vector2 &ref_position) const |
| Get position of a foot or aligned double support based on position of an aligned support or a foot. More...
|
|
humoto::rigidbody::RigidBodyState | getFootState (const humoto::LeftOrRight::Type left_or_right) const |
| Returns current foot state. More...
|
|
etools::Matrix2 | getSSCoPBounds () const |
| Return bounds on position of the CoP in ADS / SS. More...
|
|
void | log (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="model") const |
| Log. More...
|
|
void | noop () const |
|
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 (HRP2) More...
|
|
void | setFootParameters (const humoto::walking::RobotFootParameters &foot_param) |
| Constructor. More...
|
|
void | updateState (const humoto::ModelState &model_state) |
| Update model state. 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...
|
|
|
static humoto::rigidbody::PointMassState | convertCoMState (const etools::Vector6 &cstate, const double com_height) |
| Converts given cstate vector to CoM state. More...
|
|
static etools::Vector6 | convertCoMState (const humoto::rigidbody::PointMassState &com_state) |
| Get cstate. More...
|
|
static humoto::rigidbody::PointMassState | evaluate (const double Ts, const double T, const double com_height, const etools::Vector6 &cstate, const etools::Vector2 &control) |
|
static etools::Matrix3 | getA3 (const double T, const double omega, const double Tsample) |
| Create A matrix of final model. More...
|
|
static etools::Matrix3 | getA3 (const double T, const double omega) |
| Create A matrix of final model. More...
|
|
static etools::Matrix6 | getA6 (const double T, const double omega, const double Tsample) |
| Create A matrix of final model. More...
|
|
static etools::Matrix6 | getA6 (const double T, const double omega) |
| Create A matrix of final model. More...
|
|
static etools::Vector3 | getB3 (const double T, const double omega, const double Tsample) |
| Create B matrix of final model. More...
|
|
static etools::Vector3 | getB3 (const double T, const double omega) |
| Create A matrix of final model. More...
|
|
static etools::Matrix6x2 | getB6 (const double T, const double omega, const double Tsample) |
| Create B matrix of final model. More...
|
|
static etools::Matrix6x2 | getB6 (const double T, const double omega) |
| Create B matrix of final model. More...
|
|
static etools::Matrix1x3 | getD3 (const double T, const double omega) |
| Create D matrix of final model. More...
|
|
static etools::Matrix2x6 | getD6 (const double T, const double omega) |
| Create D matrix of final model. More...
|
|
static etools::Matrix2x6 | getDcpv6 (const double omega) |
| Create ksi matrix. More...
|
|
static etools::Matrix2x6 | getDdz6 (const double com_height) |
| Create Ddz6 matrix. More...
|
|
static double | getE3 (const double T) |
| Create E matrix of final model. More...
|
|
static etools::Matrix2 | getE6 (const double T, const double omega) |
| Create E matrix of final model. More...
|
|
static double | getOmega (const double com_height) |
|