RobotArm Class Reference

List of all members.

Public Member Functions

pr2_controllers_msgs::JointTrajectoryGoal armExtensionTrajectory ()
 Generates a simple trajectory with two waypoints, used as an example.
actionlib::SimpleClientGoalState getState ()
 Returns the current state of the action.
 RobotArm ()
 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.
 ~RobotArm ()
 Clean up the action client.

Private Attributes

TrajClienttraj_client_

Detailed Description

Definition at line 9 of file move_arm.cpp.


Constructor & Destructor Documentation

RobotArm::RobotArm (  )  [inline]

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

Definition at line 18 of file move_arm.cpp.

RobotArm::~RobotArm (  )  [inline]

Clean up the action client.

Definition at line 30 of file move_arm.cpp.


Member Function Documentation

pr2_controllers_msgs::JointTrajectoryGoal RobotArm::armExtensionTrajectory (  )  [inline]

Generates a simple trajectory with two waypoints, used as an example.

Note that this trajectory contains two waypoints, joined together as a single trajectory. Alternatively, each of these waypoints could be in its own trajectory - a trajectory can have one or more waypoints depending on the desired application.

Definition at line 54 of file move_arm.cpp.

actionlib::SimpleClientGoalState RobotArm::getState (  )  [inline]

Returns the current state of the action.

Definition at line 104 of file move_arm.cpp.

void RobotArm::startTrajectory ( pr2_controllers_msgs::JointTrajectoryGoal  goal  )  [inline]

Sends the command to start a given trajectory.

Definition at line 36 of file move_arm.cpp.


Member Data Documentation

Definition at line 14 of file move_arm.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs


pr2_arm_gazebo
Author(s): John Hsu
autogenerated on Wed Aug 17 09:00:11 2011