Public Member Functions | Public Attributes | Friends
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 ()
 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

Detailed Description

Definition at line 63 of file trajectory.h.


Constructor & Destructor Documentation

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:
thedimension 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:


pr2_mechanism_controllers
Author(s): Sachin Chita, John Hsu, Melonee Wise
autogenerated on Thu Aug 27 2015 14:22:52