Configuration¶
All AURORA features are toggled and tuned through Kconfig. Use
west build -t menuconfig or ./run.sh -b <board> menuconfig to
browse options interactively.
Feature Toggles¶
Option |
Default |
Description |
|---|---|---|
|
|
Enable the sensor hardware abstraction layer. |
|
|
Enable the inertial measurement unit (requires |
|
|
Enable the barometric pressure sensor (requires |
|
|
Enable the flight state machine library. |
|
|
Select the simple 9-state flight state machine (default when state machine is enabled). |
|
|
Enable Kalman-filter-based apogee detection. |
|
|
Enable pyrotechnic ignition drivers. |
|
|
Enable servo control. |
Sensor Configuration¶
IMU¶
Option |
Default |
Description |
|---|---|---|
|
|
Polling rate in Hz. Choices: 10, 50, 100, 200, 400. |
Barometer¶
Option |
Default |
Description |
|---|---|---|
|
|
Polling rate in Hz. Choices: 10, 50, 100, 200, 400. |
|
|
ADC oversampling rate. Choices: 256, 512, 1024, 2048, 4096. |
State Machine Thresholds¶
These options are defined in sensor_board/Kconfig under the
State Machine Configuration menu.
Option |
Unit |
Default |
Description |
|---|---|---|---|
|
m/s2 |
30 |
Acceleration threshold for boost detection (ARMED -> BOOST). |
|
m |
50 |
Altitude threshold for boost detection (ARMED -> BOOST). |
|
m/s2 |
15 |
Acceleration threshold for burnout detection (BOOST -> BURNOUT). |
|
m |
200 |
Descent altitude for main pyro event (APOGEE -> MAIN). |
|
m/s |
2 |
Velocity threshold for landing detection. |
|
deg |
85 |
Orientation threshold for arming (IDLE -> ARMED). 0 = horizontal, 90 = vertical. |
|
deg |
70 |
Orientation threshold for disarming (ARMED -> IDLE). |
Timers and Timeouts¶
Option |
Unit |
Default |
Description |
|---|---|---|---|
|
ms |
900 |
Duration that boost thresholds must be held before transitioning. |
|
ms |
500 |
Duration that landing velocity must be held. |
|
ms |
60000 |
Max time in APOGEE state before aborting to ERROR. |
|
ms |
2000 |
Delay between MAIN and REDUNDAND pyro events. |
|
ms |
900000 |
Max time in REDUNDAND state before aborting. |
Apogee Detection (Kalman Filter)¶
Noise parameters are integer-scaled by 1000 in Kconfig.
The actual float value is CONFIG_FILTER_*_MILLISCALE / 1000.0.
Option |
Default |
Description |
|---|---|---|
|
100 |
Process noise for altitude state (Q_alt). Increase if altitude estimate lags behind reality. |
|
500 |
Process noise for velocity state (Q_vel). Increase for more aggressive response during boost. |
|
4000 |
Measurement noise variance (R). Higher values trust the barometer less. |
Pyro Drivers¶
Option |
Default |
Description |
|---|---|---|
|
80 |
Kernel init priority for pyro driver instances. |