Attributes | |
| UNIT | coordinate_units = sl::UNIT::MILLIMETER |
| This parameter allows you to select the unit to be used for all metric values of the SDK (depth, point cloud, tracking, mesh, and others). More... | |
| COORDINATE_SYSTEM | coordinate_system = sl::COORDINATE_SYSTEM::IMAGE |
| Positional tracking, point clouds and many other features require a given COORDINATE_SYSTEM to be used as reference. This parameter allows you to select the COORDINATE_SYSTEM used by the Camera to return its measures. More... | |
| bool | output_performance_metrics = false |
| It allows users to extract some stats of the Fusion API like drop frame of each camera, latency, etc... More... | |
| int | verbose = 0 |
| Enable the verbosity mode of the SDK. More... | |
| CUdevice | sdk_gpu_id = -1 |
| NVIDIA graphics card to use. More... | |
| CUcontext | sdk_cuda_ctx = CUcontext() |
| CUcontext to be used. More... | |
| sl::Resolution | maximum_working_resolution = sl::Resolution(0, 0) |
| Set a maximum size for all SDK output, like retrieveImage and retrieveMeasure functions. More... | |
| SENSORS_EXECUTION_MODE | execution_mode = SENSORS_EXECUTION_MODE::EAGER |
| Execution mode for the Sensors pipeline. More... | |
| SENSORS_SYNC_POLICY | sync_policy = SENSORS_SYNC_POLICY::NONE |
| Synchronization policy for pipelined mode retrieval. More... | |
| sl::Timestamp | sync_tolerance = sl::Timestamp::fromMilliseconds(50) |
| Maximum timestamp difference for synchronized retrieval in pipelined mode. More... | |
| UNIT coordinate_units = sl::UNIT::MILLIMETER |
This parameter allows you to select the unit to be used for all metric values of the SDK (depth, point cloud, tracking, mesh, and others).
Default : UNIT::MILLIMETER
| COORDINATE_SYSTEM coordinate_system = sl::COORDINATE_SYSTEM::IMAGE |
Positional tracking, point clouds and many other features require a given COORDINATE_SYSTEM to be used as reference. This parameter allows you to select the COORDINATE_SYSTEM used by the Camera to return its measures.
This defines the order and the direction of the axis of the coordinate system.
Default : COORDINATE_SYSTEM::IMAGE
| bool output_performance_metrics = false |
It allows users to extract some stats of the Fusion API like drop frame of each camera, latency, etc...
| int verbose = 0 |
Enable the verbosity mode of the SDK.
| CUdevice sdk_gpu_id = -1 |
NVIDIA graphics card to use.
By default the SDK will use the most powerful NVIDIA graphics card found.
However, when running several applications, or using several cameras at the same time, splitting the load over available GPUs can be useful.
This parameter allows you to select the GPU used by the sl::Camera using an ID from 0 to n-1 GPUs in your PC.
Default: -1
| CUcontext sdk_cuda_ctx = CUcontext() |
CUcontext to be used.
If your application uses another CUDA-capable library, giving its CUDA context to the ZED SDK can be useful when sharing GPU memories.
This parameter allows you to set the CUDA context to be used by the ZED SDK.
Leaving this parameter empty asks the SDK to create its own context.
Default: (empty)
| sl::Resolution maximum_working_resolution = sl::Resolution(0, 0) |
Set a maximum size for all SDK output, like retrieveImage and retrieveMeasure functions.
This will override the default (0,0) and instead of outputting native image size sl::Mat, the ZED SDK will take this size as default. A custom lower size can also be used at runtime, but not bigger. This is used for internal optimization of compute and memory allocations.
The default is similar to previous versions where (0,0) meant the native image size.
| SENSORS_EXECUTION_MODE execution_mode = SENSORS_EXECUTION_MODE::EAGER |
Execution mode for the Sensors pipeline.
Controls whether process() runs synchronously (EAGER) or spawns a pipelined producer/consumer architecture with dedicated worker threads (PIPELINED).
In PIPELINED mode:
Default: SENSORS_EXECUTION_MODE::EAGER
| SENSORS_SYNC_POLICY sync_policy = SENSORS_SYNC_POLICY::NONE |
Synchronization policy for pipelined mode retrieval.
Controls how data from devices running at different frequencies is synchronized:
Default: SENSORS_SYNC_POLICY::NONE
| sl::Timestamp sync_tolerance = sl::Timestamp::fromMilliseconds(50) |
Maximum timestamp difference for synchronized retrieval in pipelined mode.
When sync_policy is CLOSEST or DROP_STALE, frames with timestamp difference greater than this value from the sync timestamp are considered stale.
Default: 50ms