Wraps a SynchedCartesianTrajectory with ROS message handling. More...
#include <RosMsgTrajectory.h>
Public Member Functions | |
const std::vector< std::string > & | getNodeNames () |
virtual void | getPose (double time, r2_msgs::PoseTrajectoryPoint &stepPose) |
getPose get pose at a particular time | |
const std::vector < r2_msgs::PriorityArray > & | getPriorities () |
const std::vector< std::string > & | getRefFrames () |
RosMsgSynchedCartesianTrajectory () | |
void | setNodeNames (const std::vector< std::string > &nodeNames_in) |
void | setPriorities (const std::vector< r2_msgs::PriorityArray > &priorities_in) |
void | setRefFrames (const std::vector< std::string > &refFrames_in) |
virtual | ~RosMsgSynchedCartesianTrajectory () |
Private Attributes | |
std::vector< std::string > | nodeNames |
std::vector < r2_msgs::PriorityArray > | priorities |
std::vector< std::string > | refFrames |
Wraps a SynchedCartesianTrajectory with ROS message handling.
Definition at line 70 of file RosMsgTrajectory.h.
Definition at line 73 of file RosMsgTrajectory.h.
virtual RosMsgSynchedCartesianTrajectory::~RosMsgSynchedCartesianTrajectory | ( | ) | [inline, virtual] |
Definition at line 74 of file RosMsgTrajectory.h.
const std::vector<std::string>& RosMsgSynchedCartesianTrajectory::getNodeNames | ( | ) | [inline] |
Definition at line 80 of file RosMsgTrajectory.h.
void RosMsgSynchedCartesianTrajectory::getPose | ( | double | time, |
r2_msgs::PoseTrajectoryPoint & | pose | ||
) | [virtual] |
getPose get pose at a particular time
time | time along trajectory (0 - getDuration()) |
stepPose | pose corresponding to the time |
each step in a joint trajectory contains the position, velocity, and acceleration
Implements Trajectory< r2_msgs::PoseTrajectoryPoint >.
Definition at line 23 of file RosMsgTrajectory.cpp.
const std::vector<r2_msgs::PriorityArray>& RosMsgSynchedCartesianTrajectory::getPriorities | ( | ) | [inline] |
Definition at line 82 of file RosMsgTrajectory.h.
const std::vector<std::string>& RosMsgSynchedCartesianTrajectory::getRefFrames | ( | ) | [inline] |
Definition at line 81 of file RosMsgTrajectory.h.
void RosMsgSynchedCartesianTrajectory::setNodeNames | ( | const std::vector< std::string > & | nodeNames_in | ) | [inline] |
Definition at line 76 of file RosMsgTrajectory.h.
void RosMsgSynchedCartesianTrajectory::setPriorities | ( | const std::vector< r2_msgs::PriorityArray > & | priorities_in | ) | [inline] |
Definition at line 78 of file RosMsgTrajectory.h.
void RosMsgSynchedCartesianTrajectory::setRefFrames | ( | const std::vector< std::string > & | refFrames_in | ) | [inline] |
Definition at line 77 of file RosMsgTrajectory.h.
std::vector<std::string> RosMsgSynchedCartesianTrajectory::nodeNames [private] |
Definition at line 87 of file RosMsgTrajectory.h.
std::vector<r2_msgs::PriorityArray> RosMsgSynchedCartesianTrajectory::priorities [private] |
Definition at line 89 of file RosMsgTrajectory.h.
std::vector<std::string> RosMsgSynchedCartesianTrajectory::refFrames [private] |
Definition at line 88 of file RosMsgTrajectory.h.