165         const std::string& sectionName,
   166         const std::string& prefix = std::string());
   279     !std::is_copy_constructible_v<CImageGrabber_FlyCapture2> &&
   280         !std::is_copy_assignable_v<CImageGrabber_FlyCapture2>,
 void close()
Stop capture and closes the opened camera, if any. 
 
bool getObservation(mrpt::obs::CObservationImage &out_observation)
Grab mono image from the camera. 
 
float strobe_delay
(default=0.0) Delay in ms. 
 
Declares a class derived from "CObservation" that encapsules an image from a camera, whose relative pose to robot is also stored. 
 
bool strobe_enabled
(default=false) Enable the generation of a strobe signal in GPIO. 
 
bool gain_abs
(default=true) Numeric mode (absolute or integer values) 
 
float autoexposure_EV
(default=0.0) Exposure Value, if autoexposure_auto=false 
 
void * m_img_buffer
Opaque pointer to the FlyCapture2::Image, used as a temporary buffer and to avoid mem alloc/reallocs...
 
A wrapper for Point Gray Research (PGR) FlyCapture2 API for capturing images from Firewire...
 
float m_baseline
Camera baseline (only for stereo cameras) 
 
float strobe_duration
(default=1.0) Pulse durationin ms. 
 
Contains classes for various device interfaces. 
 
std::string grabmode
(Default="BUFFER_FRAMES") A string with a grab mode, from the list available in FlyCapture2::GrabMode...
 
float m_focalLength
Camera focal length. 
 
bool autoexposure_auto
(default=true) 
 
void startCapture()
Start the actual image capture of the camera. 
 
CImageGrabber_FlyCapture2()
Constructor that does not open a camera. 
 
int grabTimeout
(Default=5000) Time in milliseconds that RetrieveBuffer() and WaitForBufferEvent() will wait for an i...
 
TCaptureOptions_FlyCapture2 m_options
Camera options. 
 
This class allows loading and storing values and vectors of different types from a configuration text...
 
void * m_triclops
Opaque pointer to the TriclopsContext objetc. 
 
TCaptureOptions_FlyCapture2()
 
unsigned int trigger_source
(default=0) Refer to PGR docs. 
 
unsigned int strobe_source
(default=0) Refer to PGR docs. 
 
unsigned int rect_width
(default=800) Width for output rectified images 
 
void * m_camera_info
Opaque pointer to the FlyCapture2::CameraInfo object. 
 
std::string videomode
(Default="", which means default) A string with a video mode, from the list available in FlyCapture2:...
 
Observation class for either a pair of left+right or left+disparity images from a stereo camera...
 
Options used when creating a camera capture object of type CImageGrabber_FlyCapture2. 
 
unsigned int rect_height
(default=600) Height for output rectified images 
 
bool autoexposure_abs
(default=true) Numeric mode (absolute or integer values) 
 
bool stereo_mode
(default=false) Obtain images as stereo pairs with Flycapture2 
 
virtual ~CImageGrabber_FlyCapture2()
Destructor. 
 
bool trigger_enabled
(default=false) Enable non-free-running mode, only capturing when a given input trigger signal is det...
 
bool isStereo()
Returns if current configuration is stereo or not. 
 
static void startSyncCapture(int numCameras, const CImageGrabber_FlyCapture2 **cameras_array)
Starts a synchronous capture of several cameras, which must have been already opened. 
 
float shutter_time_ms
(default=4.0) Shutter time, if shutter_auto=false 
 
bool shutter_abs
(default=true) Numeric mode (absolute or integer values) 
 
void * m_camera
Opaque pointer to the FlyCapture2::Camera object. 
 
static std::string getFC2version()
Returns the PGR FlyCapture2 library version. 
 
void loadOptionsFrom(const mrpt::config::CConfigFileBase &configSource, const std::string §ionName, const std::string &prefix=std::string())
Loads all the options from a config file. 
 
unsigned int trigger_mode
(default=0) Refer to PGR docs. 
 
std::string framerate
(Default="", which means default) A string with a framerate, from the list available in FlyCapture2::...
 
float gain_dB
(default=0.0) Sensor gain, if gain_auto=false 
 
float m_centerCol
Camera center coordinates. 
 
bool shutter_auto
(default=true) 
 
const TCaptureOptions_FlyCapture2 & getCameraOptions() const
Returns the current settings of the camera. 
 
unsigned int camera_index
(Default=0) If open_by_guid==false, will open the i'th camera based on this 0-based index...
 
CImageGrabber_FlyCapture2 & operator=(const CImageGrabber_FlyCapture2 &)=delete
 
unsigned int trigger_polarity
(default=0) Refer to PGR docs. 
 
bool gain_auto
(default=true) 
 
bool autoexposure_onOff
(default=true) Activate this feature 
 
unsigned int camera_guid[4]
GUID of the camera to open, only when open_by_guid==true. 
 
unsigned int strobe_polarity
(default=0) Refer to PGR docs. 
 
void open(const TCaptureOptions_FlyCapture2 &options, const bool startCapture=true)
Tries to open the camera with the given options, and starts capture. 
 
void stopCapture()
Stop capture. 
 
unsigned int numBuffers
(Default=30) Number of images that can be stored in the buffer, if enabled with grabMode. 
 
bool open_by_guid
(Default=false) Set to true to force opening a camera by its GUID, in camera_guid ...