From 853b567cb46ab71359ceb3fcbe80b7aee5f1897d Mon Sep 17 00:00:00 2001 From: baradejoo Date: Sat, 10 Oct 2026 18:35:18 +0200 Subject: [PATCH 1/5] Move package to section not for win --- vinca.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vinca.yaml b/vinca.yaml index 85deac0f..7e6a6a3b 100644 --- a/vinca.yaml +++ b/vinca.yaml @@ -329,7 +329,6 @@ packages_select_by_deps: - easynav_system - easynav_tools - easynav_vff_controller - - livox_ros_driver2 - navmap_core - navmap_examples - navmap_ros @@ -399,6 +398,7 @@ packages_select_by_deps: - joint_state_publisher - joy - laser-segmentation + - livox_ros_driver2 - mobile_robot_simulator - mocap4r2_control - mocap4r2_control_msgs From d2e5071d67ad7346fd87a7638567fd17b940ede6 Mon Sep 17 00:00:00 2001 From: baradejoo Date: Sat, 10 Oct 2026 19:03:26 +0200 Subject: [PATCH 2/5] Fix livox_ros_driver2 SDK lookup on macOS find_library() hardcoded the Linux file name liblivox_lidar_sdk_shared.so, so the SDK shipped as .dylib on macOS was never found. Use NAMES livox_lidar_sdk_shared so CMake picks the platform-specific suffix. --- patch/ros-lyrical-livox-ros-driver2.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/patch/ros-lyrical-livox-ros-driver2.patch b/patch/ros-lyrical-livox-ros-driver2.patch index aea77b11..9d5b319a 100644 --- a/patch/ros-lyrical-livox-ros-driver2.patch +++ b/patch/ros-lyrical-livox-ros-driver2.patch @@ -1,5 +1,5 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt -index 99a8ccc..b59e949 100644 +index 99a8ccc..221b2c1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,6 @@ @@ -17,3 +17,12 @@ index 99a8ccc..b59e949 100644 # Default to C99 if(NOT CMAKE_C_STANDARD) +@@ -246,7 +249,7 @@ else(ROS_EDITION STREQUAL "ROS2") + ) + + ## make sure the livox_lidar_sdk_shared library is installed +- find_library(LIVOX_LIDAR_SDK_LIBRARY liblivox_lidar_sdk_shared.so /usr/local/lib REQUIRED) ++ find_library(LIVOX_LIDAR_SDK_LIBRARY NAMES livox_lidar_sdk_shared PATHS /usr/local/lib REQUIRED) + + ## + find_path(LIVOX_LIDAR_SDK_INCLUDE_DIR From 501ea6d8b51f65186d7367b96ee550b59d0dea3d Mon Sep 17 00:00:00 2001 From: baradejoo Date: Sat, 10 Oct 2026 19:14:20 +0200 Subject: [PATCH 3/5] Add livox-sdk2 as run dependency of livox_ros_driver2 livox-sdk2 was only a host dependency, so the installed driver failed at startup on every platform with: Library not loaded: @rpath/liblivox_lidar_sdk_shared.dylib because liblivox_ros_driver2 links against the SDK shared library but nothing pulled it into the user's environment. --- patch/dependencies.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/patch/dependencies.yaml b/patch/dependencies.yaml index 9e0f2e4c..98a16b75 100644 --- a/patch/dependencies.yaml +++ b/patch/dependencies.yaml @@ -297,6 +297,7 @@ camera_calibration: add_run: ["libopencv * *qt6*"] livox_ros_driver2: add_host: ["livox-sdk2"] + add_run: ["livox-sdk2"] spdlog_vendor: add_host: ["spdlog"] add_run: ["spdlog"] From 96981dda8f48d582799b86daacf201803fd4552f Mon Sep 17 00:00:00 2001 From: baradejoo Date: Sat, 10 Oct 2026 23:46:33 +0200 Subject: [PATCH 4/5] Bump livox_ros_driver2 build number to rebuild with livox-sdk2 run dependency --- pkg_additional_info.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg_additional_info.yaml b/pkg_additional_info.yaml index 3bc2d92e..001538ea 100644 --- a/pkg_additional_info.yaml +++ b/pkg_additional_info.yaml @@ -272,3 +272,5 @@ tf_transformations: build_number: 28 turtlesim: build_number: 28 +livox_ros_driver2: + build_number: 28 From 1147072c32203c946019b1031e33dd0ceed22a59 Mon Sep 17 00:00:00 2001 From: baradejoo Date: Sat, 10 Oct 2026 23:50:31 +0200 Subject: [PATCH 5/5] Sort pkg_additional_info.yaml --- pkg_additional_info.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg_additional_info.yaml b/pkg_additional_info.yaml index 001538ea..d455a94a 100644 --- a/pkg_additional_info.yaml +++ b/pkg_additional_info.yaml @@ -244,6 +244,8 @@ gz_gui_vendor: gz_sim_vendor: additional_cmake_args: "-DAMENT_VENDOR_POLICY=NEVER_VENDOR_IGNORE_SATISFIED_CHECK" build_number: 28 +livox_ros_driver2: + build_number: 28 rqt_plot: build_number: 28 rqt_py_common: @@ -272,5 +274,3 @@ tf_transformations: build_number: 28 turtlesim: build_number: 28 -livox_ros_driver2: - build_number: 28