driver.h
Go to the documentation of this file.
1 // Copyright [2015] Takashi Ogura<t.ogura@gmail.com>
2 
3 #ifndef CV_CAMERA_DRIVER_H
4 #define CV_CAMERA_DRIVER_H
5 
6 #include "cv_camera/capture.h"
7 
8 namespace cv_camera
9 {
10 
16 class Driver
17 {
18  public:
28  Driver(ros::NodeHandle& private_node,
29  ros::NodeHandle& camera_node);
30  ~Driver();
31 
37  void setup();
41  void proceed();
42  private:
55 
60 };
61 
62 } // namespace cv_camera
63 
64 #endif // CV_CAMERA_DRIVER_H
boost::shared_ptr< ros::Rate > rate_
publishing rate.
Definition: driver.h:59
ros::NodeHandle camera_node_
ROS private node for publishing images.
Definition: driver.h:50
ros::NodeHandle private_node_
ROS private node for getting ROS parameters.
Definition: driver.h:46
Driver(ros::NodeHandle &private_node, ros::NodeHandle &camera_node)
construct with ROS node handles.
Definition: driver.cpp:15
namespace of this package
Definition: capture.h:20
void proceed()
Capture, publish and sleep.
Definition: driver.cpp:100
ROS cv camera driver.
Definition: driver.h:16
boost::shared_ptr< Capture > camera_
wrapper of cv::VideoCapture.
Definition: driver.h:54
void setup()
Setup camera device and ROS parameters.
Definition: driver.cpp:21


cv_camera
Author(s): Takashi Ogura
autogenerated on Fri May 10 2019 02:14:17