johndcollins / RTTClient

MIT License
2 stars 2 forks source link

RTTClient for Raspberry Pi 4

This is a RTTClient for Raspberry Pi 4 that I wrote for my MFDs.

I didn't want to run another two cables to the front of my pit and I can't add anymore outputs to my main computer anyway as it's running 3 projectors. Adding more outputs with different resolutions messes up the Flyelise and nvidia warping.

Current Features:

Display support:

Additional Features:

Possible future enhancements:

Setup

You will need to build this project.

One way is to follow these steps (can be done in many different ways)

Install the following dependencies:

sudo apt-get install -y build-essential gdb g++ zip cmake
sudo apt-get install -y libsdl2-dev
sudo apt install -y libsdl2-image-dev
sudo apt install -y libsdl2-ttf-dev
sudo apt-get install -y libglew-dev

Clone RakNet from here : https://github.com/larku/RakNet Put it in ~\RakNet

Compile place the libraries in the correct folders

Clone this project in a folder like ~/projects/rttclient on your Rpi 4. Go to the folder and run:

cmake .
cmake --build .

This will create a RTTClient file in the src folder. Copy the following files to a new folder here ~/RTTClient

RTTClient
RTTClient.ini
font.ttf
start.sh

To autostart the RTTClient when you boot the Rpi create this file:

nano .config/autostart/rtt.desktop

and enter this in the file and save:

[Desktop Entry]
Type=Application
Name=RTTClient
Exec=/home/pi/RTTClient/start.sh

If you put the RTTClient executable in a different folder, you will need to modify this and the startup.sh script.

You might have to make both the RTTClient and the start.sh executable using the chmod +x command