From 1cfdd110091bc6a549bcce4d12480cb66e3d8cee Mon Sep 17 00:00:00 2001 From: Syed Razwanul Haque Nabil Date: Thu, 9 Oct 2025 00:33:25 +0600 Subject: [PATCH 1/3] Update log_module.cpp pthread issue solved. running smoothly in ROS2 Jazzy Jalisco on Ubuntu 24.04 --- ldlidar_driver/src/logger/log_module.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ldlidar_driver/src/logger/log_module.cpp b/ldlidar_driver/src/logger/log_module.cpp index 61369e0..1e3d985 100644 --- a/ldlidar_driver/src/logger/log_module.cpp +++ b/ldlidar_driver/src/logger/log_module.cpp @@ -19,6 +19,7 @@ #include #include +#include // Resolved issue for Ubuntu 24.04 and ROS2 Jazzy Jalisco #ifndef LINUX #include @@ -281,4 +282,4 @@ void LogPrint::LogPrintInf(const char* str) { #endif } -/********************* (C) COPYRIGHT SHENZHEN LDROBOT CO., LTD *******END OF FILE ********/ \ No newline at end of file +/********************* (C) COPYRIGHT SHENZHEN LDROBOT CO., LTD *******END OF FILE ********/ From dfe7f33658adaeddb392236392c9f6e0f6fb1629 Mon Sep 17 00:00:00 2001 From: Syed Razwanul Haque Nabil Date: Thu, 9 Oct 2025 00:35:03 +0600 Subject: [PATCH 2/3] The code supports ubuntu 24.04 ros2 Jazzy Jalisco version The code supports ubuntu 24.04 ros2 Jazzy Jalisco version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab7f5ef..cfc2bb3 100644 --- a/README.md +++ b/README.md @@ -311,7 +311,7 @@ colcon build ## step 4: test -> The code supports ubuntu 20.04 ros2 foxy version and above, using rviz2 visualization. +> The code supports ubuntu 24.04 ros2 Jazzy Jalisco version, using rviz2 visualization. - new a terminal (Ctrl + Alt + T) and use Rviz2 tool(run command: `rviz2`) ,open the `ldlidar.rviz` file below the rviz2 folder of the readme file directory ```bash From d86956cce508150e64e4c80f967ce07146ca0eaf Mon Sep 17 00:00:00 2001 From: Syed Razwanul Haque Nabil Date: Thu, 9 Oct 2025 00:41:03 +0600 Subject: [PATCH 3/3] Update README.md git link changed for download --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cfc2bb3..a5f4632 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ mkdir -p ldlidar_ros2_ws/src cd ldlidar_ros2_ws/src -git clone https://github.com/ldrobotSensorTeam/ldlidar_stl_ros2.git +git clone https://github.com/Nabilphysics/ldlidar_stl_ros2.git ``` ## 1. 系统设置 - 第一步,通过板载串口或者USB转串口模块(例如,cp2102模块)的方式使雷达连接到你的系统主板. @@ -171,7 +171,7 @@ mkdir -p ldlidar_ros2_ws/src cd ldlidar_ros2_ws/src -git clone https://github.com/ldrobotSensorTeam/ldlidar_stl_ros2.git +git clone https://github.com/Nabilphysics/ldlidar_stl_ros2.git ``` ## step 1: system setup - Connect the LiDAR to your system motherboard via an onboard serial port or usB-to-serial module (for example, CP2102 module).