# Configuration

AstroNav Nano stores its main user configuration in `Settings.ini`.

## Settings.ini

Connect the board through USB and open:

```text
Settings.ini
```

Normal configuration values are stored under:

```ini
[settings]
```

:::caution[Configuration scope]

Only edit values in this section unless you specifically know why another section needs to be inspected.

:::

## Available settings

| Setting | Description | Default |
| --- | --- | --- |
| `ESTIMATED_HEIGHT_M` | Expected apogee height in metres | `120.0` |
| `HEIGHT_MARGIN_M` | Allowed height tolerance around the estimate | `20.0` |
| `ESTIMATED_SPEED_MPS` | Expected climb speed in metres per second | `35.0` |
| `SPEED_MARGIN_MPS` | Allowed speed tolerance around the estimate | `8.0` |
| `LAUNCH_THRESHOLD_G` | Acceleration threshold used for launch detection | `1.35` |
| `FIRE_PYRO_APOGEE` | Enables or disables automatic apogee pyro output | `TRUE` |

## Recommended configuration workflow

For a new board:

1. Start with the default values.
2. Change only settings you understand.
3. Save `Settings.ini`.
4. Safely eject the AstroNav Nano drive.
5. Reconnect the board.
6. Open `Settings.ini` again.
7. Confirm that your settings were saved.

## FIRE_PYRO_APOGEE

:::danger[Automatic apogee deployment]

To allow automatic apogee deployment:

```ini
FIRE_PYRO_APOGEE=TRUE
```

:::

:::tip[Detection-only testing]

To detect and log apogee without automatically activating the pyro output:

```ini
FIRE_PYRO_APOGEE=FALSE
```

This is useful for detection and sensor testing.

:::

:::danger[Physical disconnection]

Disabling automatic firing in software is not a replacement for physically disconnecting hazardous hardware.

:::

## Other sections

### `[debug]`

Contains diagnostic information generated by the firmware.

:::note[Generated diagnostics]

Do not normally edit this section.

:::

### `[checks]`

Contains health-check information generated by the firmware.

Do not normally edit this section.

### `[profile]`

Contains device identity and stored flight information.

## AstroNav MC

AstroNav MC provides a graphical interface for working with AstroNav Nano.

It can be used for:

- Editing settings
- Reading flight logs
- Viewing flight summaries
- Simulating mission behavior
- Validating configurations

AstroNav MC complements the onboard firmware.

It does not replace onboard safety logic or physical flight-readiness checks.