mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 03:57:46 +08:00
Update OrbbecSDK version to 2.5.3 and bump version to 2.5.3
This commit is contained in:
@@ -64,14 +64,18 @@ OB_EXPORT ob_device_list *ob_query_device_list(ob_context *context, ob_error **e
|
|||||||
OB_EXPORT void ob_enable_net_device_enumeration(ob_context *context, bool enable, ob_error **error);
|
OB_EXPORT void ob_enable_net_device_enumeration(ob_context *context, bool enable, ob_error **error);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Changes the IP configuration of a network device.
|
* @brief "Force" a static IP address configuration in a device identified by its MAC Address.
|
||||||
*
|
*
|
||||||
* @param[in] deviceUid The unique device ID (MAC address). obtained via @ref ob_device_info_get_uid.
|
* @param[in] macAddress MAC address of the network device.
|
||||||
* @param[in] config The new IP configuration to apply.
|
* You can obtain it from @ref DeviceList::uid(), or specify it manually
|
||||||
|
* in the format xx:xx:xx:xx:xx:xx, where each xx is a two-digit hexadecimal value.
|
||||||
|
* @param[in] config The new IP configuration.
|
||||||
* @param[out] error Pointer to an error object that will be populated if an error occurs.
|
* @param[out] error Pointer to an error object that will be populated if an error occurs.
|
||||||
* @return bool true if the configuration command was processed successfully, false otherwise.
|
* @return bool true if the configuration command was processed successfully, false otherwise.
|
||||||
|
*
|
||||||
|
* @note This applies to all Orbbec GigE Vision devices
|
||||||
*/
|
*/
|
||||||
OB_EXPORT bool ob_change_net_device_ip_config(const char *deviceUid, ob_net_ip_config config, ob_error **error);
|
OB_EXPORT bool ob_force_ip_config(const char *deviceUid, ob_net_ip_config config, ob_error **error);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Create a network device object
|
* @brief Create a network device object
|
||||||
|
|||||||
@@ -98,15 +98,19 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Changes the IP configuration of a network device.
|
* @brief "Force" a static IP address configuration in a device identified by its MAC Address.
|
||||||
*
|
*
|
||||||
* @param[in] deviceUid The device unique ID, which is the network device MAC address. It can be obtained through the @ref DeviceList::uid() function.
|
* @param[in] macAddress MAC address of the network device.
|
||||||
|
* You can obtain it from @ref DeviceList::uid(), or specify it manually
|
||||||
|
* in the format xx:xx:xx:xx:xx:xx, where each xx is a two-digit hexadecimal value.
|
||||||
* @param[in] config The new IP configuration.
|
* @param[in] config The new IP configuration.
|
||||||
* @return bool true if the configuration command was processed successfully, false otherwise.
|
* @return bool true if the configuration command was processed successfully, false otherwise.
|
||||||
|
*
|
||||||
|
* @note This applies to all Orbbec GigE Vision devices
|
||||||
*/
|
*/
|
||||||
bool changeNetDeviceIpConfig(const char *deviceUid, const OBNetIpConfig &config) {
|
bool forceIp(const char *macAddress, const OBNetIpConfig &config) {
|
||||||
ob_error *error = nullptr;
|
ob_error *error = nullptr;
|
||||||
auto res = ob_change_net_device_ip_config(deviceUid, config, &error);
|
auto res = ob_force_ip_config(macAddress, config, &error);
|
||||||
Error::handle(&error);
|
Error::handle(&error);
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
|
|||||||
# Import target "ob::OrbbecSDK" for configuration "Release"
|
# Import target "ob::OrbbecSDK" for configuration "Release"
|
||||||
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||||
set_target_properties(ob::OrbbecSDK PROPERTIES
|
set_target_properties(ob::OrbbecSDK PROPERTIES
|
||||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.5.2"
|
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.5.3"
|
||||||
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so.2"
|
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so.2"
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
|
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
|
||||||
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.5.2" )
|
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.5.3" )
|
||||||
|
|
||||||
# Commands beyond this point should not need to know the version.
|
# Commands beyond this point should not need to know the version.
|
||||||
set(CMAKE_IMPORT_FILE_VERSION)
|
set(CMAKE_IMPORT_FILE_VERSION)
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
libOrbbecSDK.so.2.5.2
|
libOrbbecSDK.so.2.5.3
|
||||||
BIN
Binary file not shown.
@@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1)
|
|||||||
# Import target "ob::OrbbecSDK" for configuration "Release"
|
# Import target "ob::OrbbecSDK" for configuration "Release"
|
||||||
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
set_property(TARGET ob::OrbbecSDK APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||||
set_target_properties(ob::OrbbecSDK PROPERTIES
|
set_target_properties(ob::OrbbecSDK PROPERTIES
|
||||||
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.5.2"
|
IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.5.3"
|
||||||
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so.2"
|
IMPORTED_SONAME_RELEASE "libOrbbecSDK.so.2"
|
||||||
)
|
)
|
||||||
|
|
||||||
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
|
list(APPEND _cmake_import_check_targets ob::OrbbecSDK )
|
||||||
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.5.2" )
|
list(APPEND _cmake_import_check_files_for_ob::OrbbecSDK "${_IMPORT_PREFIX}/lib/libOrbbecSDK.so.2.5.3" )
|
||||||
|
|
||||||
# Commands beyond this point should not need to know the version.
|
# Commands beyond this point should not need to know the version.
|
||||||
set(CMAKE_IMPORT_FILE_VERSION)
|
set(CMAKE_IMPORT_FILE_VERSION)
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
libOrbbecSDK.so.2.5.2
|
libOrbbecSDK.so.2.5.3
|
||||||
BIN
Binary file not shown.
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
#define OB_ROS_MAJOR_VERSION 2
|
#define OB_ROS_MAJOR_VERSION 2
|
||||||
#define OB_ROS_MINOR_VERSION 5
|
#define OB_ROS_MINOR_VERSION 5
|
||||||
#define OB_ROS_PATCH_VERSION 2
|
#define OB_ROS_PATCH_VERSION 3
|
||||||
|
|
||||||
#ifndef STRINGIFY
|
#ifndef STRINGIFY
|
||||||
#define STRINGIFY(arg) #arg
|
#define STRINGIFY(arg) #arg
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
|
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
|
||||||
<package format="3">
|
<package format="3">
|
||||||
<name>orbbec_camera</name>
|
<name>orbbec_camera</name>
|
||||||
<version>2.5.2</version>
|
<version>2.5.3</version>
|
||||||
<description>Orbbec Camera package</description>
|
<description>Orbbec Camera package</description>
|
||||||
<maintainer email="[email protected]">Joe Dong</maintainer>
|
<maintainer email="[email protected]">Joe Dong</maintainer>
|
||||||
<license>Apache-2.0</license>
|
<license>Apache-2.0</license>
|
||||||
|
|||||||
Reference in New Issue
Block a user