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 39 of file pr2_gripper_action.cpp.

Member Typedef Documentation

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

Definition at line 42 of file pr2_gripper_action.cpp.

Definition at line 43 of file pr2_gripper_action.cpp.

Constructor & Destructor Documentation

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

Definition at line 45 of file pr2_gripper_action.cpp.

Pr2GripperAction::~Pr2GripperAction ( )
inline

Definition at line 68 of file pr2_gripper_action.cpp.

Member Function Documentation

void Pr2GripperAction::cancelCB ( GoalHandle  gh)
inlineprivate

Definition at line 143 of file pr2_gripper_action.cpp.

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

Definition at line 165 of file pr2_gripper_action.cpp.

void Pr2GripperAction::goalCB ( GoalHandle  gh)
inlineprivate

Definition at line 122 of file pr2_gripper_action.cpp.

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

Definition at line 93 of file pr2_gripper_action.cpp.

Member Data Documentation

GAS Pr2GripperAction::action_server_
private

Definition at line 78 of file pr2_gripper_action.cpp.

GoalHandle Pr2GripperAction::active_goal_
private

Definition at line 84 of file pr2_gripper_action.cpp.

ros::Time Pr2GripperAction::goal_received_
private

Definition at line 85 of file pr2_gripper_action.cpp.

double Pr2GripperAction::goal_threshold_
private

Definition at line 88 of file pr2_gripper_action.cpp.

bool Pr2GripperAction::has_active_goal_
private

Definition at line 83 of file pr2_gripper_action.cpp.

pr2_controllers_msgs::JointControllerStateConstPtr Pr2GripperAction::last_controller_state_
private

Definition at line 164 of file pr2_gripper_action.cpp.

ros::Time Pr2GripperAction::last_movement_time_
private

Definition at line 91 of file pr2_gripper_action.cpp.

double Pr2GripperAction::min_error_seen_
private

Definition at line 87 of file pr2_gripper_action.cpp.

ros::NodeHandle Pr2GripperAction::node_
private

Definition at line 77 of file pr2_gripper_action.cpp.

ros::Publisher Pr2GripperAction::pub_controller_command_
private

Definition at line 79 of file pr2_gripper_action.cpp.

double Pr2GripperAction::stall_timeout_
private

Definition at line 90 of file pr2_gripper_action.cpp.

double Pr2GripperAction::stall_velocity_threshold_
private

Definition at line 89 of file pr2_gripper_action.cpp.

ros::Subscriber Pr2GripperAction::sub_controller_state_
private

Definition at line 80 of file pr2_gripper_action.cpp.

ros::Timer Pr2GripperAction::watchdog_timer_
private

Definition at line 81 of file pr2_gripper_action.cpp.


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


pr2_gripper_action
Author(s): Stuart Glaser
autogenerated on Wed Jun 5 2019 19:34:15