trajectory::Trajectory::TPoint Struct Reference

#include <trajectory.h>

List of all members.

Public Member Functions

void setDimension (int dimension)
 Set the dimension of a trajectory point. This resizes the internal vectors to the right sizes.
 TPoint (const std::vector< double > &q, double time)
 TPoint (int dimension)
 TPoint ()

Public Attributes

int dimension_
std::vector< double > q_
std::vector< double > qdot_
double time_

Friends

class Trajectory

Detailed Description

Definition at line 63 of file trajectory.h.


Constructor & Destructor Documentation

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


Member Function Documentation

void trajectory::Trajectory::TPoint::setDimension ( int  dimension  )  [inline]

Set the dimension of a trajectory point. This resizes the internal vectors to the right sizes.

Parameters:
the dimension of the trajectory point

Definition at line 86 of file trajectory.h.


Friends And Related Function Documentation

friend class Trajectory [friend]

dimension of the point

Definition at line 80 of file trajectory.h.


Member Data Documentation

timestamp

Definition at line 78 of file trajectory.h.

Constructor with input of vector of positions for the point and timestamp

Definition at line 72 of file trajectory.h.

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.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines


pr2_mechanism_controllers
Author(s): Sachin Chita, John Hsu, Melonee Wise
autogenerated on Fri Jan 11 09:39:08 2013