mono_camera.h
Go to the documentation of this file.
1 
33 #ifndef MONO_CAMERA_H
34 #define MONO_CAMERA_H
35 
37 #include <avt_vimba_camera/AvtVimbaCameraConfig.h>
39 
40 #include <ros/ros.h>
41 #include <sensor_msgs/Image.h>
42 #include <sensor_msgs/CameraInfo.h>
45 #include <dynamic_reconfigure/server.h>
46 
47 #include <string>
48 
49 namespace avt_vimba_camera {
50 class MonoCamera {
51  public:
53  ~MonoCamera(void);
54 
55  private:
58 
59  // diagnostic_updater::Updater updater_;
60  // diagnostic_updater::TopicDiagnostic* pub_freq_;
61 
64 
65  std::string ip_;
66  std::string guid_;
67  std::string camera_info_url_;
69 
71  // ROS Camera publisher
73 
74 
75 
76  // sensor_msgs::CameraInfo left_info_;
78 
79  // Dynamic reconfigure
80  typedef avt_vimba_camera::AvtVimbaCameraConfig Config;
81  typedef dynamic_reconfigure::Server<Config> ReconfigureServer;
82  ReconfigureServer reconfigure_server_;
83 
84  // Camera configuration
86 
87  void frameCallback(const FramePtr& vimba_frame_ptr);
88  void configure(Config& newconfig, uint32_t level);
89  void updateCameraInfo(const Config& config);
90 };
91 }
92 #endif
void configure(Config &newconfig, uint32_t level)
Definition: mono_camera.cpp:97
ReconfigureServer reconfigure_server_
Definition: mono_camera.h:82
boost::shared_ptr< camera_info_manager::CameraInfoManager > info_man_
Definition: mono_camera.h:77
NetPointer< Frame, AVT::VmbAPINET::Frame > FramePtr
image_transport::ImageTransport it_
Definition: mono_camera.h:70
avt_vimba_camera::AvtVimbaCameraConfig Config
Definition: mono_camera.h:80
MonoCamera(ros::NodeHandle nh, ros::NodeHandle nhp)
Definition: mono_camera.cpp:39
image_transport::CameraPublisher pub_
Definition: mono_camera.h:72
void updateCameraInfo(const Config &config)
void frameCallback(const FramePtr &vimba_frame_ptr)
Definition: mono_camera.cpp:72
dynamic_reconfigure::Server< Config > ReconfigureServer
Definition: mono_camera.h:81


avt_vimba_camera
Author(s): Miquel Massot , Allied Vision Technologies
autogenerated on Wed Jun 5 2019 22:22:40