OrbbecSDK 1.10.18
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
|
This file contains the multiple devices related API witch is used to control the synchronization between multiple devices and the synchronization between different sensor within single device. More...
Go to the source code of this file.
Macros | |
#define | ob_device_timer_reset ob_device_timestamp_reset |
Alias for ob_device_timestamp_reset since it is more accurate. | |
Functions | |
uint16_t | ob_device_get_supported_multi_device_sync_mode_bitmap (ob_device *device, ob_error **error) |
Get the supported multi device sync mode bitmap of the device. | |
void | ob_device_set_multi_device_sync_config (ob_device *device, const ob_multi_device_sync_config *config, ob_error **error) |
set the multi device sync configuration of the device. | |
ob_multi_device_sync_config | ob_device_get_multi_device_sync_config (ob_device *device, ob_error **error) |
get the multi device sync configuration of the device. | |
void | ob_device_trigger_capture (ob_device *device, ob_error **error) |
send the capture command to the device. | |
void | ob_device_set_timestamp_reset_config (ob_device *device, const ob_device_timestamp_reset_config *config, ob_error **error) |
set the timestamp reset configuration of the device. | |
ob_device_timestamp_reset_config | ob_device_get_timestamp_reset_config (ob_device *device, ob_error **error) |
get the timestamp reset configuration of the device. | |
void | ob_device_timestamp_reset (ob_device *device, ob_error **error) |
send the timestamp reset command to the device. | |
void | ob_device_timer_sync_with_host (ob_device *device, ob_error **error) |
synchronize the timer of the device with the host. | |
This file contains the multiple devices related API witch is used to control the synchronization between multiple devices and the synchronization between different sensor within single device.
The synchronization between multiple devices is complex, and different models have different synchronization modes and limitations. please refer to the product manual for details.
As the Depth and Infrared are the same sensor physically, the behavior of the Infrared is same as the Depth in the synchronization mode.
Definition in file MultipleDevices.h.
#define ob_device_timer_reset ob_device_timestamp_reset |
Alias for ob_device_timestamp_reset since it is more accurate.
Definition at line 106 of file MultipleDevices.h.
uint16_t ob_device_get_supported_multi_device_sync_mode_bitmap | ( | ob_device * | device, |
ob_error ** | error | ||
) |
Get the supported multi device sync mode bitmap of the device.
For example, if the return value is 0b00001100, it means the device supports OB_MULTI_DEVICE_SYNC_MODE_PRIMARY and OB_MULTI_DEVICE_SYNC_MODE_SECONDARY. User can check the supported mode by the code:
[in] | device | The device handle. |
[out] | error | The error information. |
void ob_device_set_multi_device_sync_config | ( | ob_device * | device, |
const ob_multi_device_sync_config * | config, | ||
ob_error ** | error | ||
) |
set the multi device sync configuration of the device.
[in] | device | The device handle. |
[in] | config | The multi device sync configuration. |
[out] | error | The error information. |
ob_multi_device_sync_config ob_device_get_multi_device_sync_config | ( | ob_device * | device, |
ob_error ** | error | ||
) |
get the multi device sync configuration of the device.
[in] | device | The device handle. |
[out] | error | The error information. |
send the capture command to the device.
The device will start one time image capture after receiving the capture command when it is in the OB_MULTI_DEVICE_SYNC_MODE_SOFTWARE_TRIGGERING
[in] | device | The device handle. |
[out] | error | The error information. |
void ob_device_set_timestamp_reset_config | ( | ob_device * | device, |
const ob_device_timestamp_reset_config * | config, | ||
ob_error ** | error | ||
) |
set the timestamp reset configuration of the device.
[in] | device | The device handle. |
[in] | config | The timestamp reset configuration. |
[out] | error | The error information. |
ob_device_timestamp_reset_config ob_device_get_timestamp_reset_config | ( | ob_device * | device, |
ob_error ** | error | ||
) |
get the timestamp reset configuration of the device.
[in] | device | The device handle. |
[out] | error | The error information. |
send the timestamp reset command to the device.
The device will reset the timer for calculating the timestamp for output frames to 0 after receiving the timestamp reset command when the timestamp reset function is enabled. The timestamp reset function can be enabled by call ob_device_set_timestamp_reset_config.
[in] | device | The device handle. |
[out] | error | The error information. |
synchronize the timer of the device with the host.
After calling this function, the timer of the device will be synchronized with the host. User can call this function to multiple devices to synchronize all timers of the devices.
[in] | device | The device handle. |
[out] | error | The error information. |