/
Driver Display setup

Driver Display setup

This is a list of things I did to get the driver display app running on the raspberry pi + driver display:

Driver display + raspi setup

Flutter app building

Note: this step cannot be done on the raspberry pi because the flutter SDK doesn’t currently support ARM.

  • clone the telemetry_xiv repo onto the box.

  • Install flutter with sudo snap install flutter --classic

  • switch flutter to the stable channel with flutter channel stable, then flutter upgrade

  • cd into the telemetry repo, then run flutter build bundle

  • copy (via scp or otherwise; I used WinSCP) the folder MSXIV_Driver_Display/build/flutter_assets to the pi

Setting up flutter-pi

Flutter pi is the flutter engine used to run flutter natively on the pi. It’s repo is here: https://github.com/ardera/flutter-pi#running-your-app-with-flutter-pi

  • on the raspberry pi, clone https://github.com/ardera/flutter-pi.git

  • install the dependencies listed in the dependencies section of the repo’s readme. This step was surprisingly straightforward, so I’m not repeating them here.

  • run make in the repo folder

  • the binary created is flutter-pi/out/flutter-pi

Running the app on the pi

  • FLUTTER_ASSETS = the folder you copied to the raspi from the box

  • FLUTTER_PI_BIN = the binary created from the flutter-pi repo

  • There’s lots of options for flutter-pi, but the simplest command to run the app is:

  • $(FLUTTER_PI_BIN) $(FLUTTER_ASSETS)

Related content

Infotainment Display
Infotainment Display
More like this
Driver Display
Driver Display
More like this
Setup for Apple Silicon
Setup for Apple Silicon
More like this
Starting Out
Starting Out
More like this
2019-11-30 Design Review Meeting with Nate
2019-11-30 Design Review Meeting with Nate
More like this
Driver Display
Driver Display
More like this