build: vendor the Slamtec rplidar SDK in third_party

The repo is now self-contained: driver_rplidar compiles the SDK from
third_party/rplidar_sdk (Linux sources only, teardown delete[] bug fixed
in place), so a plain cmake configure needs no SDK path and no probing —
the XLIDAR_RPLIDAR_SDK_DIR option and external references are gone.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-15 09:15:37 +07:00
parent ef217bdca8
commit 161a33a71e
58 changed files with 10690 additions and 45 deletions

View File

@@ -11,10 +11,6 @@ find_package(Threads REQUIRED)
option(XLIDAR_BUILD_EXAMPLES "Build example/demo binaries" ON)
# Where the rplidar plugin finds the Slamtec SDK sources (include/ + src/).
# Empty + not auto-detected -> the rplidar plugin is skipped with a warning.
set(XLIDAR_RPLIDAR_SDK_DIR "" CACHE PATH "Path to the Slamtec RPLIDAR SDK (dir containing include/ and src/)")
add_subdirectory(src)
add_subdirectory(plugins)