mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 10:00:23 +08:00
* Sparse Bayes * updated perf test * improved tests with real data * Making sparse works in incremental mapping * bookkeeping optimization * small opt * refactoring * splitting dense and sparse in different classes to make the code more lisible * cleanup comments * fixing CI * Making all Bayes tests testing both dense and sparse * Added multisession_3it integration test (test memory management, multisession and dense/sparse bayes in that settings) * optimized sparse when transfer/retrieval happens (was slower than dense for that case) * Testing retrieval param variants * Updated multisession_3it integration tests to compare loop closure hypotheses * bump version * Fixed ui sum of prediction * adding g2o gtsam to linux ci * cleanup * added debug crash log for ci * Simplified Bayes/SparsePrediction description * Dont show too dense for sparse on small maps (e.g., when we just started a new map) * fixing amd64v3 issue with gtsam on ci ubuntu 26 * Dot not auto switch to dense based on map size. * updating test range * added coverage tests * Adressing coverage * ignore one line in coverage for purpose
20 lines
932 B
Bash
20 lines
932 B
Bash
# Puts the graph optimizers taken from the ROS 2 repo (see cmake-linux.yml) on
|
|
# the loader path, for a shell that is about to run something built against
|
|
# them. Sourced, not executed: it exports into the caller.
|
|
#
|
|
# source .github/scripts/ros-deps-env.sh /opt/ros/humble
|
|
#
|
|
# A missing or empty prefix is a build that took every dependency from the
|
|
# Ubuntu archive: nothing to add.
|
|
#
|
|
# Both directories are needed. GTSAM and g2o install their libraries in the
|
|
# multiarch subdirectory, while the prefix's own lib/ holds the rest, and
|
|
# libgtsam.so carries no RUNPATH -- so the loader finds neither it nor the
|
|
# libmetis-gtsam.so it pulls in without being told where to look.
|
|
ros_prefix="${1:-}"
|
|
if [ -n "$ros_prefix" ] && [ -d "$ros_prefix" ]; then
|
|
ros_lib="$ros_prefix/lib"
|
|
export LD_LIBRARY_PATH="${ros_lib}:${ros_lib}/$(gcc -dumpmachine)${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
|
|
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
|
|
fi
|