mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 00:57:46 +08:00
* CI: use ubuntu arm runners instead of QEMU * removed focal deps docker image ci * run tests in docker ci * revert temporary test * trigger ci jobs with modified files * ldconfig * arm64 ldconfig order * No response filtering here: cv::goodFeaturesToTrack() already applies GFTT/QualityLevel, relative to the best corner's measure. Re-applying it as an absolute floor on KeyPoint::response double-filtered (~86% of keypoints ropped on OpenCV 4.5), and dropped *every* keypoint on OpenCV < 4.5, whose GFTTDetector leaves response at 0. * fixing ExtractXYZCorrespondencesRANSAC ci error * increased windows timeout (probably caused by gftt fix now extracting more features)
25 lines
704 B
Docker
25 lines
704 B
Docker
# Image: introlab3it/rtabmap:resolute
|
|
|
|
FROM introlab3it/rtabmap:resolute-deps
|
|
|
|
# Will be used to read/store databases on host
|
|
RUN mkdir -p /root/Documents/RTAB-Map && chmod 777 /root/Documents/RTAB-Map
|
|
|
|
# Copy current source code
|
|
COPY . /root/rtabmap
|
|
|
|
ARG RUN_TESTS=0
|
|
|
|
# Build RTAB-Map project
|
|
RUN source /ros_entrypoint.sh && \
|
|
cd rtabmap/build && \
|
|
cmake -DWITH_OPENGV=ON -DBUILD_TESTING=$RUN_TESTS .. && \
|
|
make -j4 && \
|
|
# ldconfig first: source-installed deps (GTSAM) are not yet in the loader cache.
|
|
if [ "$RUN_TESTS" = "1" ]; then ldconfig && ctest --output-on-failure -LE "long|performance"; fi && \
|
|
make install && \
|
|
cd ../.. && \
|
|
rm -rf rtabmap && \
|
|
ldconfig
|
|
|