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 42 of file pr2_gripper_event_detector_action.cpp.
typedef GAS::GoalHandle Pr2GripperEventDetector::GoalHandle [private] |
Definition at line 43 of file pr2_gripper_event_detector_action.cpp.
Pr2GripperEventDetector::Pr2GripperEventDetector | ( | ros::NodeHandle & | n | ) | [inline] |
Definition at line 45 of file pr2_gripper_event_detector_action.cpp.
Pr2GripperEventDetector::~Pr2GripperEventDetector | ( | ) | [inline] |
Definition at line 64 of file pr2_gripper_event_detector_action.cpp.
void Pr2GripperEventDetector::cancelCB | ( | GoalHandle | gh | ) | [inline, private] |
Definition at line 139 of file pr2_gripper_event_detector_action.cpp.
void Pr2GripperEventDetector::controllerStateCB | ( | const pr2_gripper_sensor_msgs::PR2GripperEventDetectorDataConstPtr & | msg | ) | [inline, private] |
Definition at line 158 of file pr2_gripper_event_detector_action.cpp.
void Pr2GripperEventDetector::goalCB | ( | GoalHandle | gh | ) | [inline, private] |
Definition at line 117 of file pr2_gripper_event_detector_action.cpp.
void Pr2GripperEventDetector::watchdog | ( | const ros::TimerEvent & | e | ) | [inline, private] |
Definition at line 88 of file pr2_gripper_event_detector_action.cpp.
GAS Pr2GripperEventDetector::action_server_ [private] |
Definition at line 74 of file pr2_gripper_event_detector_action.cpp.
ros::Time Pr2GripperEventDetector::action_start_time [private] |
Definition at line 78 of file pr2_gripper_event_detector_action.cpp.
Definition at line 81 of file pr2_gripper_event_detector_action.cpp.
ros::Time Pr2GripperEventDetector::goal_received_ [private] |
Definition at line 82 of file pr2_gripper_event_detector_action.cpp.
bool Pr2GripperEventDetector::has_active_goal_ [private] |
Definition at line 80 of file pr2_gripper_event_detector_action.cpp.
pr2_gripper_sensor_msgs::PR2GripperEventDetectorDataConstPtr Pr2GripperEventDetector::last_controller_state_ [private] |
Definition at line 157 of file pr2_gripper_event_detector_action.cpp.
ros::Time Pr2GripperEventDetector::last_movement_time_ [private] |
Definition at line 85 of file pr2_gripper_event_detector_action.cpp.
ros::NodeHandle Pr2GripperEventDetector::node_ [private] |
Definition at line 73 of file pr2_gripper_event_detector_action.cpp.
ros::Publisher Pr2GripperEventDetector::pub_controller_command_ [private] |
Definition at line 75 of file pr2_gripper_event_detector_action.cpp.
double Pr2GripperEventDetector::stall_timeout_ [private] |
Definition at line 84 of file pr2_gripper_event_detector_action.cpp.
ros::Subscriber Pr2GripperEventDetector::sub_controller_state_ [private] |
Definition at line 76 of file pr2_gripper_event_detector_action.cpp.
ros::Timer Pr2GripperEventDetector::watchdog_timer_ [private] |
Definition at line 77 of file pr2_gripper_event_detector_action.cpp.