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_ |
Definition at line 45 of file single_joint_position_action.cpp.
typedef SJPAS::GoalHandle SingleJointPositionNode::GoalHandle [private] |
Definition at line 49 of file single_joint_position_action.cpp.
typedef actionlib::ActionServer<pr2_controllers_msgs::SingleJointPositionAction> SingleJointPositionNode::SJPAS [private] |
Definition at line 48 of file single_joint_position_action.cpp.
SingleJointPositionNode::SingleJointPositionNode | ( | const ros::NodeHandle & | n | ) | [inline] |
Definition at line 51 of file single_joint_position_action.cpp.
void SingleJointPositionNode::cancelCB | ( | GoalHandle | gh | ) | [inline, private] |
Definition at line 200 of file single_joint_position_action.cpp.
void SingleJointPositionNode::controllerStateCB | ( | const pr2_controllers_msgs::JointTrajectoryControllerStateConstPtr & | msg | ) | [inline, private] |
Definition at line 216 of file single_joint_position_action.cpp.
void SingleJointPositionNode::goalCB | ( | GoalHandle | gh | ) | [inline] |
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.
SJPAS SingleJointPositionNode::action_server_ [private] |
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.
double SingleJointPositionNode::goal_threshold_ [private] |
Definition at line 153 of file single_joint_position_action.cpp.
bool SingleJointPositionNode::has_active_goal_ [private] |
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.
pr2_controllers_msgs::JointTrajectoryControllerStateConstPtr SingleJointPositionNode::last_controller_state_ [private] |
Definition at line 215 of file single_joint_position_action.cpp.
double SingleJointPositionNode::max_accel_ [private] |
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.