Public Member Functions | |
Pr2GripperForceServo (ros::NodeHandle &n) | |
~Pr2GripperForceServo () | |
Private Types | |
typedef actionlib::ActionServer < pr2_gripper_sensor_msgs::PR2GripperForceServoAction > | GAS |
typedef GAS::GoalHandle | GoalHandle |
Private Member Functions | |
void | cancelCB (GoalHandle gh) |
void | controllerStateCB (const pr2_gripper_sensor_msgs::PR2GripperForceServoDataConstPtr &msg) |
void | goalCB (GoalHandle gh) |
void | watchdog (const ros::TimerEvent &e) |
Private Attributes | |
GAS | action_server_ |
ros::Time | action_start_time |
GoalHandle | active_goal_ |
bool | firstDrop |
ros::Time | goal_received_ |
double | goal_threshold_ |
bool | has_active_goal_ |
pr2_gripper_sensor_msgs::PR2GripperForceServoDataConstPtr | last_controller_state_ |
ros::Time | last_movement_time_ |
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 45 of file pr2_gripper_forceServo_action.cpp.
typedef actionlib::ActionServer<pr2_gripper_sensor_msgs::PR2GripperForceServoAction> Pr2GripperForceServo::GAS [private] |
Definition at line 48 of file pr2_gripper_forceServo_action.cpp.
typedef GAS::GoalHandle Pr2GripperForceServo::GoalHandle [private] |
Definition at line 49 of file pr2_gripper_forceServo_action.cpp.
Pr2GripperForceServo::Pr2GripperForceServo | ( | ros::NodeHandle & | n | ) | [inline] |
Definition at line 51 of file pr2_gripper_forceServo_action.cpp.
Pr2GripperForceServo::~Pr2GripperForceServo | ( | ) | [inline] |
Definition at line 70 of file pr2_gripper_forceServo_action.cpp.
void Pr2GripperForceServo::cancelCB | ( | GoalHandle | gh | ) | [inline, private] |
Definition at line 150 of file pr2_gripper_forceServo_action.cpp.
void Pr2GripperForceServo::controllerStateCB | ( | const pr2_gripper_sensor_msgs::PR2GripperForceServoDataConstPtr & | msg | ) | [inline, private] |
Definition at line 172 of file pr2_gripper_forceServo_action.cpp.
void Pr2GripperForceServo::goalCB | ( | GoalHandle | gh | ) | [inline, private] |
Definition at line 127 of file pr2_gripper_forceServo_action.cpp.
void Pr2GripperForceServo::watchdog | ( | const ros::TimerEvent & | e | ) | [inline, private] |
Definition at line 98 of file pr2_gripper_forceServo_action.cpp.
GAS Pr2GripperForceServo::action_server_ [private] |
Definition at line 80 of file pr2_gripper_forceServo_action.cpp.
Definition at line 94 of file pr2_gripper_forceServo_action.cpp.
GoalHandle Pr2GripperForceServo::active_goal_ [private] |
Definition at line 87 of file pr2_gripper_forceServo_action.cpp.
bool Pr2GripperForceServo::firstDrop [private] |
Definition at line 86 of file pr2_gripper_forceServo_action.cpp.
Definition at line 88 of file pr2_gripper_forceServo_action.cpp.
double Pr2GripperForceServo::goal_threshold_ [private] |
Definition at line 90 of file pr2_gripper_forceServo_action.cpp.
bool Pr2GripperForceServo::has_active_goal_ [private] |
Definition at line 85 of file pr2_gripper_forceServo_action.cpp.
pr2_gripper_sensor_msgs::PR2GripperForceServoDataConstPtr Pr2GripperForceServo::last_controller_state_ [private] |
Definition at line 171 of file pr2_gripper_forceServo_action.cpp.
Definition at line 93 of file pr2_gripper_forceServo_action.cpp.
ros::NodeHandle Pr2GripperForceServo::node_ [private] |
Definition at line 79 of file pr2_gripper_forceServo_action.cpp.
Definition at line 81 of file pr2_gripper_forceServo_action.cpp.
double Pr2GripperForceServo::stall_timeout_ [private] |
Definition at line 92 of file pr2_gripper_forceServo_action.cpp.
double Pr2GripperForceServo::stall_velocity_threshold_ [private] |
Definition at line 91 of file pr2_gripper_forceServo_action.cpp.
Definition at line 82 of file pr2_gripper_forceServo_action.cpp.
Definition at line 83 of file pr2_gripper_forceServo_action.cpp.