Open matlabbe opened 3 months ago
On Windows, use OusterSDK DLL version: https://github.com/ouster-lidar/ouster-sdk/pull/608 to avoid "silent crash" (in this function) with the static library (still not sure what is causing this, rtabmap includes a bunch of dependencies that may clash with the static library).
For convenience, apply this patch:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9994531..4986fc6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,7 +13,7 @@ include(DefaultBuildType)
include(VcpkgEnv)
# ==== Project Name ====
-project(ouster_example VERSION 20231031)
+project(OusterSDK VERSION 20231031)
so that OusterSDK library installed in Program Files
can be detected automatically with cmake, otherwise we need to do:
cmake -DOusterSDK_DIR="C:/Program Files (x86)/ouster_example/lib/cmake/OusterSDK ..
Well, if C:\Program Files (x86)\OusterSDK\bin
is on the PATH
, that may work even if we don't change project name (not tested).
Install https://github.com/ouster-lidar/ouster-sdk
Verify rtabmap is detecting it at the end of cmake output:
Ouster sample data to try on: https://static.ouster.dev/sensor-docs/#sample-data
Integrated to tools:
rtabmap-lidarMapping
rtabmap-lidarViewer
(may crash on Ubuntu 22.04 with default system PCL/VTK, known issue here)Integrated to standalone UI:
Presets for convenience to use indoor or outdoor: