Stg::Velocity Class Reference
#include <stage.hh>
Inheritance diagram for Stg::Velocity:

Public Member Functions | |
Velocity & | Load (Worldfile *wf, int section, const char *keyword) |
virtual void | Print (const char *prefix) const |
Velocity () | |
Velocity (double x, double y, double z, double a) | |
![]() | |
meters_t | Distance (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 &p) const |
a < b iff a is closer to the origin than b | |
bool | operator== (const Pose &other) const |
Pose () | |
Pose (meters_t x, meters_t y, meters_t z, radians_t a) | |
void | Save (Worldfile *wf, int section, const char *keyword) |
std::string | String () const |
void | Zero () |
virtual | ~Pose () |
Additional Inherited Members | |
![]() | |
static Pose | Random (meters_t xmin, meters_t xmax, meters_t ymin, meters_t ymax) |
![]() | |
radians_t | a |
rotation about the z axis. | |
meters_t | x |
meters_t | y |
meters_t | z |
location in 3 axes | |
Detailed Description
Specify a 4 axis velocity: 3D vector in [x, y, z], plus rotation about Z (yaw).
Constructor & Destructor Documentation
◆ Velocity() [1/2]
|
inline |
- Parameters
-
x velocity vector component along X axis (forward speed), in meters per second. y velocity vector component along Y axis (sideways speed), in meters per second. z velocity vector component along Z axis (vertical speed), in meters per second. a rotational velocity around Z axis (yaw), in radians per second.
◆ Velocity() [2/2]
|
inline |
Member Function Documentation
◆ Load()
◆ Print()
|
inlinevirtual |
Print velocity in human-readable format on stdout, with a prefix string
- Parameters
-
prefix Character string to prepend to output, or NULL.
Reimplemented from Stg::Pose.
The documentation for this class was generated from the following file:
Generated on Sun Jan 19 2025 00:00:00 for Stage by