Skip to content
Android + Car + Arduino
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
gradle/wrapper
openCVLibrary2411
.gitignore
Diagram.png
LICENSE
README.md
add_remote_Autodrive.sh
build.gradle
gradlew
gradlew.bat
pull_Autodrive.sh
push_Autodrive.sh
push_Autodrive_forced.sh
settings.gradle

README.md

ANDROID CAR DUINO

Project overview

The world's first Autonomous android vehicle

Alt text

###Related repos: Autodrive

Building

###1. Get the android sdk

Either bundled with your IDE or downloaded from here

See \app\build.gradle for version information (subject to change).

###2. Download and extract the openCV for android sdk: Download link

###3. Download the Android-NDK Download link

##4. Set paths in the local.properties file

  • If you are using gradle from command line or terminal, you have to create the file manually.

  • If you are using android studio, first import the project, then add the ndk dir to the created file.

The local.properties file should contain the following lines, and must NOT be added to git:

sdk.dir= **ANDROID SDK DIR**
ndk.dir= **ANDROID NDK DIR**
opencv.dir= **OPENCV ANDROID SDK DIR**

Windows file separators ('') and drive letter separators (':') must be escaped ('\\') .The following is an example:

sdk.dir=F\:\\Java\\Android\\android-sdk
ndk.dir=F\:\\Java\\Android\\android-ndk-r10d
opencv.dir = F\:\\OpenCV\\OpenCV-android-sdk

##5. If you are not using Android Studio

Option1 building from terminal/cmd (Recommended)

Run gradlew, or gradlew.bat (from cmd) if using windows.

It will automatically download and extract gradle for you.

You can then run:

gradlew build

To build the APK's, they are generated to \app\build\outputs

Option2 Import the gradle project to your IDE

You can’t perform that action at this time.