Public Member Functions | Private Attributes
RobotArm Class Reference

#include <move_arm.h>

List of all members.

Public Member Functions

pr2_controllers_msgs::JointTrajectoryGoalcreateGoal (std::string lr, std::vector< double > positions)
actionlib::SimpleClientGoalState getState (char lr)
 Returns the current state of the action.
 RobotArm ()
 Initialize the action client and wait for action server to come up.
void startTrajectory (std::string goal_name)
 Sends the command to start a given trajectory.
 ~RobotArm ()
 Clean up the action client.

Private Attributes

std::map< std::string,
pr2_controllers_msgs::JointTrajectoryGoal * > 
goals
TrajClientleft_traj_client_
TrajClientright_traj_client_

Detailed Description

Definition at line 8 of file move_arm.h.


Constructor & Destructor Documentation

Initialize the action client and wait for action server to come up.

Definition at line 20 of file move_arm.cpp.

Clean up the action client.

Definition at line 50 of file move_arm.cpp.


Member Function Documentation

pr2_controllers_msgs::JointTrajectoryGoal * RobotArm::createGoal ( std::string  lr,
std::vector< double >  positions 
)

Definition at line 90 of file move_arm.cpp.

Returns the current state of the action.

Definition at line 76 of file move_arm.cpp.

void RobotArm::startTrajectory ( std::string  goal_name)

Sends the command to start a given trajectory.

Definition at line 58 of file move_arm.cpp.


Member Data Documentation

Definition at line 15 of file move_arm.h.

Definition at line 13 of file move_arm.h.

Definition at line 14 of file move_arm.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


door_manipulation_tools
Author(s): Felix Endres
autogenerated on Wed Dec 26 2012 16:02:19