rsjudka / intelligent-auto

41 stars 15 forks source link

THIS PROJECT HAS MOVED!

Please head over to dash, part of the openDsh org, for the latest and greatest of this project!

IntelligentAuto

IntelligentAuto is a Qt-based infotainment center for your current Linux OpenAuto installation!

Main features include:

home

openauto_maps

openauto_spotify

media

data

settings

Getting Started

Prerequisites

The following packages have been used while developing this application (NOTE some things may be missing and others are not actually needed):

If you plan on using the Qt video library instead of the OMX library (i.e. not using a Raspberry Pi) you'll also most likely want the following packages:

For a Raspberry Pi, you will also need to run the following commands:

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

Building

It is assumed you have cloned this repo with all submodules and are in the root directory.

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
make

If building this for a Raspberry Pi, add -DRPI_BUILD=TRUE to the cmake command.

Running

Building dash will create the ia binary in bin/. Depending on what you're running it on, you may need to make some adjustments to your system.

Some things to consider when configuring your system:

Gotchas

Adjusting the brightness does not actually change the screens brightness, it just changes the opacity of the window.

Authentication of bluetooth connections are not handled in the application (i.e. the first time you are connecting a device). To keep things simple, you could install blueman which will prompt you for the necessary actions. If you are still having problems, you may need to try manually authenticating the bluetooth connection.

There is currently no option for setting the OBD-II interface. Right now it is assumed you have an adapter connected on /dev/ttyUSB0.

Settings are saved periodically every 10 seconds (or anytime the save button is clicked).

Not all OpenAuto settings are acessible.

If using GStreamer for your video backend (i.e. not a Raspberry Pi), you may get some black bars around the margins of OpenAuto. I'm still trying to figure out a way for it to ignore the aspect ratio.

Future Features/Fixes