Go to the documentation of this file.
10 #ifndef CDUO3DCamera_H
11 #define CDUO3DCamera_H
85 const std::string & sectionName,
86 const std::string & prefix = std::string() );
88 TYMLReadResult m_camera_int_params_from_yml(
const std::string & _file_name = std::string() );
89 TYMLReadResult m_camera_ext_params_from_yml(
const std::string & _file_name = std::string() );
90 TYMLReadResult m_rectify_map_from_yml(
const std::string & _file_name = std::string() );
172 void getObservations(
176 bool & there_is_imu );
182 inline void*
getEvent() {
return this->m_evFrame; }
185 inline void setDataFrame(
void* frame ) { this->m_pframe_data = frame; }
189 bool queryVersion(std::string version,
bool printOutVersion =
false);
192 void * m_get_duo_frame();
195 bool m_open_duo_camera(
int width,
int height,
float fps);
198 void m_close_duo_camera();
201 void m_set_exposure(
float value);
204 void m_set_gain(
float value);
207 void m_set_led(
float value);
std::string m_intrinsic_filename
Intrinsic parameters file provided by DUO3D Calibration App (YML format).
std::string m_extrinsic_filename
Extrinsic parameters file provided by DUO3D Calibration App (YML format).
void * getEvent()
Returned pointer to be reinterpreted as DUO3D's "HANDLE".
This "software driver" implements the communication protocol for interfacing a DUO3D Stereo Camera.
Structure to hold the parameters of a pinhole stereo camera model.
float m_fps
(Default = 30) Frames per second <= 30.
void setDataFrame(void *frame)
frame is a reinterpreted PDUOFrame
TCaptureOptions_DUO3D m_options
void * m_pframe_data
Pointer, to be reinterpreted as "PDUOFrame".
std::string m_rectify_map_filename
Rectification map file provided by DUO3D Calibration App (YML format).
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
int m_img_height
(Default = 480) Height of the captured image.
Options used when creating a camera capture object of type CImageGrabber_FlyCapture2.
void * m_duo
Opaque pointer to DUO's DUOInstance.
This class stores measurements from an Inertial Measurement Unit (IMU) (attitude estimation,...
Use this class to rectify stereo images if the same distortion maps are reused over and over again.
bool captureIMUIsSet()
Indicates if the camera is grabbing IMU data.
const TCaptureOptions_DUO3D & getCameraOptions() const
Returns the current settings of the camera.
#define MRPT_MAKE_ALIGNED_OPERATOR_NEW
bool m_capture_imu
(Default = false) Capture IMU data.
int m_img_width
(Default = 640) Width of the captured image.
This class allows loading and storing values and vectors of different types from a configuration text...
float m_led
(Default = 25) Led intensity (some device models).
The base class of classes that cannot be copied: compile-time errors will be issued on any copy opera...
float m_gain
(Default = 10) Camera gain.
float m_exposure
(Default = 50) Exposure value.
bool m_calibration_from_file
(Default = true) Get calibration information from files provided by DUO3D Calibration App.
bool m_capture_rectified
(Default = true) Rectify images. Rectification map must be provided
void * m_evFrame
DUO's HANDLE.
Observation class for either a pair of left+right or left+disparity images from a stereo camera.
mrpt::utils::TStereoCamera m_stereo_camera
mrpt::vision::CStereoRectifyMap m_rectify_map
Page generated by Doxygen 1.8.17 for MRPT 1.4.0 SVN: at Sat Jan 18 22:37:07 UTC 2020 | | |