#include <collision_detector.h>
Public Types | |
typedef boost::shared_ptr < CollisionDetector > | Ptr |
Public Member Functions | |
CollisionDetector () | |
Protected Member Functions | |
virtual bool | checkCollision (const sensor_msgs::JointState &joint, const geometry_msgs::PoseStamped &pose) |
virtual void | initSelfMask () |
virtual void | onInit () |
virtual void | pointcloudCallback (const sensor_msgs::PointCloud2::ConstPtr &msg) |
virtual bool | serviceCallback (jsk_recognition_msgs::CheckCollision::Request &req, jsk_recognition_msgs::CheckCollision::Response &res) |
virtual void | subscribe () |
virtual void | unsubscribe () |
Protected Attributes | |
pcl::PointCloud< pcl::PointXYZ > | cloud_ |
std::string | cloud_frame_id_ |
ros::Time | cloud_stamp_ |
boost::mutex | mutex_ |
boost::shared_ptr < robot_self_filter::SelfMaskUrdfRobot > | self_mask_ |
ros::ServiceServer | service_ |
ros::Subscriber | sub_ |
tf::TransformBroadcaster | tf_broadcaster_ |
tf::TransformListener | tf_listener_ |
std::string | world_frame_id_ |
Definition at line 54 of file collision_detector.h.
typedef boost::shared_ptr<CollisionDetector> jsk_pcl_ros::CollisionDetector::Ptr |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 57 of file collision_detector.h.
jsk_pcl_ros::CollisionDetector::CollisionDetector | ( | ) | [inline] |
Definition at line 58 of file collision_detector.h.
bool jsk_pcl_ros::CollisionDetector::checkCollision | ( | const sensor_msgs::JointState & | joint, |
const geometry_msgs::PoseStamped & | pose | ||
) | [protected, virtual] |
Definition at line 143 of file collision_detector_nodelet.cpp.
void jsk_pcl_ros::CollisionDetector::initSelfMask | ( | ) | [protected, virtual] |
Definition at line 60 of file collision_detector_nodelet.cpp.
void jsk_pcl_ros::CollisionDetector::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 42 of file collision_detector_nodelet.cpp.
void jsk_pcl_ros::CollisionDetector::pointcloudCallback | ( | const sensor_msgs::PointCloud2::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 124 of file collision_detector_nodelet.cpp.
bool jsk_pcl_ros::CollisionDetector::serviceCallback | ( | jsk_recognition_msgs::CheckCollision::Request & | req, |
jsk_recognition_msgs::CheckCollision::Response & | res | ||
) | [protected, virtual] |
Definition at line 134 of file collision_detector_nodelet.cpp.
void jsk_pcl_ros::CollisionDetector::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 52 of file collision_detector_nodelet.cpp.
void jsk_pcl_ros::CollisionDetector::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 56 of file collision_detector_nodelet.cpp.
pcl::PointCloud<pcl::PointXYZ> jsk_pcl_ros::CollisionDetector::cloud_ [protected] |
Definition at line 79 of file collision_detector.h.
std::string jsk_pcl_ros::CollisionDetector::cloud_frame_id_ [protected] |
Definition at line 76 of file collision_detector.h.
Definition at line 78 of file collision_detector.h.
boost::mutex jsk_pcl_ros::CollisionDetector::mutex_ [protected] |
Definition at line 71 of file collision_detector.h.
boost::shared_ptr<robot_self_filter::SelfMaskUrdfRobot> jsk_pcl_ros::CollisionDetector::self_mask_ [protected] |
Definition at line 77 of file collision_detector.h.
Definition at line 73 of file collision_detector.h.
ros::Subscriber jsk_pcl_ros::CollisionDetector::sub_ [protected] |
Definition at line 72 of file collision_detector.h.
Definition at line 81 of file collision_detector.h.
Definition at line 80 of file collision_detector.h.
std::string jsk_pcl_ros::CollisionDetector::world_frame_id_ [protected] |
Definition at line 75 of file collision_detector.h.