gusimplewhiteboard
|
Provides a C++ wrapper around wb_odometry
.
More...
#include <Odometry.hpp>
Public Member Functions | |
Odometry (float t_forward=0.0f, float t_left=0.0f, float t_turn=0.0f) | |
Create a new Odometry . More... | |
Odometry (const Odometry &t_other) | |
Copy Constructor. More... | |
Odometry (const struct wb_odometry &t_other) | |
Copy Constructor. More... | |
Odometry & | operator= (const Odometry &t_other) |
Copy Assignment Operator. More... | |
Odometry & | operator= (const struct wb_odometry &t_other) |
Copy Assignment Operator. More... | |
bool | operator== (const Odometry &t_other) const |
bool | operator!= (const Odometry &t_other) const |
bool | operator== (const wb_odometry &t_other) const |
bool | operator!= (const wb_odometry &t_other) const |
float & | forward () |
const float & | forward () const |
void | set_forward (const float &t_newValue) |
float & | left () |
const float & | left () const |
void | set_left (const float &t_newValue) |
float & | turn () |
const float & | turn () const |
void | set_turn (const float &t_newValue) |
Odometry (const std::string &t_str) | |
String Constructor. More... | |
std::string | description () |
std::string | to_string () |
void | from_string (const std::string &t_str) |
void | clear () |
WHITEBOARD_POSTER_STRING_CONVERSION. More... | |
Odometry | operator+ (const Odometry &a) const |
Odometry | operator- (const Odometry &a) const |
Additional Inherited Members | |
![]() | |
float | forward |
/< forward, mm/s More... | |
float | left |
/< sideways, mm/s More... | |
float | turn |
/< rotation, deg/s More... | |
Provides a C++ wrapper around wb_odometry
.
Definition at line 84 of file Odometry.hpp.
|
inline |
|
inline |
Copy Constructor.
Definition at line 109 of file Odometry.hpp.
|
inline |
Copy Constructor.
Definition at line 116 of file Odometry.hpp.
References wb_odometry::forward, wb_odometry::left, and wb_odometry::turn.
|
inline |
|
inline |
WHITEBOARD_POSTER_STRING_CONVERSION.
Definition at line 356 of file Odometry.hpp.
References set_forward(), set_left(), and set_turn().
|
inline |
USE_WB_ODOMETRY_C_CONVERSION
Definition at line 212 of file Odometry.hpp.
References forward(), left(), ODOMETRY_DESC_BUFFER_SIZE, turn(), and wb_odometry_description().
Referenced by guWhiteboard::NaoWalkStatus::description().
|
inline |
Definition at line 158 of file Odometry.hpp.
References wb_odometry::forward.
Referenced by Odometry(), description(), operator+(), operator-(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 163 of file Odometry.hpp.
References wb_odometry::forward.
|
inline |
USE_WB_ODOMETRY_C_CONVERSION
Definition at line 250 of file Odometry.hpp.
References ODOMETRY_DESC_BUFFER_SIZE, set_forward(), set_left(), and set_turn().
Referenced by Odometry(), and guWhiteboard::NaoWalkStatus::from_string().
|
inline |
Definition at line 173 of file Odometry.hpp.
References wb_odometry::left.
Referenced by Odometry(), description(), operator+(), operator-(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 178 of file Odometry.hpp.
References wb_odometry::left.
|
inline |
Definition at line 143 of file Odometry.hpp.
|
inline |
Definition at line 153 of file Odometry.hpp.
Definition at line 362 of file Odometry.hpp.
References forward(), left(), set_forward(), set_left(), set_turn(), and turn().
Definition at line 370 of file Odometry.hpp.
References forward(), left(), set_forward(), set_left(), set_turn(), and turn().
Copy Assignment Operator.
Definition at line 123 of file Odometry.hpp.
|
inline |
Copy Assignment Operator.
Definition at line 131 of file Odometry.hpp.
References wb_odometry::forward, wb_odometry::left, and wb_odometry::turn.
|
inline |
Definition at line 136 of file Odometry.hpp.
|
inline |
Definition at line 148 of file Odometry.hpp.
References Odometry().
|
inline |
Definition at line 168 of file Odometry.hpp.
References wb_odometry::forward.
Referenced by clear(), from_string(), operator+(), and operator-().
|
inline |
Definition at line 183 of file Odometry.hpp.
References wb_odometry::left.
Referenced by clear(), from_string(), operator+(), and operator-().
|
inline |
Definition at line 198 of file Odometry.hpp.
References wb_odometry::turn.
Referenced by clear(), from_string(), operator+(), and operator-().
|
inline |
USE_WB_ODOMETRY_C_CONVERSION
Definition at line 229 of file Odometry.hpp.
References forward(), left(), ODOMETRY_TO_STRING_BUFFER_SIZE, turn(), and wb_odometry_to_string().
Referenced by guWhiteboard::NaoWalkStatus::to_string().
|
inline |
Definition at line 188 of file Odometry.hpp.
References wb_odometry::turn.
Referenced by Odometry(), description(), operator+(), operator-(), operator=(), operator==(), and to_string().
|
inline |
Definition at line 193 of file Odometry.hpp.
References wb_odometry::turn.