mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 12:07:46 +08:00
update OrbbecSDK version to 2.8.0
This commit is contained in:
@@ -328,6 +328,15 @@ OB_EXPORT void ob_device_set_state_changed_callback(ob_device *device, ob_device
|
||||
*/
|
||||
OB_EXPORT void ob_device_enable_heartbeat(ob_device *device, bool enable, ob_error **error);
|
||||
|
||||
/**
|
||||
* @brief Enable or disable the device firmware log.
|
||||
*
|
||||
* @param[in] device The device object.
|
||||
* @param[in] enable Whether to enable the firmware log.
|
||||
* @param[out] error Pointer to an error object that will be set if an error occurs.
|
||||
*/
|
||||
OB_EXPORT void ob_device_enable_firmware_log(ob_device *device, bool enable, ob_error **error);
|
||||
|
||||
/**
|
||||
* @brief Send data to the device and receive data from the device.
|
||||
* @brief This is a factory and debug function, which can be used to send and receive data from the device. The data format is secret and belongs to the device
|
||||
|
||||
@@ -1108,14 +1108,6 @@ typedef enum OB_EDGE_NOISE_REMOVAL_TYPE {
|
||||
} OBEdgeNoiseRemovalType,
|
||||
ob_edge_noise_removal_type;
|
||||
|
||||
typedef struct {
|
||||
OBEdgeNoiseRemovalType type;
|
||||
uint16_t marginLeftTh;
|
||||
uint16_t marginRightTh;
|
||||
uint16_t marginTopTh;
|
||||
uint16_t marginBottomTh;
|
||||
} OBEdgeNoiseRemovalFilterParams, ob_edge_noise_removal_filter_params;
|
||||
|
||||
/**
|
||||
* @brief Denoising method
|
||||
*/
|
||||
@@ -1131,6 +1123,41 @@ typedef struct {
|
||||
OBDDONoiseRemovalType type;
|
||||
} OBNoiseRemovalFilterParams, ob_noise_removal_filter_params;
|
||||
|
||||
typedef struct {
|
||||
int margin_x_th; ///< Horizontal threshold settings
|
||||
int margin_y_th; ///< Vertical threshold settings
|
||||
int limit_x_th; ///< Maximum horizontal threshold
|
||||
int limit_y_th; ///< Maximum vertical threshold
|
||||
uint32_t width; ///< Image width
|
||||
uint32_t height; ///< Image height
|
||||
bool enable_direction; ///< Set to true for horizontal and vertical, false for horizontal only
|
||||
} OBEdgeNoiseRemovalFilterParams, ob_edge_noise_removal_filter_params;
|
||||
|
||||
/**
|
||||
* @brief Configuration parameters for the MGC noise removal filter
|
||||
*/
|
||||
typedef struct {
|
||||
int max_width_left; ///< Left chamfer threshold settings
|
||||
int max_width_right; ///< Right chamfer threshold settings
|
||||
int max_radius; ///< Chamfer radius threshold settings
|
||||
int margin_x_th; ///< Horizontal threshold settings
|
||||
int margin_y_th; ///< Vertical threshold settings
|
||||
int limit_x_th; ///< Maximum horizontal threshold
|
||||
int limit_y_th; ///< Maximum vertical threshold
|
||||
uint32_t width; ///< Depth map width the above parameters correspond to
|
||||
uint32_t height; ///< Depth map height the above parameters correspond to
|
||||
} OBMgcNoiseRemovalFilterParams, ob_mgc_noise_removal_filter_params;
|
||||
|
||||
/**
|
||||
* @brief Configuration parameters for the LUT noise removal filter
|
||||
*/
|
||||
typedef struct {
|
||||
uint16_t max_lut[16]; ///< LUT max size of noise pixels (4x4 LUT, 16 entries total)
|
||||
uint16_t min_diff; ///< Difference threshold between neighbor pixels
|
||||
uint32_t width; ///< Depth map width the above parameters correspond to
|
||||
uint32_t height; ///< Depth map height the above parameters correspond to
|
||||
} OBLutNoiseRemovalFilterParams, ob_lut_noise_removal_filter_params;
|
||||
|
||||
/**
|
||||
* @brief Control command protocol version number
|
||||
*/
|
||||
|
||||
@@ -610,6 +610,16 @@ typedef enum {
|
||||
*/
|
||||
OB_PROP_COLOR_PRESET_PRIORITY_INT = 255,
|
||||
|
||||
/**
|
||||
* @brief LLA (Link Local Address) switch
|
||||
*/
|
||||
OB_PROP_DEVICE_NETWORK_LLA_BOOL = 257,
|
||||
|
||||
/**
|
||||
* @brief Color anti-flicker switch
|
||||
*/
|
||||
OB_PROP_COLOR_ANTI_FLICKER_BOOL = 259,
|
||||
|
||||
/**
|
||||
* @brief Baseline calibration parameters
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user