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:
matlabbe
2018-03-22 11:22:47 -04:00
parent ef017c9e9d
commit 420fecad51
2 changed files with 15 additions and 16 deletions

View File

@@ -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