MRPT  2.0.4
List of all members | Classes | Public Member Functions | Protected Attributes
mrpt::hwdrivers::CMyntEyeCamera Class Reference

Detailed Description

Wrapper on MYNT-EYE-D cameras.

Requires MYNT-EYE SDK.

See also
mrpt::hwdrivers::CCameraSensor
The most generic camera grabber in MRPT: mrpt::hwdrivers::CCameraSensor

Definition at line 39 of file CMyntEyeCamera.h.

#include <mrpt/hwdrivers/CMyntEyeCamera.h>

Classes

struct  Impl
 

Public Member Functions

 CMyntEyeCamera (const TMyntEyeCameraParameters &params)
 
virtual ~CMyntEyeCamera ()
 
bool isOpen () const
 Check whether the camera has been open successfully. More...
 
bool getObservation (mrpt::obs::CObservation3DRangeScan &out)
 Grab an image from the opened camera. More...
 

Protected Attributes

bool m_bInitialized = false
 Set to false if we could not initialize the camera. More...
 
mrpt::pimpl< Implm_capture
 
mrpt::img::TCamera m_intrinsics_left
 
mrpt::img::TCamera m_intrinsics_right
 

Constructor & Destructor Documentation

◆ CMyntEyeCamera()

CMyntEyeCamera::CMyntEyeCamera ( const TMyntEyeCameraParameters params)

Definition at line 52 of file CMyntEyeCamera.cpp.

References mrpt::img::TCamera::dumpAsText(), mrpt::hwdrivers::TMyntEyeCameraParameters::ir_intensity, m_bInitialized, m_capture, m_intrinsics_left, m_intrinsics_right, MRPT_END, MRPT_START, params, and THROW_EXCEPTION.

Here is the call graph for this function:

◆ ~CMyntEyeCamera()

CMyntEyeCamera::~CMyntEyeCamera ( )
virtual

Definition at line 101 of file CMyntEyeCamera.cpp.

Member Function Documentation

◆ getObservation()

bool CMyntEyeCamera::getObservation ( mrpt::obs::CObservation3DRangeScan out)

Grab an image from the opened camera.

Parameters
out_observationThe object to be filled with sensed data.
Returns
false on any error, true if all go fine.

Definition at line 103 of file CMyntEyeCamera.cpp.

References ASSERT_, ASSERT_EQUAL_, mrpt::img::DEEP_COPY, m_bInitialized, m_capture, m_intrinsics_left, mrpt::Clock::now(), out, and THROW_EXCEPTION.

Here is the call graph for this function:

◆ isOpen()

bool mrpt::hwdrivers::CMyntEyeCamera::isOpen ( ) const
inline

Check whether the camera has been open successfully.

Definition at line 46 of file CMyntEyeCamera.h.

References m_bInitialized.

Member Data Documentation

◆ m_bInitialized

bool mrpt::hwdrivers::CMyntEyeCamera::m_bInitialized = false
protected

Set to false if we could not initialize the camera.

Definition at line 58 of file CMyntEyeCamera.h.

Referenced by CMyntEyeCamera(), getObservation(), and isOpen().

◆ m_capture

mrpt::pimpl<Impl> mrpt::hwdrivers::CMyntEyeCamera::m_capture
protected

Definition at line 60 of file CMyntEyeCamera.h.

Referenced by CMyntEyeCamera(), and getObservation().

◆ m_intrinsics_left

mrpt::img::TCamera mrpt::hwdrivers::CMyntEyeCamera::m_intrinsics_left
protected

Definition at line 63 of file CMyntEyeCamera.h.

Referenced by CMyntEyeCamera(), and getObservation().

◆ m_intrinsics_right

mrpt::img::TCamera mrpt::hwdrivers::CMyntEyeCamera::m_intrinsics_right
protected

Definition at line 63 of file CMyntEyeCamera.h.

Referenced by CMyntEyeCamera().




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020