#include <trajectory.h>
Public Member Functions | |
void | setDimension (int dimension) |
Set the dimension of a trajectory point. This resizes the internal vectors to the right sizes. | |
TPoint () | |
TPoint (int dimension) | |
TPoint (const std::vector< double > &q, double time) | |
Public Attributes | |
int | dimension_ |
std::vector< double > | q_ |
std::vector< double > | qdot_ |
double | time_ |
Friends | |
class | Trajectory |
Definition at line 63 of file trajectory.h.
trajectory::Trajectory::TPoint::TPoint | ( | ) | [inline] |
Definition at line 66 of file trajectory.h.
trajectory::Trajectory::TPoint::TPoint | ( | int | dimension | ) | [inline] |
Default constructor
Definition at line 68 of file trajectory.h.
trajectory::Trajectory::TPoint::TPoint | ( | const std::vector< double > & | q, |
double | time | ||
) |
Constructor with dimension specified
void trajectory::Trajectory::TPoint::setDimension | ( | int | dimension | ) | [inline] |
Set the dimension of a trajectory point. This resizes the internal vectors to the right sizes.
the | dimension of the trajectory point |
Definition at line 86 of file trajectory.h.
friend class Trajectory [friend] |
dimension of the point
Definition at line 80 of file trajectory.h.
timestamp
Definition at line 78 of file trajectory.h.
std::vector<double> trajectory::Trajectory::TPoint::q_ |
Constructor with input of vector of positions for the point and timestamp
Definition at line 72 of file trajectory.h.
std::vector<double> trajectory::Trajectory::TPoint::qdot_ |
vector of positions of dimension = dimension_
Definition at line 74 of file trajectory.h.
vector of velocities of dimension = dimension_
Definition at line 76 of file trajectory.h.