![]() |
DvsenseDriver
1.3.0
The SDK for dvsense products.
|
Classes | |
| class | ApsFrame |
| Contiguous BGR888 APS image with exposure timestamps. More... | |
| class | EventBase |
| class | Event2D |
| class | EventTriggerIn |
| class | DsStatisticInfo |
| class | Calibrator |
| Spatial APS/DVS calibration using affine mappings and cached APS pixel indexes. More... | |
| class | DVSyncCameraBase |
| Shared streaming, recording, and synchronization implementation for the DVSync family. More... | |
| class | DVSyncCamera |
| class | DVSyncProCamera |
| On-camera Linux MIPI/V4L2 backend for the DVSyncPro reference board. More... | |
| class | DVSyncProInterface |
| Linux DVSyncPro control interface for V4L2 streams, I2C registers, and PWM synchronization. More... | |
| struct | V4l2StreamConfig |
| V4L2 capture node, buffer geometry, format, and transfer sizing. More... | |
| class | V4l2DataTransfer |
| Linux V4L2 MMAP capture backend supporting single- and multi-plane capture. More... | |
| struct | DvsFileInfo |
| struct | MatrixData |
| struct | CalibratorParameters |
| class | DvsCamera |
| Interface class for DVS cameras. More... | |
| class | DvsCameraManager |
| Camera Manager class. More... | |
| class | FusionCamera |
| Common interface for DVS/APS fusion cameras, including DVSync and DVSyncPro. More... | |
| class | DvsFileReader |
| DVS File Reader class. More... | |
| class | RawEventStreamFormat |
| A class to describe the format and geometry of raw event stream directly from camera before decoding. More... | |
| struct | CameraDescription |
| A struct to describe the camera information. More... | |
| struct | ToolInfo |
| The information of the tool, including the type, the parameter names and the description. More... | |
| struct | BasicParameterInfo |
| The basic information of the parameter, including the name, the description and the type. \ To get the detailed information, please refer to CameraTool::getParamInfo . More... | |
| struct | IntParameterInfo |
| The detailed information of the integer parameter. More... | |
| struct | FloatParameterInfo |
| The detailed information of the float parameter. More... | |
| struct | BoolParameterInfo |
| The detailed information of the boolean parameter. More... | |
| struct | EnumParameterInfo |
| The detailed information of the enumeration parameter. More... | |
| struct | StringParameterInfo |
| class | CameraTool |
| The base class of camera tools. Tools refer to the abstract concept used to control the camera, which can be used to set various camera parameters, obtain camera parameter information, perform data processing, etc. More... | |
| class | DvsApsFusionProccessor |
| Pair APS frames with completed DVS synchronization groups in FIFO order. More... | |
Typedefs | |
| using | FrameCallback = std::function<void(ApsFrame)> |
| using | DsFusionDataCallback = std::function<void(ApsFrame &, EventIterator_t begin, EventIterator_t end)> |
| using | Event2DVector = std::vector<Event2D> |
| using | EventIterator_t = Event2D* |
| using | EventsStreamHandleCallback = std::function<void(EventIterator_t begin, EventIterator_t end)> |
| using | SharedEventsStreamHandleCallback = std::function<void(std::shared_ptr<Event2DVector>)> |
| Event-batch callback with shared ownership, valid until its last owner releases it. | |
| using | DvsTriggerInCallback = std::function<void(const EventTriggerIn)> |
| using | DsStatisticInfoCallback = std::function<void(const DsStatisticInfo)> |
| typedef uint64_t | TimeStamp |
| using | json = nlohmann::json |
| using | ordered_json = nlohmann::ordered_json |
| typedef std::shared_ptr< DvsCamera > | CameraDevice |
| Shared pointer to manage camera devices. | |
| typedef std::shared_ptr< FusionCamera > | FusionCameraDevice |
| typedef std::unique_ptr< DvsFileReader > | DvsFile |
| unique_ptr to manage DVS file reader | |
| using | Serial = std::string |
| using | SharedDsFusionDataCallback = std::function<void(ApsFrame &, std::shared_ptr<Event2DVector>)> |
| Callback receiving an APS frame and a shared DVS event buffer. | |
Enumerations | |
| enum class | ApsPixelType { BGR888 } |
| enum | CameraStatus { STOPPED = 0 , STARTED = 1 } |
| Camera status, STOPPED or STARTED. More... | |
| enum class | RawEventStreamEncodingType { EVT3 = 0 , UNKNOWN = -1 } |
| Enum for the different types of raw event stream encoding. More... | |
| enum | STREAM_TYPE { DVS_STREAM , APS_STREAM , FUSION_STREAM } |
| enum | BatchConditionType { NO_CONDITION = 0 , N_EVENTS , N_US } |
| Condition to cut the batch of events, n_events or n_us. More... | |
| enum class | ToolType { TOOL_BIAS , TOOL_TRIGGER_IN , TOOL_SYNC , TOOL_ANTI_FLICKER , TOOL_EVENT_TRAIL_FILTER , TOOL_EVENT_RATE_CONTROL , TOOL_ROI , TOOL_APS_CTRL , TOOL_ETH } |
| The type of the tool. More... | |
| enum class | ToolParameterType { INT , FLOAT , BOOL , STRING , ENUM } |
| The type of the parameter. More... | |
Functions | |
| std::string | to_string (ToolType type) |
| std::string | ToolParameterTypeToString (ToolParameterType type) |
| Convert the ToolParameterType to string. | |
| struct dvsense::V4l2StreamConfig |
V4L2 capture node, buffer geometry, format, and transfer sizing.
pixel_format is a V4L2 FOURCC. buffer_count must be nonzero. output_buffer_size is in bytes; zero uses the transfer's default allocation size. Geometry describes transport buffers, not necessarily the logical EVT3 event sensor resolution.
| Class Members | ||
|---|---|---|
| string | device | |
| uint32_t | width = 0 | |
| uint32_t | height = 0 | |
| uint32_t | pixel_format = 0 | |
| uint32_t | buffer_count = 6 | |
| uint32_t | output_buffer_size = 0 | |
| struct dvsense::DvsFileInfo |
| struct dvsense::CalibratorParameters |
| Class Members | ||
|---|---|---|
| string | camera_serial | |
| uint16_t | dvs_cols | |
| uint16_t | dvs_rows | |
| uint16_t | aps_cols | |
| uint16_t | aps_rows | |
| MatrixData | camera_matrix | |
| MatrixData | dist_coeffs | |
| map< string, MatrixData > | affine_matrix | |
| vector< double > | rotation | |
| vector< double > | translation | |
| struct dvsense::CameraDescription |
A struct to describe the camera information.
| Class Members | ||
|---|---|---|
| Serial | serial | |
| string | product | |
| string | manufacturer | |
| uint16_t | vid | |
| uint16_t | pid | |
| INTERFACE_TYPE | interfaceType | |
| string | camera_ip | |
| string | local_ip | |
| string | camera_subnet_mask | |
| string | camera_gateway | |
| uint64_t | mac64 | |
| string | firmware_version | |
| struct dvsense::ToolInfo |
The information of the tool, including the type, the parameter names and the description.
| Class Members | ||
|---|---|---|
| ToolType | tool_type | |
| string | tool_name | |
| vector< string > | parameter_names | |
| string | description | |
| using dvsense::FrameCallback = std::function<void(ApsFrame)> |
| using dvsense::DsFusionDataCallback = std::function<void(ApsFrame &, EventIterator_t begin, EventIterator_t end)> |
| using dvsense::Event2DVector = std::vector<Event2D> |
| using dvsense::EventIterator_t = Event2D* |
| using dvsense::EventsStreamHandleCallback = std::function<void(EventIterator_t begin, EventIterator_t end)> |
| using dvsense::SharedEventsStreamHandleCallback = std::function<void(std::shared_ptr<Event2DVector>)> |
Event-batch callback with shared ownership, valid until its last owner releases it.
| using dvsense::DvsTriggerInCallback = std::function<void(const EventTriggerIn)> |
| using dvsense::DsStatisticInfoCallback = std::function<void(const DsStatisticInfo)> |
| typedef uint64_t dvsense::TimeStamp |
| using dvsense::json = nlohmann::json |
| using dvsense::ordered_json = nlohmann::ordered_json |
| typedef std::shared_ptr<DvsCamera> dvsense::CameraDevice |
Shared pointer to manage camera devices.
| typedef std::shared_ptr<FusionCamera> dvsense::FusionCameraDevice |
| typedef std::unique_ptr<DvsFileReader> dvsense::DvsFile |
unique_ptr to manage DVS file reader
| using dvsense::Serial = std::string |
| using dvsense::SharedDsFusionDataCallback = std::function<void(ApsFrame &, std::shared_ptr<Event2DVector>)> |
Callback receiving an APS frame and a shared DVS event buffer.
The shared event buffer may be retained after the callback returns. It is returned to the event object pool only after the last shared owner releases it. The APS frame reference is valid only during the callback; copy the frame when it must be retained.
|
strong |
|
strong |
| enum dvsense::STREAM_TYPE |
|
strong |
|
strong |
| std::string dvsense::to_string | ( | ToolType | type | ) |
| std::string dvsense::ToolParameterTypeToString | ( | ToolParameterType | type | ) |
Convert the ToolParameterType to string.
| type | The type of the parameter. |