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

#include <intermittent_image_annotator.h>

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

Public Types

typedef boost::shared_ptr< IntermittentImageAnnotatorPtr
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 IntermittentImageAnnotator ()
 
- 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 void cameraCallback (const sensor_msgs::Image::ConstPtr &image_msg, const sensor_msgs::CameraInfo::ConstPtr &info_msg)
 
virtual bool clearCallback (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
virtual void cloudCallback (const sensor_msgs::PointCloud2::ConstPtr &cloud_msg)
 
virtual void onInit ()
 
virtual void publishCroppedPointCloud (pcl::PointCloud< pcl::PointXYZRGB >::Ptr cloud, const cv::Point3d &A, const cv::Point3d &B, const cv::Point3d &C, const cv::Point3d &D, const Eigen::Affine3d &pose)
 
virtual void rectCallback (const geometry_msgs::PolygonStamped::ConstPtr &rect)
 
virtual bool requestCallback (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
virtual bool shutterCallback (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
virtual void waitForNextImage ()
 
- 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

ros::ServiceServer clear_service_
 
ros::Subscriber cloud_sub_
 
std::string fixed_frame_id_
 
image_transport::Publisher image_pub_
 
image_transport::CameraSubscriber image_sub_
 
bool keep_organized_
 
ros::Time last_publish_time_
 
sensor_msgs::CameraInfo::ConstPtr latest_camera_info_msg_
 
sensor_msgs::PointCloud2::ConstPtr latest_cloud_msg_
 
sensor_msgs::Image::ConstPtr latest_image_msg_
 
tf::TransformListenerlistener_
 
int max_image_buffer_
 
boost::mutex mutex_
 
ros::Publisher pub_cloud_
 
ros::Publisher pub_marker_
 
ros::Publisher pub_pose_
 
ros::Publisher pub_roi_
 
double rate_
 
ros::Subscriber rect_sub_
 
ros::ServiceServer request_service_
 
ros::ServiceServer shutter_service_
 
boost::circular_buffer< SnapshotInformation::Ptrsnapshot_buffer_
 
bool store_pointcloud_
 
- 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 73 of file intermittent_image_annotator.h.

Member Typedef Documentation

Definition at line 76 of file intermittent_image_annotator.h.

Constructor & Destructor Documentation

jsk_pcl_ros::IntermittentImageAnnotator::IntermittentImageAnnotator ( )
inline

Definition at line 77 of file intermittent_image_annotator.h.

Member Function Documentation

void jsk_pcl_ros::IntermittentImageAnnotator::cameraCallback ( const sensor_msgs::Image::ConstPtr &  image_msg,
const sensor_msgs::CameraInfo::ConstPtr &  info_msg 
)
protectedvirtual

Definition at line 288 of file intermittent_image_annotator_nodelet.cpp.

bool jsk_pcl_ros::IntermittentImageAnnotator::clearCallback ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
protectedvirtual

Definition at line 416 of file intermittent_image_annotator_nodelet.cpp.

void jsk_pcl_ros::IntermittentImageAnnotator::cloudCallback ( const sensor_msgs::PointCloud2::ConstPtr &  cloud_msg)
protectedvirtual

Definition at line 281 of file intermittent_image_annotator_nodelet.cpp.

void jsk_pcl_ros::IntermittentImageAnnotator::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 47 of file intermittent_image_annotator_nodelet.cpp.

void jsk_pcl_ros::IntermittentImageAnnotator::publishCroppedPointCloud ( pcl::PointCloud< pcl::PointXYZRGB >::Ptr  cloud,
const cv::Point3d &  A,
const cv::Point3d &  B,
const cv::Point3d &  C,
const cv::Point3d &  D,
const Eigen::Affine3d &  pose 
)
protectedvirtual

Definition at line 224 of file intermittent_image_annotator_nodelet.cpp.

void jsk_pcl_ros::IntermittentImageAnnotator::rectCallback ( const geometry_msgs::PolygonStamped::ConstPtr &  rect)
protectedvirtual

Definition at line 103 of file intermittent_image_annotator_nodelet.cpp.

bool jsk_pcl_ros::IntermittentImageAnnotator::requestCallback ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
protectedvirtual

Definition at line 425 of file intermittent_image_annotator_nodelet.cpp.

bool jsk_pcl_ros::IntermittentImageAnnotator::shutterCallback ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
protectedvirtual

Definition at line 332 of file intermittent_image_annotator_nodelet.cpp.

void jsk_pcl_ros::IntermittentImageAnnotator::subscribe ( )
protectedvirtual
void jsk_pcl_ros::IntermittentImageAnnotator::unsubscribe ( )
protectedvirtual
void jsk_pcl_ros::IntermittentImageAnnotator::waitForNextImage ( )
protectedvirtual

Definition at line 317 of file intermittent_image_annotator_nodelet.cpp.

Member Data Documentation

ros::ServiceServer jsk_pcl_ros::IntermittentImageAnnotator::clear_service_
protected

Definition at line 121 of file intermittent_image_annotator.h.

ros::Subscriber jsk_pcl_ros::IntermittentImageAnnotator::cloud_sub_
protected

Definition at line 119 of file intermittent_image_annotator.h.

std::string jsk_pcl_ros::IntermittentImageAnnotator::fixed_frame_id_
protected

Definition at line 136 of file intermittent_image_annotator.h.

image_transport::Publisher jsk_pcl_ros::IntermittentImageAnnotator::image_pub_
protected

Definition at line 115 of file intermittent_image_annotator.h.

image_transport::CameraSubscriber jsk_pcl_ros::IntermittentImageAnnotator::image_sub_
protected

Definition at line 116 of file intermittent_image_annotator.h.

bool jsk_pcl_ros::IntermittentImageAnnotator::keep_organized_
protected

Definition at line 131 of file intermittent_image_annotator.h.

ros::Time jsk_pcl_ros::IntermittentImageAnnotator::last_publish_time_
protected

Definition at line 114 of file intermittent_image_annotator.h.

sensor_msgs::CameraInfo::ConstPtr jsk_pcl_ros::IntermittentImageAnnotator::latest_camera_info_msg_
protected

Definition at line 128 of file intermittent_image_annotator.h.

sensor_msgs::PointCloud2::ConstPtr jsk_pcl_ros::IntermittentImageAnnotator::latest_cloud_msg_
protected

Definition at line 129 of file intermittent_image_annotator.h.

sensor_msgs::Image::ConstPtr jsk_pcl_ros::IntermittentImageAnnotator::latest_image_msg_
protected

Definition at line 127 of file intermittent_image_annotator.h.

tf::TransformListener* jsk_pcl_ros::IntermittentImageAnnotator::listener_
protected

Definition at line 112 of file intermittent_image_annotator.h.

int jsk_pcl_ros::IntermittentImageAnnotator::max_image_buffer_
protected

Definition at line 135 of file intermittent_image_annotator.h.

boost::mutex jsk_pcl_ros::IntermittentImageAnnotator::mutex_
protected

Definition at line 117 of file intermittent_image_annotator.h.

ros::Publisher jsk_pcl_ros::IntermittentImageAnnotator::pub_cloud_
protected

Definition at line 126 of file intermittent_image_annotator.h.

ros::Publisher jsk_pcl_ros::IntermittentImageAnnotator::pub_marker_
protected

Definition at line 125 of file intermittent_image_annotator.h.

ros::Publisher jsk_pcl_ros::IntermittentImageAnnotator::pub_pose_
protected

Definition at line 123 of file intermittent_image_annotator.h.

ros::Publisher jsk_pcl_ros::IntermittentImageAnnotator::pub_roi_
protected

Definition at line 124 of file intermittent_image_annotator.h.

double jsk_pcl_ros::IntermittentImageAnnotator::rate_
protected

Definition at line 113 of file intermittent_image_annotator.h.

ros::Subscriber jsk_pcl_ros::IntermittentImageAnnotator::rect_sub_
protected

Definition at line 118 of file intermittent_image_annotator.h.

ros::ServiceServer jsk_pcl_ros::IntermittentImageAnnotator::request_service_
protected

Definition at line 122 of file intermittent_image_annotator.h.

ros::ServiceServer jsk_pcl_ros::IntermittentImageAnnotator::shutter_service_
protected

Definition at line 120 of file intermittent_image_annotator.h.

boost::circular_buffer<SnapshotInformation::Ptr> jsk_pcl_ros::IntermittentImageAnnotator::snapshot_buffer_
protected

Definition at line 137 of file intermittent_image_annotator.h.

bool jsk_pcl_ros::IntermittentImageAnnotator::store_pointcloud_
protected

Definition at line 130 of file intermittent_image_annotator.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:48