19 CStereoGrabber_Bumblebee_libdc1394::CStereoGrabber_Bumblebee_libdc1394(
21 : m_firewire_capture(nullptr), m_bInitialized(false)
27 opt1394.deinterlace_stereo =
true;
29 std::map<double, grabber_dc1394_framerate_t> Rs;
39 if (Rs.find(frameRate) != Rs.end())
40 opt1394.framerate = Rs[frameRate];
42 cerr <<
"[CStereoGrabber_Bumblebee_libdc1394] Ignoring unknown " 50 cerr <<
"[CStereoGrabber_Bumblebee] The camera couldn't be open" 76 cerr <<
"[CStereoGrabber_Bumblebee] The camera couldn't be open" mrpt::hwdrivers::CImageGrabber_dc1394 * m_firewire_capture
The actual capture object used in Linux / Mac.
Options used when creating an dc1394 capture object All but the frame size, framerate, and color_coding can be changed dynamically by CImageGrabber_dc1394::changeCaptureOptions.
unsigned __int16 uint16_t
bool isOpen() const
Check whether the camera has been open successfully.
Contains classes for various device interfaces.
bool getObservation(mrpt::obs::CObservationImage &out_observation)
Grab an image from the opened camera (for monocular cameras).
virtual ~CStereoGrabber_Bumblebee_libdc1394(void)
Destructor.
A class for grabing images from a IEEE1394 (Firewire) camera using the libdc1394-2 library...
bool getStereoObservation(mrpt::obs::CObservationStereoImages &out_observation)
Grab stereo images, and return the pair of rectified images.
Observation class for either a pair of left+right or left+disparity images from a stereo camera...
This namespace contains representation of robot actions and observations.
unsigned __int64 uint64_t
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
int mode7
-1: Normal mode, i>=0: use MODE7_i, then frame_width/height and color_coding are ignored.