mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-03 19:47:46 +08:00
update SDK
This commit is contained in:
@@ -95,7 +95,10 @@ ob_device *ob_device_list_get_device(ob_device_list *list, uint32_t index, ob_er
|
||||
ob_device *ob_device_list_get_device_by_serial_number(ob_device_list *list, const char *serial_number, ob_error **error);
|
||||
|
||||
/**
|
||||
* @brief Create a device.
|
||||
* @brief Create device by uid
|
||||
* @brief On Linux platform, the uid of the device is composed of bus-port-dev, for example 1-1.2-1. But the SDK will remove the dev number and only keep the
|
||||
* bus-port as the uid to create the device, for example 1-1.2, so that we can create a device connected to the specified USB port. Similarly, users can also
|
||||
* directly pass in bus-port as uid to create device.
|
||||
*
|
||||
* @attention If the device has already been acquired and created elsewhere, repeated acquisitions will return an error.
|
||||
*
|
||||
@@ -605,18 +608,6 @@ ob_depth_work_mode_list *ob_device_get_depth_work_mode_list(ob_device *device, o
|
||||
*/
|
||||
void ob_device_reboot(ob_device *device, ob_error **error);
|
||||
|
||||
/**
|
||||
* @brief Device reboot delay mode
|
||||
* @attention The device will be disconnected and reconnected. After the device is disconnected, the interface access to the device handle may be abnormal.
|
||||
* Please use the ob_delete_device interface to delete the handle directly. After the device is reconnected, it can be obtained again.
|
||||
* Support devices: Gemini2 L
|
||||
*
|
||||
* @param[in] device Device object
|
||||
* @param[in] delay_ms Time unit:ms。delay_ms == 0:No delay;delay_ms > 0, Delay millisecond connect to host device after reboot
|
||||
* @param[out] error Log error messages
|
||||
*/
|
||||
void ob_device_reboot_delay_mode(ob_device *device, uint32_t delay_ms, ob_error **error);
|
||||
|
||||
/**
|
||||
* @brief Get the current device synchronization configuration
|
||||
* @brief Device synchronization: including exposure synchronization function and multi-camera synchronization function of different sensors within a single
|
||||
|
||||
@@ -359,6 +359,11 @@ typedef enum {
|
||||
*/
|
||||
OB_PROP_CAPTURE_IMAGE_NUMBER_INTERVAL_INT = 136,
|
||||
|
||||
/**
|
||||
* @brief Reboot device delay mode. Delay time unit: ms, range: [0, 8000).
|
||||
*/
|
||||
OB_PROP_DEVICE_REBOOT_DELAY_INT = 142,
|
||||
|
||||
/**
|
||||
* @brief Baseline calibration parameters
|
||||
*/
|
||||
|
||||
@@ -609,12 +609,15 @@ public:
|
||||
std::shared_ptr<Device> getDeviceBySN(const char *serialNumber);
|
||||
|
||||
/**
|
||||
* @brief Get the device object with the specified UID
|
||||
* @brief Get the specified device object from the device list by uid
|
||||
* @brief On Linux platform, the uid of the device is composed of bus-port-dev, for example 1-1.2-1. But the SDK will remove the dev number and only keep
|
||||
* the bus-port as the uid to create the device, for example 1-1.2, so that we can create a device connected to the specified USB port. Similarly, users can
|
||||
* also directly pass in bus-port as uid to create device.
|
||||
*
|
||||
* @attention If the device has already been acquired and created elsewhere, repeated acquisition will throw an exception
|
||||
* @attention If the device has been acquired and created elsewhere, repeated acquisition will throw an exception
|
||||
*
|
||||
* @param uid the UID of the device to create
|
||||
* @return std::shared_ptr<Device> the device object
|
||||
* @param uid The uid of the device to be created
|
||||
* @return std::shared_ptr<Device> returns the device object
|
||||
*/
|
||||
std::shared_ptr<Device> getDeviceByUid(const char *uid);
|
||||
};
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user