Skip to content

Commit

Permalink
Update SDK to v1.10.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-dong committed Jul 8, 2024
1 parent 242a5fe commit c587b26
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 13 deletions.
11 changes: 11 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -O3")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fPIC -g3")
set(CMAKE_BUILD_TYPE "Release")


option(ENABLE_SANITIZER "Enable sanitizer options" OFF)

if (ENABLE_SANITIZER)
set(SANITIZER_FLAGS "-fsanitize=address -static-libasan ")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SANITIZER_FLAGS}")

set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${SANITIZER_FLAGS}")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} ${SANITIZER_FLAGS}")
endif()

# Options
option(USE_RK_HW_DECODER "Use Rockchip hardware decoder" OFF)
option(USE_NV_HW_DECODER "Use Nvidia hardware decoder" OFF)
Expand Down
2 changes: 1 addition & 1 deletion SDK/include/libobsensor/h/Error.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ob_status ob_error_status(ob_error *error);
* @param[in] error The error object.
* @return The error message.
*/
const char *ob_error_message(ob_error *error);
const char *ob_error_message(const ob_error *error);

/**
* @brief Get the name of the API function that caused the error.
Expand Down
27 changes: 18 additions & 9 deletions SDK/include/libobsensor/h/Property.h
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,10 @@ typedef enum {
* @brief Query the status of laser pulse width protection (read-only)
*/
OB_PROP_LASER_PULSE_WIDTH_PROTECTION_STATUS_BOOL = 149,
/**
* @brief depth noise removal filter
*/
OB_PROP_DEPTH_NOISE_REMOVAL_FILTER_BOOL = 165,

/**
* @brief Laser always on, true: always on, false: off, laser will be turned off when out of exposure time
Expand Down Expand Up @@ -415,23 +419,23 @@ typedef enum {

/**
* @brief slave device sync status
*/
OB_PROP_SLAVE_DEVICE_SYNC_STATUS_BOOL = 188,
*/
OB_PROP_SLAVE_DEVICE_SYNC_STATUS_BOOL = 188,

/**
/**
* @brief Color AE max exposure
*/
OB_PROP_COLOR_AE_MAX_EXPOSURE_INT = 189,
*/
OB_PROP_COLOR_AE_MAX_EXPOSURE_INT = 189,

/**
* @brief IR AE max exposure
*/
OB_PROP_IR_AE_MAX_EXPOSURE_INT = 190,
*/
OB_PROP_IR_AE_MAX_EXPOSURE_INT = 190,

/**
* @brief disparity search range mode
*/
OB_PROP_DISP_SEARCH_RANGE_MODE_INT = 191,
*/
OB_PROP_DISP_SEARCH_RANGE_MODE_INT = 191,

/**
* @brief Baseline calibration parameters
Expand Down Expand Up @@ -712,6 +716,11 @@ typedef enum {
*/
OB_PROP_SDK_IR_RIGHT_FRAME_UNPACK_BOOL = 3012,

/**
* @brief depth Margin Filter
*/
OB_PROP_SDK_DEPTH_RECTIFY_MG_FILTER_BOOL = 3013,

/**
* @brief Calibration JSON file read from device (Femto Mega, read only)
*/
Expand Down
2 changes: 1 addition & 1 deletion SDK/lib/arm32/libOrbbecSDK.so.1.10
Binary file not shown.
2 changes: 1 addition & 1 deletion SDK/lib/arm64/libOrbbecSDK.so.1.10
Binary file not shown.
2 changes: 1 addition & 1 deletion SDK/lib/x64/libOrbbecSDK.so.1.10
Binary file not shown.

0 comments on commit c587b26

Please sign in to comment.