Skip to content

Blink Command

Pre-release
Pre-release
Compare
Choose a tag to compare
@jeffstjean jeffstjean released this 25 Mar 16:26
· 19 commits to master since this release

This includes everything necessary to blink and led on a Raspberry Pi 4 from a browser based ground station. It also supports mocked hardware calls when running locally for development purposes.

Compile for Raspberry Pi 4 using docker-compose up rpi4. Copy the folder containing the executable build-rpi4/exe/cpu2 to the RPi and run with sudo ./core-cpu2. This will start cFS on the RPi. Make note of the UDP port specified in the startup logs by CI_Lab (it's generally port 1234 or 1235).

Return to the local computer and use docker-compose up gnd to start the ground station. Navigate to http://localhost:5000 and use the "Blink Baby!" button to toggle the green LED on the Raspberry Pi.