Stg::Pose Class Reference
#include <stage.hh>
Inherited by Stg::Velocity.
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.
Constructor & Destructor Documentation
| Stg::Pose::Pose | ( | stg_meters_t | x, | |
| stg_meters_t | y, | |||
| stg_meters_t | z, | |||
| stg_radians_t | a | |||
| ) | [inline] |
| Stg::Pose::Pose | ( | ) | [inline] |
| virtual Stg::Pose::~Pose | ( | ) | [inline, virtual] |
Member Function Documentation
| bool Stg::Pose::IsZero | ( | ) | const [inline] |
| void Pose::Load | ( | Worldfile * | wf, | |
| int | section, | |||
| const char * | keyword | |||
| ) |
| 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.
| static Pose Stg::Pose::Random | ( | stg_meters_t | xmin, | |
| stg_meters_t | xmax, | |||
| stg_meters_t | ymin, | |||
| stg_meters_t | ymax | |||
| ) | [inline, static] |
return a random pose within the bounding rectangle, with z=0 and angle random
| void 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]
Member Data Documentation
rotation about the z axis.
location in 3 axes
The documentation for this class was generated from the following files:
Generated on Tue Oct 20 15:42:06 2009 for Stage by
1.6.1
