#include <rgbd_image_transport.h>
Public Member Functions | |
RgbdCameraPublisher | advertiseRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, const std::string &pcl_topic, size_t queue_size, bool latch=false) |
Advertise a synchronized RGBD camera raw image + info topic pair and pointcloud, simple version. More... | |
RgbdCameraPublisher | advertiseRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, const std::string &pcl_topic, size_t queue_size, const image_transport::SubscriberStatusCallback &rgb_connect_cb, const image_transport::SubscriberStatusCallback &rgb_disconnect_cb=image_transport::SubscriberStatusCallback(), const image_transport::SubscriberStatusCallback &depth_connect_cb=image_transport::SubscriberStatusCallback(), const image_transport::SubscriberStatusCallback &depth_disconnect_cb=image_transport::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &pcl_connect_cb=ros::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &pcl_disconnect_cb=ros::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &rgb_info_connect_cb=ros::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &rgb_info_disconnect_cb=ros::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &depth_info_connect_cb=ros::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &depth_info_disconnect_cb=ros::SubscriberStatusCallback(), const ros::VoidPtr &tracked_object=ros::VoidPtr(), bool latch=false) |
Advertise a synchronized RGBD camera raw image + info topic pair and pointcloud with subscriber status callbacks. More... | |
RgbdCameraPublisher | advertiseRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, size_t queue_size, bool latch=false) |
Advertise a synchronized RGBD camera raw image + info topic pair, simple version. More... | |
RgbdCameraPublisher | advertiseRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, size_t queue_size, const image_transport::SubscriberStatusCallback &rgb_connect_cb, const image_transport::SubscriberStatusCallback &rgb_disconnect_cb=image_transport::SubscriberStatusCallback(), const image_transport::SubscriberStatusCallback &depth_connect_cb=image_transport::SubscriberStatusCallback(), const image_transport::SubscriberStatusCallback &depth_disconnect_cb=image_transport::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &rgb_info_connect_cb=ros::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &rgb_info_disconnect_cb=ros::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &depth_info_connect_cb=ros::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &depth_info_disconnect_cb=ros::SubscriberStatusCallback(), const ros::VoidPtr &tracked_object=ros::VoidPtr(), bool latch=false) |
Advertise a synchronized RGBD camera raw image + info topic pair with subscriber status callbacks. More... | |
RgbdImageTransport (const ros::NodeHandle &rgbNh, const ros::NodeHandle &depthNh) | |
RgbdImageTransport (const ros::NodeHandle &rgbNh, const ros::NodeHandle &depthNh, const ros::NodeHandle &pclNh) | |
RgbdCameraSubscriber | subscribeRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, const std::string &pcl_topic, size_t queue_size, const RgbdCameraSubscriber::PclCallback &callback, const ros::VoidPtr &tracked_object=ros::VoidPtr(), const image_transport::TransportHints &transport_hints_rgb=image_transport::TransportHints(), const image_transport::TransportHints &transport_hints_depth=image_transport::TransportHints(), const ros::TransportHints &transport_hints_pcl=ros::TransportHints()) |
Subscribe to a synchronized image & camera info topic pair, version for arbitrary boost::function object. More... | |
RgbdCameraSubscriber | subscribeRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, const std::string &pcl_topic, size_t queue_size, void(*fp)(const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &, const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &, const sensor_msgs::PointCloud2ConstPtr &), const image_transport::TransportHints &transport_hints_rgb=image_transport::TransportHints(), const image_transport::TransportHints &transport_hints_depth=image_transport::TransportHints(), const ros::TransportHints &transport_hints_pcl=ros::TransportHints()) |
Subscribe to a synchronized image & camera info topic pair, version for bare function. More... | |
template<class T > | |
RgbdCameraSubscriber | subscribeRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, const std::string &pcl_topic, size_t queue_size, void(T::*fp)(const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &, const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &, const sensor_msgs::PointCloud2ConstPtr &), const boost::shared_ptr< T > &obj, const image_transport::TransportHints &transport_hints_rgb=image_transport::TransportHints(), const image_transport::TransportHints &transport_hints_depth=image_transport::TransportHints(), const ros::TransportHints &transport_hints_pcl=ros::TransportHints()) |
Subscribe to a synchronized image & camera info topic pair, version for class member function with shared_ptr. More... | |
template<class T > | |
RgbdCameraSubscriber | subscribeRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, const std::string &pcl_topic, size_t queue_size, void(T::*fp)(const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &, const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &, const sensor_msgs::PointCloud2ConstPtr &), T *obj, const image_transport::TransportHints &transport_hints_rgb=image_transport::TransportHints(), const image_transport::TransportHints &transport_hints_depth=image_transport::TransportHints(), const ros::TransportHints &transport_hints_pcl=ros::TransportHints()) |
Subscribe to a synchronized image & camera info topic pair, version for class member function with bare pointer. More... | |
RgbdCameraSubscriber | subscribeRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, size_t queue_size, const RgbdCameraSubscriber::Callback &callback, const ros::VoidPtr &tracked_object=ros::VoidPtr(), const image_transport::TransportHints &transport_hints_rgb=image_transport::TransportHints(), const image_transport::TransportHints &transport_hints_depth=image_transport::TransportHints()) |
Subscribe to a synchronized image & camera info topic pair, version for arbitrary boost::function object. More... | |
RgbdCameraSubscriber | subscribeRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, size_t queue_size, void(*fp)(const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &, const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &), const image_transport::TransportHints &transport_hints_rgb=image_transport::TransportHints(), const image_transport::TransportHints &transport_hints_depth=image_transport::TransportHints()) |
Subscribe to a synchronized image & camera info topic pair, version for bare function. More... | |
template<class T > | |
RgbdCameraSubscriber | subscribeRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, size_t queue_size, void(T::*fp)(const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &, const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &), const boost::shared_ptr< T > &obj, const image_transport::TransportHints &transport_hints_rgb=image_transport::TransportHints(), const image_transport::TransportHints &transport_hints_depth=image_transport::TransportHints()) |
Subscribe to a synchronized image & camera info topic pair, version for class member function with shared_ptr. More... | |
template<class T > | |
RgbdCameraSubscriber | subscribeRgbdCamera (const std::string &rgb_base_topic, const std::string &depth_base_topic, size_t queue_size, void(T::*fp)(const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &, const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &), T *obj, const image_transport::TransportHints &transport_hints_rgb=image_transport::TransportHints(), const image_transport::TransportHints &transport_hints_depth=image_transport::TransportHints()) |
Subscribe to a synchronized image & camera info topic pair, version for class member function with bare pointer. More... | |
virtual | ~RgbdImageTransport ()=default |
Public Member Functions inherited from image_transport::ImageTransport | |
Publisher | advertise (const std::string &base_topic, uint32_t queue_size, bool latch=false) |
Publisher | advertise (const std::string &base_topic, uint32_t queue_size, const SubscriberStatusCallback &connect_cb, const SubscriberStatusCallback &disconnect_cb=SubscriberStatusCallback(), const ros::VoidPtr &tracked_object=ros::VoidPtr(), bool latch=false) |
CameraPublisher | advertiseCamera (const std::string &base_topic, uint32_t queue_size, bool latch=false) |
CameraPublisher | advertiseCamera (const std::string &base_topic, uint32_t queue_size, const SubscriberStatusCallback &image_connect_cb, const SubscriberStatusCallback &image_disconnect_cb=SubscriberStatusCallback(), const ros::SubscriberStatusCallback &info_connect_cb=ros::SubscriberStatusCallback(), const ros::SubscriberStatusCallback &info_disconnect_cb=ros::SubscriberStatusCallback(), const ros::VoidPtr &tracked_object=ros::VoidPtr(), bool latch=false) |
std::vector< std::string > | getDeclaredTransports () const |
std::vector< std::string > | getLoadableTransports () const |
ImageTransport (const ros::NodeHandle &nh) | |
Subscriber | subscribe (const std::string &base_topic, uint32_t queue_size, const boost::function< void(const sensor_msgs::ImageConstPtr &)> &callback, const ros::VoidPtr &tracked_object=ros::VoidPtr(), const TransportHints &transport_hints=TransportHints()) |
Subscriber | subscribe (const std::string &base_topic, uint32_t queue_size, void(*fp)(const sensor_msgs::ImageConstPtr &), const TransportHints &transport_hints=TransportHints()) |
Subscriber | subscribe (const std::string &base_topic, uint32_t queue_size, void(T::*fp)(const sensor_msgs::ImageConstPtr &), const boost::shared_ptr< T > &obj, const TransportHints &transport_hints=TransportHints()) |
Subscriber | subscribe (const std::string &base_topic, uint32_t queue_size, void(T::*fp)(const sensor_msgs::ImageConstPtr &), T *obj, const TransportHints &transport_hints=TransportHints()) |
CameraSubscriber | subscribeCamera (const std::string &base_topic, uint32_t queue_size, const CameraSubscriber::Callback &callback, const ros::VoidPtr &tracked_object=ros::VoidPtr(), const TransportHints &transport_hints=TransportHints()) |
CameraSubscriber | subscribeCamera (const std::string &base_topic, uint32_t queue_size, void(*fp)(const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &), const TransportHints &transport_hints=TransportHints()) |
CameraSubscriber | subscribeCamera (const std::string &base_topic, uint32_t queue_size, void(T::*fp)(const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &), const boost::shared_ptr< T > &obj, const TransportHints &transport_hints=TransportHints()) |
CameraSubscriber | subscribeCamera (const std::string &base_topic, uint32_t queue_size, void(T::*fp)(const sensor_msgs::ImageConstPtr &, const sensor_msgs::CameraInfoConstPtr &), T *obj, const TransportHints &transport_hints=TransportHints()) |
~ImageTransport () | |
Protected Attributes | |
ros::NodeHandle | depthNh |
ros::NodeHandle | pclNh |
ros::NodeHandle | rgbNh |
Definition at line 10 of file rgbd_image_transport.h.
camera_throttle::RgbdImageTransport::RgbdImageTransport | ( | const ros::NodeHandle & | rgbNh, |
const ros::NodeHandle & | depthNh | ||
) |
Definition at line 6 of file rgbd_image_transport.cpp.
camera_throttle::RgbdImageTransport::RgbdImageTransport | ( | const ros::NodeHandle & | rgbNh, |
const ros::NodeHandle & | depthNh, | ||
const ros::NodeHandle & | pclNh | ||
) |
Definition at line 10 of file rgbd_image_transport.cpp.
|
virtualdefault |
RgbdCameraPublisher camera_throttle::RgbdImageTransport::advertiseRgbdCamera | ( | const std::string & | rgb_base_topic, |
const std::string & | depth_base_topic, | ||
const std::string & | pcl_topic, | ||
size_t | queue_size, | ||
bool | latch = false |
||
) |
Advertise a synchronized RGBD camera raw image + info topic pair and pointcloud, simple version.
Definition at line 43 of file rgbd_image_transport.cpp.
Advertise a synchronized RGBD camera raw image + info topic pair and pointcloud with subscriber status callbacks.
Definition at line 55 of file rgbd_image_transport.cpp.
RgbdCameraPublisher camera_throttle::RgbdImageTransport::advertiseRgbdCamera | ( | const std::string & | rgb_base_topic, |
const std::string & | depth_base_topic, | ||
size_t | queue_size, | ||
bool | latch = false |
||
) |
Advertise a synchronized RGBD camera raw image + info topic pair, simple version.
Definition at line 14 of file rgbd_image_transport.cpp.
Advertise a synchronized RGBD camera raw image + info topic pair with subscriber status callbacks.
Definition at line 25 of file rgbd_image_transport.cpp.
RgbdCameraSubscriber camera_throttle::RgbdImageTransport::subscribeRgbdCamera | ( | const std::string & | rgb_base_topic, |
const std::string & | depth_base_topic, | ||
const std::string & | pcl_topic, | ||
size_t | queue_size, | ||
const RgbdCameraSubscriber::PclCallback & | callback, | ||
const ros::VoidPtr & | tracked_object = ros::VoidPtr() , |
||
const image_transport::TransportHints & | transport_hints_rgb = image_transport::TransportHints() , |
||
const image_transport::TransportHints & | transport_hints_depth = image_transport::TransportHints() , |
||
const ros::TransportHints & | transport_hints_pcl = ros::TransportHints() |
||
) |
Subscribe to a synchronized image & camera info topic pair, version for arbitrary boost::function object.
This version assumes the standard topic naming scheme, where the info topic is named "camera_info" in the same namespace as the base image topic.
Definition at line 84 of file rgbd_image_transport.cpp.
|
inline |
Subscribe to a synchronized image & camera info topic pair, version for bare function.
Definition at line 145 of file rgbd_image_transport.h.
|
inline |
Subscribe to a synchronized image & camera info topic pair, version for class member function with shared_ptr.
Definition at line 185 of file rgbd_image_transport.h.
|
inline |
Subscribe to a synchronized image & camera info topic pair, version for class member function with bare pointer.
Definition at line 165 of file rgbd_image_transport.h.
RgbdCameraSubscriber camera_throttle::RgbdImageTransport::subscribeRgbdCamera | ( | const std::string & | rgb_base_topic, |
const std::string & | depth_base_topic, | ||
size_t | queue_size, | ||
const RgbdCameraSubscriber::Callback & | callback, | ||
const ros::VoidPtr & | tracked_object = ros::VoidPtr() , |
||
const image_transport::TransportHints & | transport_hints_rgb = image_transport::TransportHints() , |
||
const image_transport::TransportHints & | transport_hints_depth = image_transport::TransportHints() |
||
) |
Subscribe to a synchronized image & camera info topic pair, version for arbitrary boost::function object.
This version assumes the standard topic naming scheme, where the info topic is named "camera_info" in the same namespace as the base image topic.
Definition at line 75 of file rgbd_image_transport.cpp.
|
inline |
Subscribe to a synchronized image & camera info topic pair, version for bare function.
Definition at line 78 of file rgbd_image_transport.h.
|
inline |
Subscribe to a synchronized image & camera info topic pair, version for class member function with shared_ptr.
Definition at line 112 of file rgbd_image_transport.h.
|
inline |
Subscribe to a synchronized image & camera info topic pair, version for class member function with bare pointer.
Definition at line 95 of file rgbd_image_transport.h.
|
protected |
Definition at line 202 of file rgbd_image_transport.h.
|
protected |
Definition at line 203 of file rgbd_image_transport.h.
|
protected |
Definition at line 201 of file rgbd_image_transport.h.