Grabs from a "Bumblebee" or "Bumblebee2" stereo camera using raw access to the libdc1394 library.
Only raw, unrectified images can be captured with this class, which can be manually rectified given correct calibration parameters.
See mrpt::hwdrivers::CStereoGrabber_Bumblebee for another class capable of live capture of rectified images using the vendor (PointGreyResearch) Triclops API.
Once connected to a camera, you can call getStereoObservation()
to retrieve the stereo images.
Definition at line 34 of file CStereoGrabber_Bumblebee_libdc1394.h.
#include <mrpt/hwdrivers/CStereoGrabber_Bumblebee_libdc1394.h>
Public Member Functions | |
CStereoGrabber_Bumblebee_libdc1394 (uint64_t cameraGUID, uint16_t cameraUnit, double frameRate) | |
Constructor. More... | |
virtual | ~CStereoGrabber_Bumblebee_libdc1394 (void) |
Destructor. More... | |
bool | getStereoObservation (mrpt::obs::CObservationStereoImages &out_observation) |
Grab stereo images, and return the pair of rectified images. More... | |
Protected Attributes | |
mrpt::hwdrivers::CImageGrabber_dc1394 * | m_firewire_capture |
The actual capture object used in Linux / Mac. More... | |
bool | m_bInitialized |
If this has been correctly initiated. More... | |
CStereoGrabber_Bumblebee_libdc1394::CStereoGrabber_Bumblebee_libdc1394 | ( | uint64_t | cameraGUID, |
uint16_t | cameraUnit, | ||
double | frameRate | ||
) |
Constructor.
Parameters have the same meaning as in CImageGrabber_dc1394::CImageGrabber_dc1394()
Definition at line 19 of file CStereoGrabber_Bumblebee_libdc1394.cpp.
References mrpt::hwdrivers::FRAMERATE_120, mrpt::hwdrivers::FRAMERATE_15, mrpt::hwdrivers::FRAMERATE_1_875, mrpt::hwdrivers::FRAMERATE_240, mrpt::hwdrivers::FRAMERATE_30, mrpt::hwdrivers::FRAMERATE_3_75, mrpt::hwdrivers::FRAMERATE_60, mrpt::hwdrivers::FRAMERATE_7_5, mrpt::hwdrivers::CImageGrabber_dc1394::isOpen(), m_firewire_capture, mrpt::hwdrivers::TCaptureOptions_dc1394::mode7, MRPT_TRY_END, and MRPT_TRY_START.
|
virtual |
Destructor.
Definition at line 54 of file CStereoGrabber_Bumblebee_libdc1394.cpp.
References m_firewire_capture.
bool CStereoGrabber_Bumblebee_libdc1394::getStereoObservation | ( | mrpt::obs::CObservationStereoImages & | out_observation | ) |
Grab stereo images, and return the pair of rectified images.
out_observation | The object to be filled with sensed data. |
Definition at line 66 of file CStereoGrabber_Bumblebee_libdc1394.cpp.
References mrpt::hwdrivers::CImageGrabber_dc1394::getObservation(), mrpt::hwdrivers::CImageGrabber_dc1394::isOpen(), and m_firewire_capture.
|
protected |
If this has been correctly initiated.
Definition at line 56 of file CStereoGrabber_Bumblebee_libdc1394.h.
|
protected |
The actual capture object used in Linux / Mac.
Definition at line 54 of file CStereoGrabber_Bumblebee_libdc1394.h.
Referenced by CStereoGrabber_Bumblebee_libdc1394(), getStereoObservation(), and ~CStereoGrabber_Bumblebee_libdc1394().
Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |