Public Member Functions | Public Attributes | Friends | List of all members
trajectory::Trajectory::TPoint Struct Reference

#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. More...
 
 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

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

int trajectory::Trajectory::TPoint::dimension_

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.

double trajectory::Trajectory::TPoint::time_

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 Mon Jun 10 2019 14:26:33