Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
nodes
stereo_camera_nodelet.cpp
Go to the documentation of this file.
1
#include <
pluginlib/class_list_macros.h
>
2
#include "
avt_vimba_camera/stereo_camera_nodelet.h
"
3
#include <boost/thread.hpp>
4
5
namespace
avt_vimba_camera
6
{
7
void
StereoCameraNodelet::onInit
()
8
{
9
NODELET_DEBUG
(
"Initializing nodelet..."
);
10
camera_
=
new
StereoCamera
(
getMTNodeHandle
(),
getMTPrivateNodeHandle
());
11
boost::thread stereoThread(&
avt_vimba_camera::StereoCamera::run
,
camera_
);
12
}
13
14
StereoCameraNodelet::~StereoCameraNodelet
()
15
{
16
delete
camera_
;
17
}
18
}
19
20
PLUGINLIB_EXPORT_CLASS
(
avt_vimba_camera::StereoCameraNodelet
,
nodelet::Nodelet
)
avt_vimba_camera::StereoCameraNodelet::onInit
virtual void onInit()
Definition:
stereo_camera_nodelet.cpp:7
nodelet::Nodelet::getMTNodeHandle
ros::NodeHandle & getMTNodeHandle() const
avt_vimba_camera::StereoCamera::run
void run()
Definition:
stereo_camera.cpp:60
avt_vimba_camera::StereoCameraNodelet
Definition:
stereo_camera_nodelet.h:7
nodelet::Nodelet::getMTPrivateNodeHandle
ros::NodeHandle & getMTPrivateNodeHandle() const
nodelet::Nodelet
PLUGINLIB_EXPORT_CLASS
PLUGINLIB_EXPORT_CLASS(image_proc::CropNonZeroNodelet, nodelet::Nodelet)
class_list_macros.h
avt_vimba_camera::StereoCameraNodelet::camera_
StereoCamera * camera_
Definition:
stereo_camera_nodelet.h:13
avt_vimba_camera
Definition:
avt_vimba_api.h:51
avt_vimba_camera::StereoCameraNodelet::~StereoCameraNodelet
virtual ~StereoCameraNodelet()
Definition:
stereo_camera_nodelet.cpp:14
stereo_camera_nodelet.h
avt_vimba_camera::StereoCamera
Definition:
stereo_camera.h:63
NODELET_DEBUG
#define NODELET_DEBUG(...)
avt_vimba_camera
Author(s): Miquel Massot
, Allied Vision Technologies
autogenerated on Mon Jun 10 2019 12:50:39