namespace mrpt::hwdrivers

Contains classes for various device interfaces.

namespace hwdrivers {

// enums

enum GYRO_MODE;
enum SensorType;
enum TCameraType;
enum grabber_dc1394_color_coding_t;
enum grabber_dc1394_framerate_t;

// structs

struct TCaptureCVOptions;
struct TCaptureOptions_DUO3D;
struct TCaptureOptions_FlyCapture2;
struct TCaptureOptions_SVS;
struct TCaptureOptions_bumblebee;
struct TCaptureOptions_dc1394;
struct TMyntEyeCameraParameters;
struct TSensorClassId;

// classes

class C2DRangeFinderAbstract;
class CBoardENoses;
class CBoardSonars;
class CCANBusReader;
class CCameraSensor;
class CDUO3DCamera;
class CEnoseModular;
class CFFMPEG_InputStream;
class CGPSInterface;
class CGPS_NTRIP;
class CGenericSensor;
class CGillAnemometer;
class CGyroKVHDSP3000;
class CHokuyoURG;
class CIMUIntersense;
class CIMUXSens_MT4;
class CIbeoLuxETH;
class CImageGrabber_FlyCapture2;
class CImageGrabber_OpenCV;
class CImageGrabber_dc1394;
class CImpinjRFID;
class CJoystick;
class CKinect;
class CLMS100Eth;
class CMyntEyeCamera;
class CNTRIPClient;
class CNTRIPEmitter;
class CNationalInstrumentsDAQ;
class COpenNI2Generic;
class COpenNI2Sensor;
class COpenNI2_RGBD360;
class CPhidgetInterfaceKitProximitySensors;
class CPtuBase;
class CPtuDPerception;
class CRaePID;
class CRoboPeakLidar;
class CRoboticHeadInterface;
class CSICKTim561Eth;
class CServoeNeck;
class CSickLaserSerial;
class CSickLaserUSB;
class CSkeletonTracker;
class CStereoGrabber_Bumblebee_libdc1394;
class CStereoGrabber_SVS;
class CSwissRanger3DCamera;
class CTuMicos;
class CVelodyneScanner;
class CWirelessPower;

// global functions

CCameraSensor::Ptr prepareVideoSourceFromPanel(void* panel);
void writeConfigFromVideoSourcePanel(void* panel, const std::string& in_cfgfile_section_name, mrpt::config::CConfigFileBase* out_cfgfile);

void readConfigIntoVideoSourcePanel(
    void* panel,
    const std::string& in_cfgfile_section_name,
    const mrpt::config::CConfigFileBase* in_cfgfile
    );

CCameraSensor::Ptr prepareVideoSourceFromUserSelection();

} // namespace hwdrivers

Global Functions

CCameraSensor::Ptr prepareVideoSourceFromPanel(void* panel)

Used only from MRPT apps: Use with caution since “panel” MUST be a “mrpt::gui::CPanelCameraSelection *”.

void writeConfigFromVideoSourcePanel(
    void* panel,
    const std::string& in_cfgfile_section_name,
    mrpt::config::CConfigFileBase* out_cfgfile
    )

Parse the user options in the wxWidgets “panel” and write the configuration into the given section of the given configuration file.

Use with caution since “panel” MUST be a “mrpt::gui::CPanelCameraSelection *

See also:

prepareVideoSourceFromUserSelection, prepareVideoSourceFromPanel, readConfigIntoVideoSourcePanel

void readConfigIntoVideoSourcePanel(
    void* panel,
    const std::string& in_cfgfile_section_name,
    const mrpt::config::CConfigFileBase* in_cfgfile
    )

Parse the given section of the given configuration file and set accordingly the controls of the wxWidgets “panel”.

Use with caution since “panel” MUST be a “mrpt::gui::CPanelCameraSelection *

See also:

prepareVideoSourceFromUserSelection, prepareVideoSourceFromPanel, writeConfigFromVideoSourcePanel

CCameraSensor::Ptr prepareVideoSourceFromUserSelection()

Show to the user a list of possible camera drivers and creates and open the selected camera.