> For the complete documentation index, see [llms.txt](https://docs.k9defense.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.k9defense.tech/judgment/open-source/software-configuration.md). Agents can also search and read this documentation through its [MCP server](https://docs.k9defense.tech/~gitbook/mcp).

# Software Configuration

## Betaflight Configurator & Firmware Flashing

Download the Betaflight Configurator:

{% embed url="<https://downloads.betaflight.com/>" %}

Flash the ARK FPV FC with Betaflight:

{% embed url="<https://docs.arkelectron.com/products/flight-controller/ark-fpv/betaflight-instructions>" %}

***

## Betaflight Settings

{% hint style="danger" %}
These tunes are safe baselines. Differing setups, configurations, and components can effect flight performance!
{% endhint %}

{% hint style="info" %}
Things like VTX ports, RC Receiver Mapping, and Flight Modes are preset to a default build. Ensure these are checked and reconfigured fit to your specific build or configuration.
{% endhint %}

### PID Tune

<figure><img src="https://530047473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRTFfFZrqUfGGI7IrAZoz%2Fuploads%2FiEAhfAcuK81SLaXqZnHQ%2FPID%20setting.png?alt=media&amp;token=6aac8c88-d5d2-43da-80b5-c52e8e9149fb" alt=""><figcaption></figcaption></figure>

Input the values below into the PID settings (red box). Ensure to select the "save" button on the bottom right of Betaflight Configurator.

#### Judgment 5 Base Tune:

<table><thead><tr><th width="109.714111328125">Axis</th><th width="100.1427001953125">P</th><th width="96.8570556640625">I</th><th width="93.5711669921875">D</th><th width="94.285888671875">D Max</th><th data-type="number">Feedforward</th></tr></thead><tbody><tr><td>Roll</td><td>44</td><td>80</td><td>22</td><td>30</td><td>125</td></tr><tr><td>Pitch</td><td>44</td><td>85</td><td>28</td><td>34</td><td>115</td></tr><tr><td>Yaw</td><td>42</td><td>70</td><td>0</td><td>0</td><td>100</td></tr></tbody></table>

### Yaw Offset

{% hint style="warning" %}
Because Judgement requires the ARK FPV FC to be mounted rotated from its default axis, ensure that the yaw is offset by 270 degrees.
{% endhint %}
