Stg::Pose Class Reference
#include <stage.hh>
List of all members.
Public Member Functions |
bool | IsZero () const |
void | Load (Worldfile *wf, int section, const char *keyword) |
Pose | operator+ (const Pose &p) |
| Pose () |
| Pose (stg_meters_t x, stg_meters_t y, stg_meters_t z, stg_radians_t a) |
virtual void | Print (const char *prefix) |
void | Save (Worldfile *wf, int section, const char *keyword) |
std::string | String () |
void | Zero () |
virtual | ~Pose () |
Static Public Member Functions |
static Pose | Random (stg_meters_t xmin, stg_meters_t xmax, stg_meters_t ymin, stg_meters_t ymax) |
Public Attributes |
stg_radians_t | a |
| rotation about the z axis.
|
stg_meters_t | x |
stg_meters_t | y |
stg_meters_t | z |
| location in 3 axes
|
Detailed Description
Specify a 3 axis position, in x, y and heading.
Definition at line 254 of file stage.hh.
Constructor & Destructor Documentation
Stg::Pose::Pose |
( |
|
) |
[inline] |
virtual Stg::Pose::~Pose |
( |
|
) |
[inline, virtual] |
Member Function Documentation
bool Stg::Pose::IsZero |
( |
|
) |
const [inline] |
void Stg::Pose::Load |
( |
Worldfile * |
wf, |
|
|
int |
section, |
|
|
const char * |
keyword | |
|
) |
| | |
Pose Stg::Pose::operator+ |
( |
const Pose & |
p |
) |
[inline] |
virtual void Stg::Pose::Print |
( |
const char * |
prefix |
) |
[inline, virtual] |
Print pose in human-readable format on stdout
- Parameters:
-
| prefix | Character string to prepend to pose output |
Reimplemented in Stg::Velocity.
Definition at line 286 of file stage.hh.
return a random pose within the bounding rectangle, with z=0 and angle random
Definition at line 274 of file stage.hh.
void Stg::Pose::Save |
( |
Worldfile * |
wf, |
|
|
int |
section, |
|
|
const char * |
keyword | |
|
) |
| | |
std::string Stg::Pose::String |
( |
|
) |
[inline] |
void Stg::Pose::Zero |
( |
|
) |
[inline] |
Set the pose to zero [0,0,0,0]
Definition at line 304 of file stage.hh.
Member Data Documentation
rotation about the z axis.
Definition at line 258 of file stage.hh.
location in 3 axes
Definition at line 257 of file stage.hh.
The documentation for this class was generated from the following file: