calibration_tools_v1.0/lidar_driver/README.MD
2025-02-20 10:45:17 +08:00

636 B

找到 CMakeLists.txt 中编译静态库的地方,确保添加 -fPIC 标志。可以通过以下方式添加:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")

source file

livox_sdk_wrapper.cpp

cd build

make -j8

install

copy lidar_driver to board path: /root/calibration_tools

execute

./lidar_driver 300000

q&a

(base) root@localhost:~/calibration_tools# ./lidar_driver 300000 cloud_points_count == [300000] Livox SDK initializing. Livox SDK has been initialized. Livox SDK version 2.3.0 . Started device discovery. start_sampling error is -3

cd /root/app/detect-ui ./start.sh # start lidar kill -9 pid