23 template <std::
size_t D>
class Pose {
40 : m_time{time}, m_pos{pos}, m_vel{vel} {}
46 : m_time{other.m_time}, m_pos{other.m_pos}, m_vel{other.m_vel} {}
59 m_time = other.m_time;
109 void setTime(
const double &time) { m_time = time; }
A pose object.
Definition: pose.hpp:23
Vector< D > getVel() const
Gets velocity vector.
Definition: pose.hpp:81
void setTime(const double &time)
Sets time.
Definition: pose.hpp:109
Vector< D > getPos() const
Gets position vector.
Definition: pose.hpp:74
~Pose()=default
Destructor.
void setPos(const Vector< D > &pos)
Sets position vector.
Definition: pose.hpp:95
Pose(const double time, const Vector< D > pos, const Vector< D > vel)
Constructor.
Definition: pose.hpp:39
Pose(const Pose< D > &other)
Copy constructor.
Definition: pose.hpp:45
void setVel(const Vector< D > &vel)
Sets velocity vector.
Definition: pose.hpp:102
double getTime() const
Gets time.
Definition: pose.hpp:88
Pose< D > & operator=(const Pose< D > &other)
Assignment operator.
Definition: pose.hpp:51
Pose()
Default constructor.
Definition: pose.hpp:30
A base vector representation.
Definition: simplevectors.hpp:63