Stg::Pose Class Reference

#include <stage.hh>

Inheritance diagram for Stg::Pose:
Inheritance graph
[legend]

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 ( stg_meters_t  x,
stg_meters_t  y,
stg_meters_t  z,
stg_radians_t  a 
) [inline]

Definition at line 260 of file stage.hh.

Stg::Pose::Pose (  )  [inline]

Definition at line 267 of file stage.hh.

virtual Stg::Pose::~Pose (  )  [inline, virtual]

Definition at line 270 of file stage.hh.


Member Function Documentation

bool Stg::Pose::IsZero (  )  const [inline]

Definition at line 301 of file stage.hh.

void Stg::Pose::Load ( Worldfile *  wf,
int  section,
const char *  keyword 
)
Pose Stg::Pose::operator+ ( const Pose p  )  [inline]

Definition at line 309 of file stage.hh.

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.

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

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]

Definition at line 292 of file stage.hh.

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.

Definition at line 257 of file stage.hh.

Definition at line 257 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


stage
Author(s): Richard Vaughan, with contributions from many others. See web page for a full credits list.
autogenerated on Fri Jan 11 10:03:40 2013