#include <stage.hh>
Public Member Functions | |
meters_t | Distance2D (const Pose &other) const |
bool | IsZero () const |
Pose & | Load (Worldfile *wf, int section, const char *keyword) |
bool | operator!= (const Pose &other) const |
Pose | operator+ (const Pose &p) const |
bool | operator< (const Pose &other) const |
bool | operator== (const Pose &other) const |
Pose (meters_t x, meters_t y, meters_t z, radians_t a) | |
Pose () | |
virtual void | Print (const char *prefix) const |
void | Save (Worldfile *wf, int section, const char *keyword) |
std::string | String () const |
void | Zero () |
virtual | ~Pose () |
Static Public Member Functions | |
static Pose | Random (meters_t xmin, meters_t xmax, meters_t ymin, meters_t ymax) |
Public Attributes | |
radians_t | a |
rotation about the z axis. | |
meters_t | x |
meters_t | y |
meters_t | z |
location in 3 axes |
Stg::Pose::Pose | ( | meters_t | x, |
meters_t | y, | ||
meters_t | z, | ||
radians_t | a | ||
) | [inline] |
Stg::Pose::Pose | ( | ) | [inline] |
virtual Stg::Pose::~Pose | ( | ) | [inline, virtual] |
meters_t Stg::Pose::Distance2D | ( | const Pose & | other | ) | const [inline] |
bool Stg::Pose::IsZero | ( | ) | const [inline] |
Pose & Pose::Load | ( | Worldfile * | wf, |
int | section, | ||
const char * | keyword | ||
) |
Reimplemented in Stg::Velocity.
bool Stg::Pose::operator!= | ( | const Pose & | other | ) | const [inline] |
bool Stg::Pose::operator< | ( | const Pose & | other | ) | const [inline] |
bool Stg::Pose::operator== | ( | const Pose & | other | ) | const [inline] |
virtual void Stg::Pose::Print | ( | const char * | prefix | ) | const [inline, virtual] |
Print pose in human-readable format on stdout
prefix | Character string to prepend to pose output |
Reimplemented in Stg::Velocity.
void Pose::Save | ( | Worldfile * | wf, |
int | section, | ||
const char * | keyword | ||
) |
std::string Stg::Pose::String | ( | ) | const [inline] |
void Stg::Pose::Zero | ( | ) | [inline] |