RaceCapture on Raspberry Pi

Introduction

Prerequisites

Change the default password

For maximum security, change the password for the default user 'pi'

> passwd

and specify a new, secure password.

Configure Raspberry Pi base settings

Enable WiFi

Enable and configure WiFi per the official documentation

(Optional) Enable SSH

You can optionally enable SSH for remote management from the comfort of your main computer's keyboard and screen.

Enable and configure ssh per the official documentation

Install multi-touch tools

Install the packages that enable multi-touch interfaces.

> sudo apt-get install mtdev-tools

Configure memory split

You'll need to bump up the memory made available to the GPU. Increase the default value of 64 to 256.

  • Via raspi-config tool

You can adjust the memory split by running the raspi-config tool. See the official documentation

  • Editing /boot/config.txt

You can adjust the value directly by editing the /boot/config.txt file.

> sudo nano /boot/config.txt

Find the line containing gpu_mem=64 and change the number to 256

gpu_mem=256

Installing the RaceCapture app package

Download the latest RaceCapture app package and place it in the /opt/ directory of the Raspberry Pi.

  • Directly downloading to the Raspberry Pi

You can download it directly by getting the URL of the package by right-clicking the download link and copying the URL to your clipboard. Then, use it in the command below:

cd /opt
sudo wget <package URL>

Extract the package

Now extract the downloaded package :

sudo tar -xjvf <downloaded file>

Launch the app

Launch the RaceCapture app by running the following command:

/opt/racecapture/run_racecapture.sh

Launching with Watchdog

You can enable an automatic watchdog that re-launches the app in case a crash occurs.

/opt/racecapture/run_racecapture.sh -w 1
  • Note: to break out of the watchdog loop, press ctrl-z to suspend the app, then issue:
killall -9 run_racecapture.sh

Automatic start upon power up

To get the full dedicated dashboard effect, you can have the RaceCapture App run automatically upon power up.

To do this, edit the system's startup file:

sudo nano /etc/rc.local

and add the following line to the end of the file:

/opt/racecapture/run_racecapture/sh -w 1 &

Save the file by pressing ctrl-x then press Y to confirm.