MRPT
2.0.4
|
Wrapper on MYNT-EYE-D cameras.
Requires MYNT-EYE SDK.
Definition at line 39 of file CMyntEyeCamera.h.
#include <mrpt/hwdrivers/CMyntEyeCamera.h>
Classes | |
struct | Impl |
Public Member Functions | |
CMyntEyeCamera (const TMyntEyeCameraParameters ¶ms) | |
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< Impl > | m_capture |
mrpt::img::TCamera | m_intrinsics_left |
mrpt::img::TCamera | m_intrinsics_right |
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.
|
virtual |
Definition at line 101 of file CMyntEyeCamera.cpp.
bool CMyntEyeCamera::getObservation | ( | mrpt::obs::CObservation3DRangeScan & | out | ) |
Grab an image from the opened camera.
out_observation | The object to be filled with sensed data. |
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.
|
inline |
Check whether the camera has been open successfully.
Definition at line 46 of file CMyntEyeCamera.h.
References m_bInitialized.
|
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().
|
protected |
Definition at line 60 of file CMyntEyeCamera.h.
Referenced by CMyntEyeCamera(), and getObservation().
|
protected |
Definition at line 63 of file CMyntEyeCamera.h.
Referenced by CMyntEyeCamera(), and getObservation().
|
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 |