Giter Site home page Giter Site logo

ewouth / openpilot-apks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from commaai/openpilot-apks

0.0 1.0 0.0 22.82 MB

The source code for the APK that runs inside openpilot.

License: MIT License

Java 14.55% Shell 0.50% Kotlin 16.46% JavaScript 64.54% Dockerfile 0.51% CMake 0.18% C++ 2.62% C 0.07% Starlark 0.59%

openpilot-apks's Introduction

openpilot-apks

The source code for the APKs that run alongside openpilot.

openpilot apk tests

offroad

offroad is the interactive UI displayed while your car is off. Its main features are device setup, comma account pairing, and settings management.

Dependencies

Ubuntu 16.04:

Android SDK:
sudo apt install openjdk-8-jdk openjdk-8-jre android-sdk
sudo chown -R $(whoami): /usr/lib/android-sdk
echo 'export ANDROID_HOME=/usr/lib/android-sdk' >> ~/.bashrc
echo 'export PATH="$PATH:/usr/lib/android-sdk/tools/bin"' >> ~/.bashrc
source ~/.bashrc

Android SDK Tools:
curl -o sdk-tools.zip "https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip"
unzip -o sdk-tools.zip -d "/usr/lib/android-sdk/"
chmod +x /usr/lib/android-sdk/tools/bin/*
sdkmanager "platform-tools" "platforms;android-23" "platforms;android-27" "ndk-bundle"
sdkmanager "extras;android;m2repository"
sdkmanager "extras;google;m2repository"
sdkmanager --licenses

Node:
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

Yarn:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn

Install capnpc-java:
git clone https://github.com/capnproto/capnproto-java.git
cd capnproto-java/
make
sudo make install

Build

Clone or move this repository under the openpilot repository before building. If you have not generated the capnp java files in the openpilot/cereal/ directory you need to run scons cereal/ in the openpilot directory to generate the files needed for building Offroad. This only needs to be done once.

See build.sh in project directories.

openpilot-apks's People

Contributors

valish avatar geohot avatar haraschax avatar pd0wm avatar efinilan avatar adeebshihadeh avatar pjlao307 avatar virtuallychris avatar erichmoraga avatar robbederks avatar zwx1616 avatar rbiasini avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.