class mrpt::hwdrivers::CMyntEyeCamera

Overview

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

#include <mrpt/hwdrivers/CMyntEyeCamera.h>

class CMyntEyeCamera
{
public:
    // structs

    struct Impl;

    // construction

    CMyntEyeCamera(const TMyntEyeCameraParameters& params);

    // methods

    bool isOpen() const;
    bool getObservation(mrpt::obs::CObservation3DRangeScan& out);
};

Methods

bool isOpen() const

Check whether the camera has been open successfully.

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

Grab an image from the opened camera.

Parameters:

out_observation

The object to be filled with sensed data.

Returns:

false on any error, true if all go fine.