Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
Pr2GripperAction Class Reference

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_
 

Detailed Description

Definition at line 40 of file pr2_gripper_sensor_action.cpp.

Member Typedef Documentation

typedef actionlib::ActionServer<pr2_controllers_msgs::Pr2GripperCommandAction> Pr2GripperAction::GAS
private

Definition at line 43 of file pr2_gripper_sensor_action.cpp.

Definition at line 44 of file pr2_gripper_sensor_action.cpp.

Constructor & Destructor Documentation

Pr2GripperAction::Pr2GripperAction ( ros::NodeHandle n)
inline

Definition at line 47 of file pr2_gripper_sensor_action.cpp.

Pr2GripperAction::~Pr2GripperAction ( )
inline

Definition at line 69 of file pr2_gripper_sensor_action.cpp.

Member Function Documentation

void Pr2GripperAction::cancelCB ( GoalHandle  gh)
inlineprivate

Definition at line 144 of file pr2_gripper_sensor_action.cpp.

void Pr2GripperAction::controllerStateCB ( const pr2_controllers_msgs::JointControllerStateConstPtr &  msg)
inlineprivate

Definition at line 176 of file pr2_gripper_sensor_action.cpp.

void Pr2GripperAction::goalCB ( GoalHandle  gh)
inlineprivate

Definition at line 123 of file pr2_gripper_sensor_action.cpp.

void Pr2GripperAction::watchdog ( const ros::TimerEvent e)
inlineprivate

Definition at line 94 of file pr2_gripper_sensor_action.cpp.

Member Data Documentation

GAS Pr2GripperAction::action_server_
private

Definition at line 79 of file pr2_gripper_sensor_action.cpp.

GoalHandle Pr2GripperAction::active_goal_
private

Definition at line 85 of file pr2_gripper_sensor_action.cpp.

ros::Time Pr2GripperAction::goal_received_
private

Definition at line 86 of file pr2_gripper_sensor_action.cpp.

double Pr2GripperAction::goal_threshold_
private

Definition at line 89 of file pr2_gripper_sensor_action.cpp.

bool Pr2GripperAction::has_active_goal_
private

Definition at line 84 of file pr2_gripper_sensor_action.cpp.

pr2_controllers_msgs::JointControllerStateConstPtr Pr2GripperAction::last_controller_state_
private

Definition at line 175 of file pr2_gripper_sensor_action.cpp.

ros::Time Pr2GripperAction::last_movement_time_
private

Definition at line 92 of file pr2_gripper_sensor_action.cpp.

double Pr2GripperAction::min_error_seen_
private

Definition at line 88 of file pr2_gripper_sensor_action.cpp.

ros::NodeHandle Pr2GripperAction::node_
private

Definition at line 78 of file pr2_gripper_sensor_action.cpp.

ros::Publisher Pr2GripperAction::pub_controller_command_
private

Definition at line 80 of file pr2_gripper_sensor_action.cpp.

double Pr2GripperAction::stall_timeout_
private

Definition at line 91 of file pr2_gripper_sensor_action.cpp.

double Pr2GripperAction::stall_velocity_threshold_
private

Definition at line 90 of file pr2_gripper_sensor_action.cpp.

ros::Subscriber Pr2GripperAction::sub_controller_state_
private

Definition at line 81 of file pr2_gripper_sensor_action.cpp.

ros::Timer Pr2GripperAction::watchdog_timer_
private

Definition at line 82 of file pr2_gripper_sensor_action.cpp.


The documentation for this class was generated from the following file:


pr2_gripper_sensor_action
Author(s): Joe Romano
autogenerated on Wed Apr 1 2020 03:58:26