From 8a16c8c5b659bd5a57495d65e778af0088565418 Mon Sep 17 00:00:00 2001 From: slz Date: Thu, 3 Sep 2026 18:03:23 +0800 Subject: [PATCH] fix: update include path for ObSensor in GigEActionCommandNode --- orbbec_camera/CMakeLists.txt | 1 + orbbec_camera/include/orbbec_camera/gige_action_command_node.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/orbbec_camera/CMakeLists.txt b/orbbec_camera/CMakeLists.txt index 485e5ed5..79c53699 100644 --- a/orbbec_camera/CMakeLists.txt +++ b/orbbec_camera/CMakeLists.txt @@ -412,6 +412,7 @@ if(BUILD_TESTING) ament_lint_auto_find_test_dependencies() ament_add_gtest(camera_info_distortion_test test/camera_info_distortion_test.cpp) + target_link_directories(camera_info_distortion_test PRIVATE ${ORBBEC_LIBS_DIR}) target_link_libraries(camera_info_distortion_test ${PROJECT_NAME}) endif() diff --git a/orbbec_camera/include/orbbec_camera/gige_action_command_node.h b/orbbec_camera/include/orbbec_camera/gige_action_command_node.h index 0e311238..e7768790 100644 --- a/orbbec_camera/include/orbbec_camera/gige_action_command_node.h +++ b/orbbec_camera/include/orbbec_camera/gige_action_command_node.h @@ -20,7 +20,7 @@ #include -#include "libobsensor/hpp/Context.hpp" +#include "libobsensor/ObSensor.hpp" #include "orbbec_camera_msgs/srv/send_action_command.hpp" namespace orbbec_camera {