DvsenseDriver  1.2.4
The SDK for dvsense products.
Loading...
Searching...
No Matches
dvsense Namespace Reference

Classes

struct  DvsFileInfo
struct  MatrixData
struct  CalibratorParameters
class  DvsCamera
 Interface class for DVS cameras. More...
class  DvsCameraManager
 Camera Manager class. More...
class  FusionCamera
 Interface class for DVS cameras. 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

Typedefs

typedef uint64_t TimeStamp
using json = nlohmann::json
using ordered_json = nlohmann::ordered_json
typedef std::shared_ptr< DvsCameraCameraDevice
 Shared pointer to manage camera devices.
typedef std::shared_ptr< FusionCameraFusionCameraDevice
typedef std::unique_ptr< DvsFileReaderDvsFile
 unique_ptr to manage DVS file reader
using Serial = std::string

Enumerations

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.

Class Documentation

◆ dvsense::DvsFileInfo

struct dvsense::DvsFileInfo
Class Members
TimeStamp start_timestamp
TimeStamp end_timestamp
TimeStamp aps_start_timestamp
uint64_t max_events
uint16_t dvs_width
uint16_t dvs_height
string serial_number
time_point local_time

◆ dvsense::MatrixData

struct dvsense::MatrixData
Class Members
int rows
int cols
int type
vector< double > data

◆ dvsense::CalibratorParameters

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

◆ dvsense::CameraDescription

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

◆ dvsense::ToolInfo

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

Typedef Documentation

◆ TimeStamp

typedef uint64_t dvsense::TimeStamp

◆ json

using dvsense::json = nlohmann::json

◆ ordered_json

using dvsense::ordered_json = nlohmann::ordered_json

◆ CameraDevice

typedef std::shared_ptr<DvsCamera> dvsense::CameraDevice

Shared pointer to manage camera devices.

◆ FusionCameraDevice

typedef std::shared_ptr<FusionCamera> dvsense::FusionCameraDevice

◆ DvsFile

typedef std::unique_ptr<DvsFileReader> dvsense::DvsFile

unique_ptr to manage DVS file reader

◆ Serial

using dvsense::Serial = std::string

Enumeration Type Documentation

◆ CameraStatus

Camera status, STOPPED or STARTED.

Enumerator
STOPPED 
STARTED 

◆ RawEventStreamEncodingType

Enum for the different types of raw event stream encoding.

Enumerator
EVT3 

Encoding type for EVT3.

UNKNOWN 

Unknown encoding type.

◆ STREAM_TYPE

Enumerator
DVS_STREAM 
APS_STREAM 
FUSION_STREAM 

◆ BatchConditionType

Condition to cut the batch of events, n_events or n_us.

Enumerator
NO_CONDITION 
N_EVENTS 
N_US 

◆ ToolType

enum class dvsense::ToolType
strong

The type of the tool.

Enumerator
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 

◆ ToolParameterType

enum class dvsense::ToolParameterType
strong

The type of the parameter.

Enumerator
INT 
FLOAT 
BOOL 
STRING 
ENUM 

Function Documentation

◆ to_string()

std::string dvsense::to_string ( ToolType type)

◆ ToolParameterTypeToString()

std::string dvsense::ToolParameterTypeToString ( ToolParameterType type)

Convert the ToolParameterType to string.

Parameters
typeThe type of the parameter.
Returns
The string of the parameter type.