[config]Update OrbbecSDKConfig

This commit is contained in:
jj
2024-11-19 18:43:26 +08:00
parent b9e135ff20
commit aad85b74be
4 changed files with 1608 additions and 2982 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ ros2 launch orbbec_camera gemini_intra_process_demo_launch.py
To enable the V4L2 backend for the Gemini2 series cameras, follow these steps: To enable the V4L2 backend for the Gemini2 series cameras, follow these steps:
1. The Gemini2 series cameras support the V4L2 backend. 1. The Gemini2 series cameras support the V4L2 backend.
2. Open the `config/OrbbecSDKConfig_v1.0.xml` file. 2. Open the `config/OrbbecSDKConfig_v2.0.xml` file.
3. Set the navigation option to `LinuxUVCBackend`. 3. Set the navigation option to `LinuxUVCBackend`.
4. Change the backend setting to `V4L2`. 4. Change the backend setting to `V4L2`.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -75,7 +75,7 @@ OBCameraNodeDriver::OBCameraNodeDriver(const rclcpp::NodeOptions &node_options)
: Node("orbbec_camera_node", "/", node_options), : Node("orbbec_camera_node", "/", node_options),
node_options_(node_options), node_options_(node_options),
config_path_(ament_index_cpp::get_package_share_directory("orbbec_camera") + config_path_(ament_index_cpp::get_package_share_directory("orbbec_camera") +
"/config/OrbbecSDKConfig_v1.0.xml"), "/config/OrbbecSDKConfig_v2.0.xml"),
logger_(this->get_logger()), logger_(this->get_logger()),
extension_path_(ament_index_cpp::get_package_prefix("orbbec_camera") + "/lib/extensions") { extension_path_(ament_index_cpp::get_package_prefix("orbbec_camera") + "/lib/extensions") {
init(); init();
@@ -86,7 +86,7 @@ OBCameraNodeDriver::OBCameraNodeDriver(const std::string &node_name, const std::
: Node(node_name, ns, node_options), : Node(node_name, ns, node_options),
node_options_(node_options), node_options_(node_options),
config_path_(ament_index_cpp::get_package_share_directory("orbbec_camera") + config_path_(ament_index_cpp::get_package_share_directory("orbbec_camera") +
"/config/OrbbecSDKConfig_v1.0.xml"), "/config/OrbbecSDKConfig_v2.0.xml"),
logger_(this->get_logger()), logger_(this->get_logger()),
extension_path_(ament_index_cpp::get_package_prefix("orbbec_camera") + "/lib/extensions") { extension_path_(ament_index_cpp::get_package_prefix("orbbec_camera") + "/lib/extensions") {
init(); init();