MRPT  2.0.1
List of all members | Public Member Functions | Protected Attributes
mrpt::hwdrivers::CStereoGrabber_Bumblebee_libdc1394 Class Reference

Detailed Description

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.

See also
You'll probably want to use instead the most generic camera grabber in MRPT: mrpt::hwdrivers::CCameraSensor

Definition at line 35 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...
 
 CStereoGrabber_Bumblebee_libdc1394 (const CStereoGrabber_Bumblebee_libdc1394 &)=delete
 
CStereoGrabber_Bumblebee_libdc1394operator= (const CStereoGrabber_Bumblebee_libdc1394 &)=delete
 
virtual ~CStereoGrabber_Bumblebee_libdc1394 ()
 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_dc1394m_firewire_capture
 The actual capture object used in Linux / Mac. More...
 
bool m_bInitialized
 If this has been correctly initiated. More...
 

Constructor & Destructor Documentation

◆ CStereoGrabber_Bumblebee_libdc1394() [1/2]

CStereoGrabber_Bumblebee_libdc1394::CStereoGrabber_Bumblebee_libdc1394 ( uint64_t  cameraGUID,
uint16_t  cameraUnit,
double  frameRate 
)

◆ CStereoGrabber_Bumblebee_libdc1394() [2/2]

mrpt::hwdrivers::CStereoGrabber_Bumblebee_libdc1394::CStereoGrabber_Bumblebee_libdc1394 ( const CStereoGrabber_Bumblebee_libdc1394 )
delete

◆ ~CStereoGrabber_Bumblebee_libdc1394()

CStereoGrabber_Bumblebee_libdc1394::~CStereoGrabber_Bumblebee_libdc1394 ( )
virtual

Destructor.

Definition at line 60 of file CStereoGrabber_Bumblebee_libdc1394.cpp.

References m_firewire_capture.

Member Function Documentation

◆ getStereoObservation()

bool CStereoGrabber_Bumblebee_libdc1394::getStereoObservation ( mrpt::obs::CObservationStereoImages out_observation)

Grab stereo images, and return the pair of rectified images.

Parameters
out_observationThe object to be filled with sensed data.
Note
The member "CObservationStereoImages::refCameraPose" must be set on the return of this method by the user, since we don't know here the robot physical structure.
Returns
false on any error, true if all go fine.

Definition at line 72 of file CStereoGrabber_Bumblebee_libdc1394.cpp.

References mrpt::hwdrivers::CImageGrabber_dc1394::getObservation(), mrpt::hwdrivers::CImageGrabber_dc1394::isOpen(), and m_firewire_capture.

Here is the call graph for this function:

◆ operator=()

CStereoGrabber_Bumblebee_libdc1394& mrpt::hwdrivers::CStereoGrabber_Bumblebee_libdc1394::operator= ( const CStereoGrabber_Bumblebee_libdc1394 )
delete

Member Data Documentation

◆ m_bInitialized

bool mrpt::hwdrivers::CStereoGrabber_Bumblebee_libdc1394::m_bInitialized
protected

If this has been correctly initiated.

Definition at line 69 of file CStereoGrabber_Bumblebee_libdc1394.h.

◆ m_firewire_capture

mrpt::hwdrivers::CImageGrabber_dc1394* mrpt::hwdrivers::CStereoGrabber_Bumblebee_libdc1394::m_firewire_capture
protected

The actual capture object used in Linux / Mac.

Definition at line 66 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 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020