bumblebee2.h
Go to the documentation of this file.
1 #pragma once
2 #include <ros/ros.h>
3 #include <ros/publisher.h>
4 #include <flycapture/FlyCapture2.h>
5 #include <image_transport/image_transport.h>
6 #include <camera_info_manager/camera_info_manager.h>
7 
8 class Bumblebee2
9 {
10 public:
11  Bumblebee2(ros::NodeHandle &handle, std::string path);
12 
13  ~Bumblebee2();
14 
15  bool isOpen();
16 
17 private:
18 
19  void startCamera();
20 
21  void closeCamera();
22 
23  FlyCapture2::Camera _cam;
24 
25  image_transport::ImageTransport _it;
26  image_transport::Publisher _left_pub;
27  image_transport::Publisher _right_pub;
28  ros::Publisher _leftInfo_pub;
29  ros::Publisher _rightInfo_pub;
30 
31  camera_info_manager::CameraInfoManager cameraManagerLeft;
32  camera_info_manager::CameraInfoManager cameraManagerRight;
33 
34  static void ProcessFrame(FlyCapture2::Image* rawImage, const void* callbackData);
35 };
bool isOpen()
Definition: bumblebee2.cpp:41
action_pathConstPtr path
FlyCapture2::Camera _cam
Definition: bumblebee2.h:23
void closeCamera()
Definition: bumblebee2.cpp:131
ros::Publisher _rightInfo_pub
Definition: bumblebee2.h:29
Bumblebee2(ros::NodeHandle &handle, std::string path)
Definition: bumblebee2.cpp:11
camera_info_manager::CameraInfoManager cameraManagerRight
Definition: bumblebee2.h:32
image_transport::ImageTransport _it
Definition: bumblebee2.h:25
static void ProcessFrame(FlyCapture2::Image *rawImage, const void *callbackData)
Definition: bumblebee2.cpp:148
image_transport::Publisher _right_pub
Definition: bumblebee2.h:27
void startCamera()
Definition: bumblebee2.cpp:46
image_transport::Publisher _left_pub
Definition: bumblebee2.h:26
ros::Publisher _leftInfo_pub
Definition: bumblebee2.h:28
camera_info_manager::CameraInfoManager cameraManagerLeft
Definition: bumblebee2.h:31


igvc
Author(s): Matthew Barulic , Al Chaussee
autogenerated on Sun May 10 2015 16:18:45