Data Structures

Overview

ReflexCameraUnit

struct ReflexCameraUnit
{
    std::string  ip_address;
    std::string  serial_number;
    int8_t       type;
    int8_t       nb_systems;
    int8_t       nb_sensors;
    int8_t       sw_version_major;
    int8_t       sw_version_minor;
    int8_t       sw_version_patch;
};

The data structure ReflexCameraUnit stores information about a connected RefleX camera.

Members

ReflexSystemStatus

struct ReflexSystemStatus
{
    double      timestamp;
    int8_t      system_id;
    float       temperature;
    int16_t     error;
    int8_t      state;
};

The data structure holds status information about a sub-system of a camera unit.

Members

ReflexSensorStatus

struct ReflexSensorStatus
{
    double      timestamp;
    int8_t      sensor_id;
    int16_t     error;
    uint32_t    frame_id;
    float       framerate;
    int8_t      exposure_mode;
    uint32_t    shutter;
    float       gain;
};

The data structure holds status information about a specific image sensor of a camera unit.

Members

ReflexContour

struct ReflexContour
{
    std::vector<int16_t> x;
    std::vector<int16_t> y;
};

The data structure holds the x/y-coordinates of a 2D contour in image space.

Members

ReflexReflector

struct ReflexReflector
{
    ReflexContour contour;
    float         pos2d[2];
    float         pos3d[3];
    float         area;
    float         circularity;
    float         score;
};

The data structure holds information about a detected reflective object.

Members

ReflexObject

struct ReflexObject
{
    float    pos2d[2];
    float    pos3d[3];
    float    vel3d[3];
    float    score;
    int16_t  id;
    uint32_t lifetime;
};

The data structure holds information about a reflective object tracked over consecutive image frames.

Members

ReflexData

struct ReflexData
{
    double                       timestamp;
    float                        framerate;
    int16_t                      error;
    uint32_t                     frame_id;
    std::vector<ReflexReflector> reflectors;
    std::vector<ReflexObject>    objects;
};

The data structure holds data extracted from a captured image frame.

Members

ReflexImageCV

struct ReflexImageCV
{
    double   timestamp;
    uint32_t frame_id;
    uint32_t shutter;
    float    gain;
    int8_t   exposure_mode;
    int8_t   type;
    int8_t   sensor_id;
    cv::Mat  img;
};

The data structure holds header information and image data in the OpenCV computer vision library format.

Members