stereocamera.h
Go to the documentation of this file.
1 #include <boost/thread.hpp>
2 
3 #include <ros/ros.h>
4 #include <ros/time.h>
5 
6 #include "uvc_cam/uvc_cam.h"
7 #include "sensor_msgs/Image.h"
9 #include "sensor_msgs/CameraInfo.h"
12 
13 namespace uvc_camera {
14 
15 class StereoCamera {
16  public:
17  StereoCamera(ros::NodeHandle comm_nh, ros::NodeHandle param_nh);
18  void onInit();
19  void sendInfo(ros::Time time);
20  void feedImages();
21  ~StereoCamera();
22 
23  private:
26  bool ok;
27 
32 
34 
37 
38  boost::thread image_thread;
39 };
40 
41 };
42 
camera_info_manager::CameraInfoManager left_info_mgr
Definition: stereocamera.h:33
image_transport::Publisher right_pub
Definition: stereocamera.h:35
StereoCamera(ros::NodeHandle comm_nh, ros::NodeHandle param_nh)
Definition: stereo.cpp:50
boost::thread image_thread
Definition: stereocamera.h:38
void sendInfo(ros::Time time)
Definition: stereo.cpp:182
image_transport::ImageTransport it
Definition: stereocamera.h:25
ros::Publisher left_info_pub
Definition: stereocamera.h:36
ros::Publisher right_info_pub
Definition: stereocamera.h:36
image_transport::Publisher left_pub
Definition: stereocamera.h:35
ros::NodeHandle pnode
Definition: stereocamera.h:24
ros::NodeHandle node
Definition: stereocamera.h:24
uvc_cam::Cam * cam_left
Definition: stereocamera.h:28
camera_info_manager::CameraInfoManager right_info_mgr
Definition: stereocamera.h:33
uvc_cam::Cam * cam_right
Definition: stereocamera.h:28


uvc_camera
Author(s): Ken Tossell
autogenerated on Sat Jun 8 2019 17:54:12