Public Member Functions | Protected Member Functions | Protected Attributes
pr2_collision_monitor::JointCollDetect Class Reference

List of all members.

Public Member Functions

bool isTraining ()
 JointCollDetect ()
void onInit ()
void writeErrorData ()
 ~JointCollDetect ()

Protected Member Functions

void errorCallback (pr2_controllers_msgs::JointTrajectoryControllerState::ConstPtr message)
void loadAllErrorData (vector< std::string > &filename_list)
void loadErrorBag (const std::string &load_filename, JointErrorData::Ptr &err_data_ptr)
bool srvStartDetection (JointDetectionStart::Request &, JointDetectionStart::Response &)
bool srvStopDetection (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
bool srvTriggerCollision (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
bool startDetection (std::string &, float specificity)
void stopDetection ()
bool triggerCollision ()

Protected Attributes

std::string arm
std::string behavior_name
vector< std::string > behavior_name_list
bool collision_detected
vector< float > cur_max_data
vector< float > cur_min_data
std::string data_filename
ros::Publisher detect_pub
double end_time
JointErrorData error_data
ros::Subscriber error_sub
vector< double > max_errors
vector< double > min_errors
bool monitoring_collisions
ros::NodeHandle nh
ros::NodeHandle nh_priv
bool significance_mode
ros::ServiceServer start_srv
double start_time
ros::ServiceServer stop_srv
vector< vector< vector< float > > > total_max_data
vector< vector< vector< float > > > total_min_data
bool training_mode
ros::ServiceServer trig_srv

Detailed Description

Definition at line 23 of file joint_coll_detect.cpp.


Constructor & Destructor Documentation

Definition at line 61 of file joint_coll_detect.cpp.

Definition at line 339 of file joint_coll_detect.cpp.


Member Function Documentation

Definition at line 269 of file joint_coll_detect.cpp.

Definition at line 28 of file joint_coll_detect.cpp.

void pr2_collision_monitor::JointCollDetect::loadAllErrorData ( vector< std::string > &  filename_list) [protected]

Definition at line 318 of file joint_coll_detect.cpp.

void pr2_collision_monitor::JointCollDetect::loadErrorBag ( const std::string &  load_filename,
JointErrorData::Ptr err_data_ptr 
) [protected]

Definition at line 303 of file joint_coll_detect.cpp.

Definition at line 69 of file joint_coll_detect.cpp.

Definition at line 241 of file joint_coll_detect.cpp.

bool pr2_collision_monitor::JointCollDetect::srvStopDetection ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Response &   
) [protected]

Definition at line 246 of file joint_coll_detect.cpp.

bool pr2_collision_monitor::JointCollDetect::srvTriggerCollision ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
) [protected]

Definition at line 264 of file joint_coll_detect.cpp.

bool pr2_collision_monitor::JointCollDetect::startDetection ( std::string &  behavior,
float  specificity 
) [protected]

Definition at line 154 of file joint_coll_detect.cpp.

Definition at line 220 of file joint_coll_detect.cpp.

Definition at line 251 of file joint_coll_detect.cpp.

Definition at line 294 of file joint_coll_detect.cpp.


Member Data Documentation

Definition at line 34 of file joint_coll_detect.cpp.

Definition at line 34 of file joint_coll_detect.cpp.

Definition at line 41 of file joint_coll_detect.cpp.

Definition at line 36 of file joint_coll_detect.cpp.

Definition at line 39 of file joint_coll_detect.cpp.

Definition at line 39 of file joint_coll_detect.cpp.

Definition at line 34 of file joint_coll_detect.cpp.

Definition at line 56 of file joint_coll_detect.cpp.

Definition at line 37 of file joint_coll_detect.cpp.

Definition at line 40 of file joint_coll_detect.cpp.

Definition at line 57 of file joint_coll_detect.cpp.

Definition at line 38 of file joint_coll_detect.cpp.

Definition at line 38 of file joint_coll_detect.cpp.

Definition at line 36 of file joint_coll_detect.cpp.

Definition at line 32 of file joint_coll_detect.cpp.

Definition at line 33 of file joint_coll_detect.cpp.

Definition at line 36 of file joint_coll_detect.cpp.

Definition at line 58 of file joint_coll_detect.cpp.

Definition at line 37 of file joint_coll_detect.cpp.

Definition at line 58 of file joint_coll_detect.cpp.

Definition at line 42 of file joint_coll_detect.cpp.

Definition at line 42 of file joint_coll_detect.cpp.

Definition at line 36 of file joint_coll_detect.cpp.

Definition at line 58 of file joint_coll_detect.cpp.


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


pr2_collision_monitor
Author(s): Kelsey Hawkins, Advisor: Prof. Charlie Kemp (Healthcare Robotics Lab at Georgia Tech)
autogenerated on Wed Nov 27 2013 11:40:10