Public Member Functions | |
Pr2GripperAction (ros::NodeHandle &n) | |
~Pr2GripperAction () | |
Private Types | |
typedef actionlib::ActionServer < pr2_controllers_msgs::Pr2GripperCommandAction > | GAS |
typedef GAS::GoalHandle | GoalHandle |
Private Member Functions | |
void | cancelCB (GoalHandle gh) |
void | controllerStateCB (const pr2_controllers_msgs::JointControllerStateConstPtr &msg) |
void | goalCB (GoalHandle gh) |
void | watchdog (const ros::TimerEvent &e) |
Private Attributes | |
GAS | action_server_ |
GoalHandle | active_goal_ |
ros::Time | goal_received_ |
double | goal_threshold_ |
bool | has_active_goal_ |
pr2_controllers_msgs::JointControllerStateConstPtr | last_controller_state_ |
ros::Time | last_movement_time_ |
double | min_error_seen_ |
ros::NodeHandle | node_ |
ros::Publisher | pub_controller_command_ |
double | stall_timeout_ |
double | stall_velocity_threshold_ |
ros::Subscriber | sub_controller_state_ |
ros::Timer | watchdog_timer_ |
Definition at line 39 of file pr2_gripper_action.cpp.
typedef actionlib::ActionServer<pr2_controllers_msgs::Pr2GripperCommandAction> Pr2GripperAction::GAS [private] |
Definition at line 40 of file pr2_gripper_action.cpp.
typedef GAS::GoalHandle Pr2GripperAction::GoalHandle [private] |
Definition at line 41 of file pr2_gripper_action.cpp.
Pr2GripperAction::Pr2GripperAction | ( | ros::NodeHandle & | n | ) | [inline] |
Definition at line 43 of file pr2_gripper_action.cpp.
Pr2GripperAction::~Pr2GripperAction | ( | ) | [inline] |
Definition at line 64 of file pr2_gripper_action.cpp.
void Pr2GripperAction::cancelCB | ( | GoalHandle | gh | ) | [inline, private] |
Definition at line 139 of file pr2_gripper_action.cpp.
void Pr2GripperAction::controllerStateCB | ( | const pr2_controllers_msgs::JointControllerStateConstPtr & | msg | ) | [inline, private] |
Definition at line 161 of file pr2_gripper_action.cpp.
void Pr2GripperAction::goalCB | ( | GoalHandle | gh | ) | [inline, private] |
Definition at line 118 of file pr2_gripper_action.cpp.
void Pr2GripperAction::watchdog | ( | const ros::TimerEvent & | e | ) | [inline, private] |
Definition at line 89 of file pr2_gripper_action.cpp.
GAS Pr2GripperAction::action_server_ [private] |
Definition at line 74 of file pr2_gripper_action.cpp.
GoalHandle Pr2GripperAction::active_goal_ [private] |
Definition at line 80 of file pr2_gripper_action.cpp.
ros::Time Pr2GripperAction::goal_received_ [private] |
Definition at line 81 of file pr2_gripper_action.cpp.
double Pr2GripperAction::goal_threshold_ [private] |
Definition at line 84 of file pr2_gripper_action.cpp.
bool Pr2GripperAction::has_active_goal_ [private] |
Definition at line 79 of file pr2_gripper_action.cpp.
pr2_controllers_msgs::JointControllerStateConstPtr Pr2GripperAction::last_controller_state_ [private] |
Definition at line 160 of file pr2_gripper_action.cpp.
ros::Time Pr2GripperAction::last_movement_time_ [private] |
Definition at line 87 of file pr2_gripper_action.cpp.
double Pr2GripperAction::min_error_seen_ [private] |
Definition at line 83 of file pr2_gripper_action.cpp.
ros::NodeHandle Pr2GripperAction::node_ [private] |
Definition at line 73 of file pr2_gripper_action.cpp.
ros::Publisher Pr2GripperAction::pub_controller_command_ [private] |
Definition at line 75 of file pr2_gripper_action.cpp.
double Pr2GripperAction::stall_timeout_ [private] |
Definition at line 86 of file pr2_gripper_action.cpp.
double Pr2GripperAction::stall_velocity_threshold_ [private] |
Definition at line 85 of file pr2_gripper_action.cpp.
ros::Subscriber Pr2GripperAction::sub_controller_state_ [private] |
Definition at line 76 of file pr2_gripper_action.cpp.
ros::Timer Pr2GripperAction::watchdog_timer_ [private] |
Definition at line 77 of file pr2_gripper_action.cpp.