Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros::CollisionDetector Class Reference

#include <collision_detector.h>

Inheritance diagram for jsk_pcl_ros::CollisionDetector:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< CollisionDetectorPtr
 

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::SelfMaskUrdfRobotself_mask_
 
ros::ServiceServer service_
 
ros::Subscriber sub_
 
tf::TransformBroadcaster tf_broadcaster_
 
tf::TransformListener tf_listener_
 
std::string world_frame_id_
 

Detailed Description

Definition at line 86 of file collision_detector.h.

Member Typedef Documentation

◆ Ptr

Definition at line 121 of file collision_detector.h.

Constructor & Destructor Documentation

◆ CollisionDetector()

jsk_pcl_ros::CollisionDetector::CollisionDetector ( )
inline

Definition at line 122 of file collision_detector.h.

Member Function Documentation

◆ checkCollision()

bool jsk_pcl_ros::CollisionDetector::checkCollision ( const sensor_msgs::JointState &  joint,
const geometry_msgs::PoseStamped &  pose 
)
protectedvirtual

Definition at line 143 of file collision_detector_nodelet.cpp.

◆ initSelfMask()

void jsk_pcl_ros::CollisionDetector::initSelfMask ( )
protectedvirtual

Definition at line 60 of file collision_detector_nodelet.cpp.

◆ onInit()

void jsk_pcl_ros::CollisionDetector::onInit ( )
protectedvirtual

Definition at line 42 of file collision_detector_nodelet.cpp.

◆ pointcloudCallback()

void jsk_pcl_ros::CollisionDetector::pointcloudCallback ( const sensor_msgs::PointCloud2::ConstPtr &  msg)
protectedvirtual

Definition at line 124 of file collision_detector_nodelet.cpp.

◆ serviceCallback()

bool jsk_pcl_ros::CollisionDetector::serviceCallback ( jsk_recognition_msgs::CheckCollision::Request &  req,
jsk_recognition_msgs::CheckCollision::Response &  res 
)
protectedvirtual

Definition at line 134 of file collision_detector_nodelet.cpp.

◆ subscribe()

void jsk_pcl_ros::CollisionDetector::subscribe ( )
protectedvirtual

Definition at line 52 of file collision_detector_nodelet.cpp.

◆ unsubscribe()

void jsk_pcl_ros::CollisionDetector::unsubscribe ( )
protectedvirtual

Definition at line 56 of file collision_detector_nodelet.cpp.

Member Data Documentation

◆ cloud_

pcl::PointCloud<pcl::PointXYZ> jsk_pcl_ros::CollisionDetector::cloud_
protected

Definition at line 143 of file collision_detector.h.

◆ cloud_frame_id_

std::string jsk_pcl_ros::CollisionDetector::cloud_frame_id_
protected

Definition at line 140 of file collision_detector.h.

◆ cloud_stamp_

ros::Time jsk_pcl_ros::CollisionDetector::cloud_stamp_
protected

Definition at line 142 of file collision_detector.h.

◆ mutex_

boost::mutex jsk_pcl_ros::CollisionDetector::mutex_
protected

Definition at line 135 of file collision_detector.h.

◆ self_mask_

boost::shared_ptr<robot_self_filter::SelfMaskUrdfRobot> jsk_pcl_ros::CollisionDetector::self_mask_
protected

Definition at line 141 of file collision_detector.h.

◆ service_

ros::ServiceServer jsk_pcl_ros::CollisionDetector::service_
protected

Definition at line 137 of file collision_detector.h.

◆ sub_

ros::Subscriber jsk_pcl_ros::CollisionDetector::sub_
protected

Definition at line 136 of file collision_detector.h.

◆ tf_broadcaster_

tf::TransformBroadcaster jsk_pcl_ros::CollisionDetector::tf_broadcaster_
protected

Definition at line 145 of file collision_detector.h.

◆ tf_listener_

tf::TransformListener jsk_pcl_ros::CollisionDetector::tf_listener_
protected

Definition at line 144 of file collision_detector.h.

◆ world_frame_id_

std::string jsk_pcl_ros::CollisionDetector::world_frame_id_
protected

Definition at line 139 of file collision_detector.h.


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


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Tue Jan 7 2025 04:05:45