Wraps a JointTrajectory with ROS message handling. More...
#include <RosMsgTrajectory.h>

Public Member Functions | |
| const std::vector< std::string > & | getJointNames () |
| void | getPose (double time, trajectory_msgs::JointTrajectoryPoint &pose) |
| getPose get pose at a particular time | |
| RosMsgJointTrajectory () | |
| void | setJointNames (const std::vector< std::string > &jointNames_in) |
| virtual | ~RosMsgJointTrajectory () |
Private Attributes | |
| std::vector< std::string > | jointNames |
Wraps a JointTrajectory with ROS message handling.
Definition at line 50 of file RosMsgTrajectory.h.
| RosMsgJointTrajectory::RosMsgJointTrajectory | ( | ) | [inline] |
Definition at line 53 of file RosMsgTrajectory.h.
| virtual RosMsgJointTrajectory::~RosMsgJointTrajectory | ( | ) | [inline, virtual] |
Definition at line 54 of file RosMsgTrajectory.h.
| const std::vector<std::string>& RosMsgJointTrajectory::getJointNames | ( | ) | [inline] |
Definition at line 58 of file RosMsgTrajectory.h.
| void RosMsgJointTrajectory::getPose | ( | double | time, |
| trajectory_msgs::JointTrajectoryPoint & | 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< trajectory_msgs::JointTrajectoryPoint >.
Definition at line 5 of file RosMsgTrajectory.cpp.
| void RosMsgJointTrajectory::setJointNames | ( | const std::vector< std::string > & | jointNames_in | ) | [inline] |
Definition at line 56 of file RosMsgTrajectory.h.
std::vector<std::string> RosMsgJointTrajectory::jointNames [private] |
Definition at line 63 of file RosMsgTrajectory.h.