humoto
Public Member Functions | Public Attributes | List of all members
humoto::wpg04::WalkState Class Reference

Detailed Description

A class representing a "state" of the walk.

Definition at line 21 of file preview_horizon.h.

#include <preview_horizon.h>

Inheritance diagram for humoto::wpg04::WalkState:
Inheritance graph

Public Member Functions

 WalkState ()
 Default constructor. More...
 
void log (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="walk_state") const
 Log. More...
 
WalkStateoperator= (const humoto::walking::Stance &stance)
 Copy stance info. More...
 

Public Attributes

etools::Matrix2 cop_bounds_
 
etools::Vector2 cvel_ref_
 
std::size_t duration_ms_
 
etools::Matrix2 fd_bounds_
 
StanceType::Type previous_nonds_stance_type_
 
StanceType::Type previous_nontds_stance_type_
 
etools::Vector2 R_cvel_ref_
 
etools::Matrix2 rotation_
 
double step_height_
 
StanceSubType::Type subtype_
 
double theta_
 
std::size_t total_duration_ms_
 
StanceType::Type type_
 

Constructor & Destructor Documentation

◆ WalkState()

humoto::wpg04::WalkState::WalkState ( )
inline

Default constructor.

Definition at line 40 of file preview_horizon.h.

Member Function Documentation

◆ log()

void humoto::wpg04::WalkState::log ( humoto::Logger logger,
const LogEntryName parent = LogEntryName(),
const std::string &  name = "walk_state" 
) const
inline

Log.

Parameters
[in,out]loggerlogger
[in]parentparent
[in]namename

Definition at line 75 of file preview_horizon.h.

◆ operator=()

WalkState& humoto::wpg04::WalkState::operator= ( const humoto::walking::Stance stance)
inline

Copy stance info.

Parameters
[in]stance
Returns
this

Definition at line 61 of file preview_horizon.h.

Member Data Documentation

◆ cop_bounds_

etools::Matrix2 humoto::wpg04::WalkState::cop_bounds_

Definition at line 32 of file preview_horizon.h.

◆ cvel_ref_

etools::Vector2 humoto::wpg04::WalkState::cvel_ref_

Definition at line 24 of file preview_horizon.h.

◆ duration_ms_

std::size_t humoto::walking::Stance::duration_ms_
inherited

Definition at line 186 of file stance_finite_state_machine.h.

◆ fd_bounds_

etools::Matrix2 humoto::wpg04::WalkState::fd_bounds_

Definition at line 31 of file preview_horizon.h.

◆ previous_nonds_stance_type_

StanceType::Type humoto::walking::Stance::previous_nonds_stance_type_
inherited

Definition at line 182 of file stance_finite_state_machine.h.

◆ previous_nontds_stance_type_

StanceType::Type humoto::walking::Stance::previous_nontds_stance_type_
inherited

Definition at line 183 of file stance_finite_state_machine.h.

◆ R_cvel_ref_

etools::Vector2 humoto::wpg04::WalkState::R_cvel_ref_

Definition at line 28 of file preview_horizon.h.

◆ rotation_

etools::Matrix2 humoto::wpg04::WalkState::rotation_

Definition at line 27 of file preview_horizon.h.

◆ step_height_

double humoto::wpg04::WalkState::step_height_

Definition at line 29 of file preview_horizon.h.

◆ subtype_

StanceSubType::Type humoto::walking::Stance::subtype_
inherited

Definition at line 184 of file stance_finite_state_machine.h.

◆ theta_

double humoto::wpg04::WalkState::theta_

Definition at line 25 of file preview_horizon.h.

◆ total_duration_ms_

std::size_t humoto::walking::Stance::total_duration_ms_
inherited

Definition at line 187 of file stance_finite_state_machine.h.

◆ type_

StanceType::Type humoto::walking::Stance::type_
inherited

Definition at line 181 of file stance_finite_state_machine.h.


The documentation for this class was generated from the following file: