V2I Traffic Light Demonstrator (vehicle-to-infrastructure communication)
Embedded Computing Master @ Munich University of Applied Science MUAS
Paper and project for SKILL 2017 @ Leipzig University
Steps for building the traffic light application:
- (Get a Debian based host system, we used Ubuntu 16.04)
- Get the Linaro toolchain for ARM gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf
- Extract it somewhere
- Look into the build script Raspberry_App/toolchain-build/cross-compile-libs.sh
- It has no error checking, so it's not meant to be run as a whole.
- Adjust the parameters at the beginning according to your system and run the commands one by one.
- You should now have a Raspbian image in /tmp. Store it somewhere, where it won't get deleted
- Use Raspberry_App/toolchain-build/mount-raspbian.sh to mount it
- Use CMake for building:
cd Raspberry_App/TrafficLight
mkdir build && cd build
cmake -D CMAKE_TOOLCHAIN_FILE="/path/to/rpi-toolchain.cmake" -D PIROOT="/path/to/rasp-pi-rootfs" -D TOOLCHAIN="/path/to/gcc-linaro-4.9-2016.02-x86_64_arm-linux-gnueabihf" ..
make
- For the configuration of Wifi (password), network etc. see cross-compile-libs.sh
- Optimized for 5.2" 1920 × 1080 Pixel (e.g. Nexus 5X)
- Android version 6, 7 or higher required
- Build with Android Studio
- Screenshot: