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 Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 CollisionDetector ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

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 Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
- Protected Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

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_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Detailed Description

Definition at line 54 of file collision_detector.h.

Member Typedef Documentation

Definition at line 57 of file collision_detector.h.

Constructor & Destructor Documentation

jsk_pcl_ros::CollisionDetector::CollisionDetector ( )
inline

Definition at line 58 of file collision_detector.h.

Member Function Documentation

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.

void jsk_pcl_ros::CollisionDetector::initSelfMask ( )
protectedvirtual

Definition at line 60 of file collision_detector_nodelet.cpp.

void jsk_pcl_ros::CollisionDetector::onInit ( void  )
protectedvirtual

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)
protectedvirtual

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 
)
protectedvirtual

Definition at line 134 of file collision_detector_nodelet.cpp.

void jsk_pcl_ros::CollisionDetector::subscribe ( )
protectedvirtual
void jsk_pcl_ros::CollisionDetector::unsubscribe ( )
protectedvirtual

Member Data Documentation

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.

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

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.

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

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.

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

Definition at line 81 of file collision_detector.h.

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

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.


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


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:47