Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.55 KB

Readme.md

File metadata and controls

40 lines (33 loc) · 1.55 KB

Run remote control on a Raspberry Pi

This folder contains scripts to configure a Pi to run the remote control. You can install a Raspberry Pi OS 32bit Lite (tested with raspbian Bullseye) and use the bootstrap.sh script to set it up:

Install Raspberry Pi OS Lite (32bit)

See: https://www.raspberrypi.com/software/operating-systems/

Setup username, password, hostname and ssh during image creation with rpi-imager or on first start with

sudo raspi-config

Use user 'ssl'.
Use username 'ssl-remote-control-#'.

Check architecture

dpkg --print-architecture

Architecture must be armhf cause of the used nwjs.

Download and extract latest bootstrap archive

wget -qO- https://github.com/RoboCup-SSL/ssl-remote-control/releases/latest/download/bootstrap.tar.gz | tar xvz

Run bootstrap script

./ssl-remote-control/bootstrap.sh

Optionally change the team color to BLUE in

~/.config/ssl-remote-control/remote-control-config.env

Note an Chromium vs. nw.js

Note: Chromium has a minimum window size of 500px, but the currently used Raspberry PI display is only 480x800px. In portrait mode, 20px on the right are cut-off.

As an alternative, nw.js is used. They do not provide arm builds, though, so the nw.js binary is taken from https://github.com/LeonardLaszlo/nw.js-armv7-binaries, specifically from an APT repository: LeonardLaszlo/nw.js-armv7-binaries#47.