Public Member Functions | |
Pr2GripperEventDetector (ros::NodeHandle &n) | |
~Pr2GripperEventDetector () | |
Private Types | |
typedef actionlib::ActionServer < pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction > | GAS |
typedef GAS::GoalHandle | GoalHandle |
Private Member Functions | |
void | cancelCB (GoalHandle gh) |
void | controllerStateCB (const pr2_gripper_sensor_msgs::PR2GripperEventDetectorDataConstPtr &msg) |
void | goalCB (GoalHandle gh) |
void | watchdog (const ros::TimerEvent &e) |
Private Attributes | |
GAS | action_server_ |
ros::Time | action_start_time |
GoalHandle | active_goal_ |
ros::Time | goal_received_ |
bool | has_active_goal_ |
pr2_gripper_sensor_msgs::PR2GripperEventDetectorDataConstPtr | last_controller_state_ |
ros::Time | last_movement_time_ |
ros::NodeHandle | node_ |
ros::Publisher | pub_controller_command_ |
double | stall_timeout_ |
ros::Subscriber | sub_controller_state_ |
ros::Timer | watchdog_timer_ |
Definition at line 45 of file pr2_gripper_event_detector_action.cpp.
typedef actionlib::ActionServer<pr2_gripper_sensor_msgs::PR2GripperEventDetectorAction> Pr2GripperEventDetector::GAS [private] |
Definition at line 48 of file pr2_gripper_event_detector_action.cpp.
typedef GAS::GoalHandle Pr2GripperEventDetector::GoalHandle [private] |
Definition at line 49 of file pr2_gripper_event_detector_action.cpp.
Pr2GripperEventDetector::Pr2GripperEventDetector | ( | ros::NodeHandle & | n | ) | [inline] |
Definition at line 51 of file pr2_gripper_event_detector_action.cpp.
Pr2GripperEventDetector::~Pr2GripperEventDetector | ( | ) | [inline] |
Definition at line 70 of file pr2_gripper_event_detector_action.cpp.
void Pr2GripperEventDetector::cancelCB | ( | GoalHandle | gh | ) | [inline, private] |
Definition at line 145 of file pr2_gripper_event_detector_action.cpp.
void Pr2GripperEventDetector::controllerStateCB | ( | const pr2_gripper_sensor_msgs::PR2GripperEventDetectorDataConstPtr & | msg | ) | [inline, private] |
Definition at line 164 of file pr2_gripper_event_detector_action.cpp.
void Pr2GripperEventDetector::goalCB | ( | GoalHandle | gh | ) | [inline, private] |
Definition at line 123 of file pr2_gripper_event_detector_action.cpp.
void Pr2GripperEventDetector::watchdog | ( | const ros::TimerEvent & | e | ) | [inline, private] |
Definition at line 94 of file pr2_gripper_event_detector_action.cpp.
GAS Pr2GripperEventDetector::action_server_ [private] |
Definition at line 80 of file pr2_gripper_event_detector_action.cpp.
Definition at line 84 of file pr2_gripper_event_detector_action.cpp.
Definition at line 87 of file pr2_gripper_event_detector_action.cpp.
Definition at line 88 of file pr2_gripper_event_detector_action.cpp.
bool Pr2GripperEventDetector::has_active_goal_ [private] |
Definition at line 86 of file pr2_gripper_event_detector_action.cpp.
pr2_gripper_sensor_msgs::PR2GripperEventDetectorDataConstPtr Pr2GripperEventDetector::last_controller_state_ [private] |
Definition at line 163 of file pr2_gripper_event_detector_action.cpp.
Definition at line 91 of file pr2_gripper_event_detector_action.cpp.
Definition at line 79 of file pr2_gripper_event_detector_action.cpp.
Definition at line 81 of file pr2_gripper_event_detector_action.cpp.
double Pr2GripperEventDetector::stall_timeout_ [private] |
Definition at line 90 of file pr2_gripper_event_detector_action.cpp.
Definition at line 82 of file pr2_gripper_event_detector_action.cpp.
Definition at line 83 of file pr2_gripper_event_detector_action.cpp.