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 (const std::vector< double > &q, double time)
 
 TPoint (int dimension)
 

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

◆ TPoint() [1/3]

trajectory::Trajectory::TPoint::TPoint ( )
inline

Definition at line 66 of file trajectory.h.

◆ TPoint() [2/3]

trajectory::Trajectory::TPoint::TPoint ( int  dimension)
inline

Default constructor

Definition at line 68 of file trajectory.h.

◆ TPoint() [3/3]

trajectory::Trajectory::TPoint::TPoint ( const std::vector< double > &  q,
double  time 
)

Constructor with dimension specified

Member Function Documentation

◆ setDimension()

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

◆ Trajectory

friend class Trajectory
friend

dimension of the point

Definition at line 80 of file trajectory.h.

Member Data Documentation

◆ dimension_

int trajectory::Trajectory::TPoint::dimension_

timestamp

Definition at line 78 of file trajectory.h.

◆ q_

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.

◆ qdot_

std::vector<double> trajectory::Trajectory::TPoint::qdot_

vector of positions of dimension = dimension_

Definition at line 74 of file trajectory.h.

◆ time_

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 Sat Nov 12 2022 03:33:25