Public Member Functions | |
pr2_controllers_msgs::JointTrajectoryGoal | armExtensionTrajectory () |
actionlib::SimpleClientGoalState | getState () |
Returns the current state of the action. | |
void | getTrajectory (int argc, char **argv) |
SimpleMoveJoints () | |
Initialize the action client and wait for action server to come up. | |
void | startTrajectory (pr2_controllers_msgs::JointTrajectoryGoal goal) |
Sends the command to start a given trajectory. | |
~SimpleMoveJoints () | |
Clean up the action client. | |
Private Attributes | |
std::vector< double > | pos |
ros::Duration | time_move |
TrajClient * | traj_client_ |
Definition at line 7 of file simple_move_joints.cpp.
SimpleMoveJoints::SimpleMoveJoints | ( | ) | [inline] |
Initialize the action client and wait for action server to come up.
Definition at line 18 of file simple_move_joints.cpp.
SimpleMoveJoints::~SimpleMoveJoints | ( | ) | [inline] |
Clean up the action client.
Definition at line 30 of file simple_move_joints.cpp.
Definition at line 44 of file simple_move_joints.cpp.
Returns the current state of the action.
Definition at line 80 of file simple_move_joints.cpp.
void SimpleMoveJoints::getTrajectory | ( | int | argc, |
char ** | argv | ||
) | [inline] |
Definition at line 84 of file simple_move_joints.cpp.
void SimpleMoveJoints::startTrajectory | ( | pr2_controllers_msgs::JointTrajectoryGoal | goal | ) | [inline] |
Sends the command to start a given trajectory.
Definition at line 36 of file simple_move_joints.cpp.
std::vector<double> SimpleMoveJoints::pos [private] |
Definition at line 14 of file simple_move_joints.cpp.
ros::Duration SimpleMoveJoints::time_move [private] |
Definition at line 13 of file simple_move_joints.cpp.
TrajClient* SimpleMoveJoints::traj_client_ [private] |
Definition at line 12 of file simple_move_joints.cpp.