Public Member Functions | Private Attributes
RobotArm Class Reference

List of all members.

Public Member Functions

control_msgs::FollowJointTrajectoryGoal armExtensionTrajectory (std_msgs::Float32MultiArray &waypoints)
control_msgs::FollowJointTrajectoryGoal 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 (control_msgs::FollowJointTrajectoryGoal goal)
 Sends the command to start a given trajectory.
 ~RobotArm ()
 Clean up the action client.

Private Attributes

TrajClienttraj_client_

Detailed Description

Definition at line 13 of file trajectory_client.cpp.


Constructor & Destructor Documentation

RobotArm::RobotArm ( ) [inline]

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

Definition at line 22 of file trajectory_client.cpp.

RobotArm::~RobotArm ( ) [inline]

Clean up the action client.

Definition at line 35 of file trajectory_client.cpp.


Member Function Documentation

control_msgs::FollowJointTrajectoryGoal RobotArm::armExtensionTrajectory ( std_msgs::Float32MultiArray &  waypoints) [inline]

Definition at line 49 of file trajectory_client.cpp.

control_msgs::FollowJointTrajectoryGoal 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 104 of file trajectory_client.cpp.

Returns the current state of the action.

Definition at line 196 of file trajectory_client.cpp.

void RobotArm::startTrajectory ( control_msgs::FollowJointTrajectoryGoal  goal) [inline]

Sends the command to start a given trajectory.

Definition at line 41 of file trajectory_client.cpp.


Member Data Documentation

Definition at line 18 of file trajectory_client.cpp.


The documentation for this class was generated from the following file:


aubo_trajectory
Author(s): liuxin
autogenerated on Wed Sep 6 2017 03:06:56