mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Docker updated artful image. Memory: fixed 2x icp correspondence ratio error (>1.0) when creating registration for icp proximity detection
This commit is contained in:
@@ -8,6 +8,7 @@ RUN apt-get update && apt-get install -y \
|
||||
libpcl-dev \
|
||||
git \
|
||||
cmake \
|
||||
libopencv-dev \
|
||||
libproj-dev \
|
||||
libqt5svg5-dev \
|
||||
libfreenect-dev \
|
||||
@@ -17,19 +18,6 @@ RUN apt-get update && apt-get install -y \
|
||||
|
||||
WORKDIR /root/
|
||||
|
||||
# using OpenCV from source because ffmpeg (libavutil..) error with opencv binaries:
|
||||
# rtabmap: symbol lookup error: /usr/lib/x86_64-linux-gnu/libavutil.so.55: undefined symbol: vdp_device_create_x11
|
||||
# ffmpeg above should be installed before building opencv
|
||||
|
||||
RUN git clone https://github.com/opencv/opencv_contrib.git
|
||||
RUN git clone https://github.com/opencv/opencv.git
|
||||
RUN cd opencv && mkdir build && cd build && \
|
||||
cmake -DOPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DBUILD_TESTS=OFF -DBUILD_PERF_TESTS=OFF .. && \
|
||||
make -j$(nproc) && \
|
||||
make install && \
|
||||
cd ../.. && \
|
||||
rm -rf opencv opencv_contrib
|
||||
|
||||
# Clone source code
|
||||
RUN git clone https://github.com/introlab/rtabmap.git
|
||||
|
||||
|
||||
Reference in New Issue
Block a user