gusimplewhiteboard
|
Provides a C++ wrapper around wb_nao_walk_status
.
More...
#include <NaoWalkStatus.hpp>
Public Member Functions | |
NaoWalkStatus (enum WalkEngineState t_walkEngineState=wes_Disconnected, struct wb_odometry t_odometry=wb_odometry(), uint8_t t_odometryResetCounter=0) | |
Create a new NaoWalkStatus . More... | |
NaoWalkStatus (const NaoWalkStatus &t_other) | |
Copy Constructor. More... | |
NaoWalkStatus (const struct wb_nao_walk_status &t_other) | |
Copy Constructor. More... | |
NaoWalkStatus & | operator= (const NaoWalkStatus &t_other) |
Copy Assignment Operator. More... | |
NaoWalkStatus & | operator= (const struct wb_nao_walk_status &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const NaoWalkStatus &t_other) const |
bool | operator!= (const NaoWalkStatus &t_other) const |
bool | operator== (const wb_nao_walk_status &t_other) const |
bool | operator!= (const wb_nao_walk_status &t_other) const |
enum WalkEngineState & | walkEngineState () |
enum WalkEngineState & | walkEngineState () const |
void | set_walkEngineState (const enum WalkEngineState &t_newValue) |
Odometry & | odometry () |
const Odometry & | odometry () const |
void | set_odometry (const Odometry &t_newValue) |
uint8_t & | odometryResetCounter () |
const uint8_t & | odometryResetCounter () const |
void | set_odometryResetCounter (const uint8_t &t_newValue) |
NaoWalkStatus (const std::string &t_str) | |
String Constructor. More... | |
std::string | description () |
std::string | to_string () |
void | from_string (const std::string &t_str) |
Additional Inherited Members | |
Public Attributes inherited from wb_nao_walk_status | |
enum WalkEngineState | walkEngineState |
The current state of the walk engine, see enum documentation. More... | |
struct wb_odometry | odometry |
Current odometry object. More... | |
uint8_t | odometryResetCounter |
A counter used to reset the odometry object, change this value and send it via NaoWalkCommand to trigger an odometry reset. More... | |
Provides a C++ wrapper around wb_nao_walk_status
.
Definition at line 85 of file NaoWalkStatus.hpp.
|
inline |
Create a new NaoWalkStatus
.
Definition at line 103 of file NaoWalkStatus.hpp.
Referenced by operator==().
|
inline |
Copy Constructor.
Definition at line 110 of file NaoWalkStatus.hpp.
References odometry(), odometryResetCounter(), and walkEngineState().
|
inline |
Copy Constructor.
Definition at line 117 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::odometry, wb_nao_walk_status::odometryResetCounter, and wb_nao_walk_status::walkEngineState.
|
inline |
|
inline |
USE_WB_NAO_WALK_STATUS_C_CONVERSION
Definition at line 213 of file NaoWalkStatus.hpp.
References guWhiteboard::Odometry::description(), NAOWALKSTATUS_DESC_BUFFER_SIZE, odometry(), odometryResetCounter(), walkEngineState(), wb_nao_walk_status_description(), wes_Disconnected, wes_StoppedReady, wes_StoppedStanding, and wes_Walking.
|
inline |
USE_WB_NAO_WALK_STATUS_C_CONVERSION
Definition at line 293 of file NaoWalkStatus.hpp.
References guWhiteboard::Odometry::from_string(), NAOWALKSTATUS_DESC_BUFFER_SIZE, set_odometry(), set_odometryResetCounter(), set_walkEngineState(), wes_Disconnected, wes_StoppedReady, wes_StoppedStanding, and wes_Walking.
Referenced by NaoWalkStatus().
|
inline |
Definition at line 174 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::odometry.
Referenced by NaoWalkStatus(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 179 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::odometry.
|
inline |
Definition at line 189 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::odometryResetCounter.
Referenced by NaoWalkStatus(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 194 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::odometryResetCounter.
|
inline |
Definition at line 144 of file NaoWalkStatus.hpp.
|
inline |
Definition at line 154 of file NaoWalkStatus.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 124 of file NaoWalkStatus.hpp.
References odometry(), odometryResetCounter(), and walkEngineState().
|
inline |
Copy Assignment Operator.
Definition at line 132 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::odometry, wb_nao_walk_status::odometryResetCounter, and wb_nao_walk_status::walkEngineState.
|
inline |
Definition at line 137 of file NaoWalkStatus.hpp.
References odometry(), odometryResetCounter(), and walkEngineState().
|
inline |
Definition at line 149 of file NaoWalkStatus.hpp.
References NaoWalkStatus().
|
inline |
Definition at line 184 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::odometry.
Referenced by from_string().
|
inline |
Definition at line 199 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::odometryResetCounter.
Referenced by from_string().
|
inline |
Definition at line 169 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::walkEngineState.
Referenced by from_string().
|
inline |
USE_WB_NAO_WALK_STATUS_C_CONVERSION
Definition at line 251 of file NaoWalkStatus.hpp.
References NAOWALKSTATUS_TO_STRING_BUFFER_SIZE, odometry(), odometryResetCounter(), guWhiteboard::Odometry::to_string(), walkEngineState(), wb_nao_walk_status_to_string(), wes_Disconnected, wes_StoppedReady, wes_StoppedStanding, and wes_Walking.
|
inline |
Definition at line 159 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::walkEngineState.
Referenced by NaoWalkStatus(), description(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 164 of file NaoWalkStatus.hpp.
References wb_nao_walk_status::walkEngineState.