Build instructions

Michal Szwaj edited this page Mar 25, 2018 · 18 revisions

Prerequisites

Raspberry PI 3 (stretch)

  1. Build aasdk (see aasdk build instructions)

  2. Install needed software

$ sudo apt-get install -y libqt5multimedia5 libqt5multimedia5-plugins libqt5multimediawidgets5 qtmultimedia5-dev libqt5bluetooth5 libqt5bluetooth5-bin qtconnectivity5-dev pulseaudio librtaudio-dev librtaudio5a

  1. Build ilclient from Raspberry PI 3 firmware

$ cd /opt/vc/src/hello_pi/libs/ilclient

$ make

  1. Clone openauto repository

$ cd

$ git clone -b master https://github.com/f1xpl/openauto.git

  1. Create openauto_build directory at the same level as openauto dir

$ mkdir openauto_build

$ cd openauto_build

  1. Generate cmake files

Note: If needed, adjust paths accordingly to your aasdk and aasdk_build directories location.

$ cmake -DCMAKE_BUILD_TYPE=Release -DRPI3_BUILD=TRUE -DAASDK_INCLUDE_DIRS="/home/pi/aasdk/include" -DAASDK_LIBRARIES="/home/pi/aasdk/lib/libaasdk.so" -DAASDK_PROTO_INCLUDE_DIRS="/home/pi/aasdk_build" -DAASDK_PROTO_LIBRARIES="/home/pi/aasdk/lib/libaasdk_proto.so" ../openauto

  1. Build openauto

$ make

  1. Run openauto

$ /home/pi/openauto/bin/autoapp

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.