hermite
0.0.1
|
A pose object. More...
#include <pose.hpp>
Public Member Functions | |
Pose () | |
Default constructor. More... | |
Pose (const double time, const Vector< D > pos, const Vector< D > vel) | |
Constructor. More... | |
Pose (const Pose< D > &other) | |
Copy constructor. | |
Pose< D > & | operator= (const Pose< D > &other) |
Assignment operator. | |
~Pose ()=default | |
Destructor. | |
Vector< D > | getPos () const |
Gets position vector. More... | |
Vector< D > | getVel () const |
Gets velocity vector. More... | |
double | getTime () const |
Gets time. More... | |
void | setPos (const Vector< D > &pos) |
Sets position vector. More... | |
void | setVel (const Vector< D > &vel) |
Sets velocity vector. More... | |
void | setTime (const double &time) |
Sets time. More... | |
A pose object.
Poses in multiple dimensions can use multiple Pose objects.
It is recommended to create a pose using makePose().
|
inline |
Default constructor.
Initializes all values to zero
|
inline |
Constructor.
time | Time to reach this pose |
pos | Position vector |
vel | Velocity vector |
|
inline |
Gets position vector.
|
inline |
Gets time.
|
inline |
Gets velocity vector.
|
inline |
Sets position vector.
pos | Position vector |
|
inline |
Sets time.
time | Time |
|
inline |
Sets velocity vector.
vel | Velocity vector |