Public Member Functions | Private Types | Private Member Functions | Private Attributes
SingleJointPositionNode Class Reference

List of all members.

Public Member Functions

void goalCB (GoalHandle gh)
 SingleJointPositionNode (const ros::NodeHandle &n)

Private Types

typedef SJPAS::GoalHandle GoalHandle
typedef
actionlib::ActionServer
< pr2_controllers_msgs::SingleJointPositionAction
SJPAS

Private Member Functions

void cancelCB (GoalHandle gh)
void controllerStateCB (const pr2_controllers_msgs::JointTrajectoryControllerStateConstPtr &msg)
void watchdog (const ros::TimerEvent &e)

Private Attributes

SJPAS action_server_
GoalHandle active_goal_
ros::ServiceClient cli_query_traj_
ros::Subscriber command_sub_
double goal_threshold_
bool has_active_goal_
std::string joint_
pr2_controllers_msgs::JointTrajectoryControllerStateConstPtr last_controller_state_
double max_accel_
ros::NodeHandle node_
ros::Publisher pub_controller_command_
ros::Subscriber sub_controller_state_
ros::Timer watchdog_timer_

Detailed Description

Definition at line 45 of file single_joint_position_action.cpp.


Member Typedef Documentation

Definition at line 49 of file single_joint_position_action.cpp.

Definition at line 48 of file single_joint_position_action.cpp.


Constructor & Destructor Documentation

Definition at line 51 of file single_joint_position_action.cpp.


Member Function Documentation

void SingleJointPositionNode::cancelCB ( GoalHandle  gh) [inline, private]

Definition at line 200 of file single_joint_position_action.cpp.

Definition at line 216 of file single_joint_position_action.cpp.

Todo:
Use max_accel_ to compute the velocity correctly.

Definition at line 90 of file single_joint_position_action.cpp.

void SingleJointPositionNode::watchdog ( const ros::TimerEvent e) [inline, private]

Definition at line 166 of file single_joint_position_action.cpp.


Member Data Documentation

Definition at line 162 of file single_joint_position_action.cpp.

Definition at line 164 of file single_joint_position_action.cpp.

Definition at line 159 of file single_joint_position_action.cpp.

Definition at line 158 of file single_joint_position_action.cpp.

Definition at line 153 of file single_joint_position_action.cpp.

Definition at line 163 of file single_joint_position_action.cpp.

std::string SingleJointPositionNode::joint_ [private]

Definition at line 151 of file single_joint_position_action.cpp.

Definition at line 215 of file single_joint_position_action.cpp.

Definition at line 152 of file single_joint_position_action.cpp.

Definition at line 155 of file single_joint_position_action.cpp.

Definition at line 156 of file single_joint_position_action.cpp.

Definition at line 157 of file single_joint_position_action.cpp.

Definition at line 160 of file single_joint_position_action.cpp.


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


single_joint_position_action
Author(s): Stuart Glaser
autogenerated on Fri Jan 3 2014 11:41:18