mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
* Created general CameraMobile interface. Tango is now optional. Camera is disabled on visualizaion (battery saving). * Working android app on non-tango android phones (tested on x86_64 android emulator). * fixed typo * android: updated tango not available msg * android: fixed build with latest android sdk/ndk * Added ARCore limited support for pose and rgb streams. * Added AREngine support. Don't assert if depth size is not a modulo of rgb size. * Added ARCore shared camera support * android: fixed read/write runtime permissions for >=api23. arcore ndk: added feature point cloud. Fixed file sharing persmissions (>=api24 issue) * ARCore NDK: mapping with feature point cloud * android: Added post build strip command to reduce native library size * android: fixed some compilation issues * android: put back gtsam as default optimizer, manifest min api is dynamic based on cmake parameters * AREngine: min api 24 * android: Fixed build without AREngine * android: fixed not available libraries for API<24 * android: fixed build with old cmake versions * android: set arcore min api to 23 * android: fixed arengine error on start when not built with native arengine support * android: fixed tango camera permission for api>=23 * Added bionic android docker files * Fixed wrong 3D words projection when depth size is not an exact multiple of rgb size. DbViewer: fixed images size not correctly shown in label of the calibration. ImageView: fixed depth scale when depth size is not a multiple of rgb size * CameraMobile: added exact display rotation for local transform * DbViewer: fixed gravity link shown in constraint view, show full local transform matrix in camera calibration label * Android: fixed localization mode in visualization, fixed some tansitions between some UI states * Android: Hide stop button when HUD is hidden. Updated About years.
39 lines
1.4 KiB
Docker
39 lines
1.4 KiB
Docker
# Image: introlab3it/rtabmap:android-deps
|
|
|
|
FROM ubuntu:18.04
|
|
|
|
# Install build dependencies
|
|
RUN apt-get update && apt-get install -y --no-install-recommends apt-utils
|
|
RUN apt-get update && apt-get install -y \
|
|
git unzip wget ant cmake \
|
|
g++ lib32stdc++6 lib32z1 \
|
|
software-properties-common \
|
|
freeglut3-dev \
|
|
openjdk-8-jdk openjdk-8-jre
|
|
|
|
ENV ANDROID_NDK_VERSION=r21
|
|
ENV ANDROID_HOME=/opt/android-sdk
|
|
ENV PATH=$PATH:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/android-ndk-$ANDROID_NDK_VERSION
|
|
ENV ANDROID_NDK=/opt/android-ndk-$ANDROID_NDK_VERSION
|
|
ENV JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
|
|
|
|
WORKDIR /root/
|
|
|
|
# Setup android sdk
|
|
RUN wget -nv https://dl.google.com/android/repository/tools_r25.2.3-linux.zip && \
|
|
unzip -qq tools_r25.2.3-linux.zip && \
|
|
rm tools_r25.2.3-linux.zip && \
|
|
mkdir $ANDROID_HOME && \
|
|
mv tools $ANDROID_HOME/.
|
|
RUN echo y | android update sdk --no-ui --all --filter platform-tools,android-23,android-24,android-26,build-tools-29.0.3
|
|
|
|
# Setup android ndk
|
|
RUN wget -nv https://dl.google.com/android/repository/android-ndk-$ANDROID_NDK_VERSION-linux-x86_64.zip && \
|
|
unzip -qq android-ndk-$ANDROID_NDK_VERSION-linux-x86_64.zip && \
|
|
rm android-ndk-$ANDROID_NDK_VERSION-linux-x86_64.zip && \
|
|
mv android-ndk-$ANDROID_NDK_VERSION /opt/.
|
|
|
|
ADD deps.bash /root/deps.bash
|
|
RUN chmod +x deps.bash
|
|
RUN /bin/bash -c "./deps.bash /opt/android"
|