|
#include <RobotAPI/libraries/core/Trajectory.h>
Public Member Functions | |
const std::vector< DoubleSeqPtr > & | getData () const |
double | getDeriv (size_t dim, size_t derivation) const |
double | getPosition (size_t dim) const |
std::vector< double > | getPositions () const |
template<class T = double> | |
std::vector< T > | getPositionsAs () const |
template<class T > | |
std::map< std::string, T > | getPositionsAsNameValueMap () const |
Eigen::VectorXd | getPositionsAsVectorXd () const |
Eigen::VectorXf | getPositionsAsVectorXf () const |
double | getTimestamp () const |
TrajData & | operator= (const TrajData &s) |
DoubleSeqPtr | operator[] (size_t dim) const |
TrajData () | |
TrajData (Trajectory *traj) | |
template<class T > | |
void | writePositionsToNameValueMap (std::map< std::string, T > &map) const |
Public Attributes | |
std::vector< DoubleSeqPtr > | data |
double | timestamp |
Protected Attributes | |
Trajectory * | trajectory = nullptr |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const TrajData &rhs) |
Definition at line 85 of file Trajectory.h.
|
inline |
Definition at line 87 of file Trajectory.h.
TrajData | ( | Trajectory * | traj | ) |
Definition at line 1956 of file Trajectory.cpp.
const std::vector< DoubleSeqPtr > & getData | ( | ) | const |
double getDeriv | ( | size_t | dim, |
size_t | derivation | ||
) | const |
double getPosition | ( | size_t | dim | ) | const |
Definition at line 1971 of file Trajectory.cpp.
|
inline |
Definition at line 123 of file Trajectory.h.
|
inline |
|
inline |
Eigen::VectorXd getPositionsAsVectorXd | ( | ) | const |
Definition at line 1991 of file Trajectory.cpp.
Eigen::VectorXf getPositionsAsVectorXf | ( | ) | const |
Definition at line 1976 of file Trajectory.cpp.
double getTimestamp | ( | ) | const |
Definition at line 1966 of file Trajectory.cpp.
DoubleSeqPtr operator[] | ( | size_t | dim | ) | const |
|
inline |
Definition at line 132 of file Trajectory.h.
|
friend |
Definition at line 156 of file Trajectory.h.
|
mutable |
Definition at line 171 of file Trajectory.h.
double timestamp |
Definition at line 170 of file Trajectory.h.
|
protected |
Definition at line 173 of file Trajectory.h.