Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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模块)的方式使雷达连接到你的系统主板.
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion ldlidar_driver/src/logger/log_module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <time.h>
#include <string.h>
#include <pthread.h> // Resolved issue for Ubuntu 24.04 and ROS2 Jazzy Jalisco

#ifndef LINUX
#include <comutil.h>
Expand Down Expand Up @@ -281,4 +282,4 @@ void LogPrint::LogPrintInf(const char* str) {
#endif
}

/********************* (C) COPYRIGHT SHENZHEN LDROBOT CO., LTD *******END OF FILE ********/
/********************* (C) COPYRIGHT SHENZHEN LDROBOT CO., LTD *******END OF FILE ********/