Files
rtabmap_ros/rtabmap_demos/CMakeLists.txt
T
matlabbe 82f0754bf7 rtabmap_demos tests and docs (#1462)
* rtabmap_demos tests and docs

* added bag testing

* added rtabmap_examples launch tests

* updating demo bag download paths

* added netherdrone demo

* Fixed rgb-only callback with lidar rejected.  Updated lidar params

* Added back OrbitOriented rviz view to ros2, with optional octomap wll clipping

* fixing ci

* lidar demo added intermediate_nodes option

* added netherdrone as demo test

* running rtabmap_demos tests on ci

* added rtabmap_launch tests, fixed ground_truth_base_frame_id usage

* ficing rolling

* updating demo test harnest

* densify golden trajectories to avoid tf missing

* fixing tf steps

* updated min icp ratio for netherdrone demo

* fixing image_transport arg->params

* export pose opt=0

* lets process all frames

* updated netherdrone golden

* fixing publishers queue size just for tests

* added playdback demo doc

* Adding more logs to debug ci

* Fixing QOS for CI to reliable, added find-object demo test

* name threads

* fixing camera info expected transient on lyrical/rolling. Fixing find_object not appearing idle

* 30 Hz polling backward comp

* fixing test tf sim lock

* fixing lyrical qos bag parsing

* faster replay

* lockstep

* fixing clock deadlock

* Added test on shutdown

* updated netherdrone golden poses

* Extended stereo outdoor test

* updated shutdown test

* updated test

* multi-thread flaky test

* adding backtrace when test fails

* increased closure slack for netherdrone

* g2o gauss newton on stereo

* adjusted maximum optimizer iterations

* updated default iterations

* Added netherdrone in list of demos
2026-10-10 12:23:49 -07:00

33 lines
1.3 KiB
CMake

cmake_minimum_required(VERSION 3.5)
project(rtabmap_demos)
find_package(ament_cmake REQUIRED)
install(DIRECTORY launch config params data
DESTINATION share/${PROJECT_NAME}
)
# find_object_2d's detections as landmarks, for find_object_demo.launch.py.
install(PROGRAMS scripts/find_object_to_landmarks.py
DESTINATION lib/${PROJECT_NAME}
)
if(BUILD_TESTING)
find_package(ament_cmake_pytest REQUIRED)
# rtabmap_launch's launch file test, on this package's installed launch files: each
# dry-run with each of its switches; nothing is started, so it needs no DDS domain of its
# own. Run from where rtabmap_launch installed it: no pytest cache written there.
find_package(rtabmap_launch REQUIRED)
ament_add_pytest_test(test_launch_files ${rtabmap_launch_DIR}/../test/test_launch_files.py
ENV RTABMAP_LAUNCH_TEST_PACKAGE=${PROJECT_NAME} "PYTEST_ADDOPTS=-p no:cacheprovider"
TIMEOUT 900)
# Replays the demo bags through the demo launch files and compares the graphs with
# test/golden. Skipped unless the bags were fetched (test/fetch_test_data.sh). The
# demos' nodes talk over DDS, so it gets a domain of its own; see rtabmap_slam's for
# the other packages' ranges.
ament_add_pytest_test(test_demo_playback test/test_demo_playback.py
ENV ROS_DOMAIN_ID=110
TIMEOUT 7200)
endif()
ament_package()