Public Member Functions | List of all members
Stg::Velocity Class Reference

#include <stage.hh>

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

Public Member Functions

VelocityLoad (Worldfile *wf, int section, const char *keyword)
 
virtual void Print (const char *prefix) const
 
 Velocity (double x, double y, double z, double a)
 
 Velocity ()
 
- Public Member Functions inherited from Stg::Pose
meters_t Distance2D (const Pose &other) const
 
bool IsZero () const
 
PoseLoad (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 ()
 
void Save (Worldfile *wf, int section, const char *keyword)
 
std::string String () const
 
void Zero ()
 
virtual ~Pose ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Stg::Pose
static Pose Random (meters_t xmin, meters_t xmax, meters_t ymin, meters_t ymax)
 
- Public Attributes inherited from Stg::Pose
radians_t a
 rotation about the z axis. More...
 
meters_t x
 
meters_t y
 
meters_t z
 location in 3 axes More...
 

Detailed Description

Specify a 4 axis velocity: 3D vector in [x, y, z], plus rotation about Z (yaw).

Definition at line 348 of file stage.hh.

Constructor & Destructor Documentation

Stg::Velocity::Velocity ( double  x,
double  y,
double  z,
double  a 
)
inline
Parameters
xvelocity vector component along X axis (forward speed), in meters per second.
yvelocity vector component along Y axis (sideways speed), in meters per second.
zvelocity vector component along Z axis (vertical speed), in meters per second.
arotational velocity around Z axis (yaw), in radians per second.

Definition at line 356 of file stage.hh.

Stg::Velocity::Velocity ( )
inline

Definition at line 363 of file stage.hh.

Member Function Documentation

Velocity& Stg::Velocity::Load ( Worldfile wf,
int  section,
const char *  keyword 
)
inline

Print velocity in human-readable format on stdout, with a prefix string

Parameters
prefixCharacter string to prepend to output, or NULL.

Definition at line 372 of file stage.hh.

virtual void Stg::Velocity::Print ( const char *  prefix) const
inlinevirtual

Print pose in human-readable format on stdout

Parameters
prefixCharacter string to prepend to pose output

Reimplemented from Stg::Pose.

Definition at line 378 of file stage.hh.


The documentation for this class was generated from the following file:


stage
Author(s): Richard Vaughan , Brian Gerkey , Reed Hedges , Andrew Howard , Toby Collett , Pooya Karimian , Jeremy Asher , Alex Couture-Beil , Geoff Biggs , Rich Mattes , Abbas Sadat
autogenerated on Mon Jun 10 2019 15:06:12