-
Notifications
You must be signed in to change notification settings - Fork 3
Environment Variables
Default is October Sky
HOTFIRE_TEST
: Run HotFire test.
SKIP_INIT
: Don't wait for sensors to initialize before switching to the first state.
TESTING
: Enable sensor testing and load sensor data from a testing file instead of real sensors. See here
USE_LOGGER
: Enable logging to a file. See here
TARGET_UPDATE_DURATION_NS
: Target duration for each logic update. Default: 33333333
(30 Hz)
LOG_PATH
: Path where log files should be saved. Default: "/data/"
TESTING_INPUT_FILE
: File that contains sensor data for testing, only used if TESTING
is enabled. Default: "./data/test-data.csv"
USE_SBG
: Enable SBG Sensor
USE_INPUT
: Enable stdin listener that can control the states
On Linux/WSL:
Set: export <variable-Name>=1
Unset: unset <variable-Name>
You can also set this up with Vscode
- Getting started
- Environment Variables
- Compiling the SBG Library on Linux\Unix\WSL
- Developing on Windows with VSCode
- Set Environment Variable In Vscode With The Cmake Plugin
- Creating Unit Tests
- Cross compiling for the Raspberry Pi
- Info and Error Logging in the Rocket Code
- Send Folder via SSH
Configuration:
Raspberry Pi Setup:
- Add a new wifi network on the Raspberry Pi
- Connect to Raspberry Pi via SSH
- Important Notes About Setting Up Raspberry Pi
- Running Emulation of Raspberry Pi
Logging Format: