Public Member Functions | Private Member Functions | Private Attributes
katana_tutorials::Pr2JointTrajectoryClient Class Reference

#include <pr2_joint_trajectory_client.h>

List of all members.

Public Member Functions

actionlib::SimpleClientGoalState getState ()
 Returns the current state of the action.
control_msgs::JointTrajectoryGoal makeArmUpTrajectory ()
 Pr2JointTrajectoryClient ()
void startTrajectory (control_msgs::JointTrajectoryGoal goal)
 Sends the command to start a given trajectory.
virtual ~Pr2JointTrajectoryClient ()

Private Member Functions

void jointStateCB (const sensor_msgs::JointState::ConstPtr &msg)

Private Attributes

std::vector< double > current_joint_state_
bool got_joint_state_
std::vector< std::string > joint_names_
ros::Subscriber joint_state_sub_
ros::NodeHandle nh_
ros::AsyncSpinner spinner_
TrajClient traj_client_

Detailed Description

Definition at line 22 of file pr2_joint_trajectory_client.h.


Constructor & Destructor Documentation

Definition at line 13 of file pr2_joint_trajectory_client.cpp.

Definition at line 32 of file pr2_joint_trajectory_client.cpp.


Member Function Documentation

Returns the current state of the action.

Definition at line 144 of file pr2_joint_trajectory_client.cpp.

void katana_tutorials::Pr2JointTrajectoryClient::jointStateCB ( const sensor_msgs::JointState::ConstPtr &  msg) [private]

Definition at line 36 of file pr2_joint_trajectory_client.cpp.

Definition at line 71 of file pr2_joint_trajectory_client.cpp.

void katana_tutorials::Pr2JointTrajectoryClient::startTrajectory ( control_msgs::JointTrajectoryGoal  goal)

Sends the command to start a given trajectory.

Definition at line 64 of file pr2_joint_trajectory_client.cpp.


Member Data Documentation

Definition at line 38 of file pr2_joint_trajectory_client.h.

Definition at line 37 of file pr2_joint_trajectory_client.h.

Definition at line 36 of file pr2_joint_trajectory_client.h.

Definition at line 35 of file pr2_joint_trajectory_client.h.

Definition at line 33 of file pr2_joint_trajectory_client.h.

Definition at line 39 of file pr2_joint_trajectory_client.h.

Definition at line 34 of file pr2_joint_trajectory_client.h.


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


katana_tutorials
Author(s): Martin Günther
autogenerated on Mon Aug 14 2017 02:44:10