#include <force_torque_monitor.h>
Public Member Functions | |
virtual void | onInit () |
void | startDetection () |
void | stopDetection () |
Protected Member Functions | |
void | checkCollision (geometry_msgs::Vector3Stamped::ConstPtr message) |
void | endCollision (const ros::TimerEvent &event) |
void | saveCollision (pr2_overhead_grasping::SensorPoint::ConstPtr message) |
bool | srvStartDetection (pr2_overhead_grasping::StartFTDetect::Request &, pr2_overhead_grasping::StartFTDetect::Response &) |
bool | srvStopDetection (std_srvs::Empty::Request &, std_srvs::Empty::Response &) |
Protected Attributes | |
ros::Publisher | coll_pub |
bool | collision_detected |
double | collision_time |
double | delay_time |
ros::Timer | delay_timer |
ros::Publisher | detect_pub |
ros::Subscriber | ft_sub |
bool | is_collision |
int | label |
ros::Subscriber | sf_sub |
ros::ServiceServer | start_srv |
ros::ServiceServer | stop_srv |
int | traj_ind |
double | z_thresh |
Definition at line 13 of file force_torque_monitor.h.
void collision_detection::ForceTorqueMonitor::checkCollision | ( | geometry_msgs::Vector3Stamped::ConstPtr | message | ) | [protected] |
Definition at line 42 of file force_torque_monitor.cpp.
void collision_detection::ForceTorqueMonitor::endCollision | ( | const ros::TimerEvent & | event | ) | [protected] |
Definition at line 56 of file force_torque_monitor.cpp.
void collision_detection::ForceTorqueMonitor::onInit | ( | ) | [virtual] |
Implements nodelet::Nodelet.
Definition at line 7 of file force_torque_monitor.cpp.
void collision_detection::ForceTorqueMonitor::saveCollision | ( | pr2_overhead_grasping::SensorPoint::ConstPtr | message | ) | [protected] |
Definition at line 63 of file force_torque_monitor.cpp.
bool collision_detection::ForceTorqueMonitor::srvStartDetection | ( | pr2_overhead_grasping::StartFTDetect::Request & | req, |
pr2_overhead_grasping::StartFTDetect::Response & | resp | ||
) | [protected] |
Definition at line 91 of file force_torque_monitor.cpp.
bool collision_detection::ForceTorqueMonitor::srvStopDetection | ( | std_srvs::Empty::Request & | , |
std_srvs::Empty::Response & | |||
) | [protected] |
Definition at line 98 of file force_torque_monitor.cpp.
Definition at line 81 of file force_torque_monitor.cpp.
Definition at line 85 of file force_torque_monitor.cpp.
Definition at line 34 of file force_torque_monitor.h.
Definition at line 26 of file force_torque_monitor.h.
double collision_detection::ForceTorqueMonitor::collision_time [protected] |
Definition at line 23 of file force_torque_monitor.h.
double collision_detection::ForceTorqueMonitor::delay_time [protected] |
Definition at line 24 of file force_torque_monitor.h.
Definition at line 29 of file force_torque_monitor.h.
Definition at line 35 of file force_torque_monitor.h.
Definition at line 36 of file force_torque_monitor.h.
Definition at line 27 of file force_torque_monitor.h.
int collision_detection::ForceTorqueMonitor::label [protected] |
Definition at line 25 of file force_torque_monitor.h.
Definition at line 37 of file force_torque_monitor.h.
Definition at line 38 of file force_torque_monitor.h.
Definition at line 39 of file force_torque_monitor.h.
int collision_detection::ForceTorqueMonitor::traj_ind [protected] |
Definition at line 28 of file force_torque_monitor.h.
double collision_detection::ForceTorqueMonitor::z_thresh [protected] |
Definition at line 22 of file force_torque_monitor.h.