5. Main Page

The standard main page layout is as follows:

_images/main_page.svg

Current Model: The name of the current model. Clicking the label will open up the Model Load page. The model is configured from section Model setup (Std & Adv GUI).

Battery Voltage: Numerical representation of current transmitter battery state.

Transmitter Power: This indicates the currently selected transmitter power. It is configured from section Model setup (Std & Adv GUI).

Model Icon: An image representing the current model. It is configured from section Model setup (Std & Adv GUI).

Trims: The trim display can be configured to show up to 10 different horizontal and vertical trims.

Displays: These items can be text-boxes containing input, channel, telemetry, or timer data; bar graphs displaying channel data; or icons / toggles displaying specific states (ex. gear, flaps,…).

Quick Menus: Quick menus can be reached via a long UP/DN press. They can be defined from section Main page config (Std & Adv GUI).

By default, channel outputs are displayed as [-100, 100]%. This may be tweaked by modifying the following values in the corresponding channel section in model.ini:

[channel1]
display-scale=100
display-format=%3d%%

Before being displayed, outputs have raw values in the range [-10000, 10000]. The displayed text is generated via sprintf(s, display_format, raw/display_scale)

If display-scale is omitted, the default value of 100 will be used.

If display-format is omitted, the default value of %3d%% will be used. See Wikipedia for more details on the format string.

5.1. Safety System

_images/safety.png

Deviation has a safety system to prevent starting up in a dangerous state (for instance spinning up the main rotor of a helicopter accidentally). The safety system works by verifying that specific conditions are met before starting to transmit to the model. By default the output channel associated with the throttle stick must be minimum. The Deviation firmware does not include a mechanism to define new safety conditions, however, they can be added by directly modifying the model.ini file. While the safety message is displayed, the transmitter will not communicate with the model. This message may appear either when initially turning on the transmitter, or when switching to a different model. The message will disappear automatically once all safety conditions have been met or when ‘OK’ is pressed. In either case, Deviation will start communication with the model once the dialog is dismissed.

The safety values are in the ‘[safety]’ section, and the default looks like this:

[safety]
Auto=min

The ‘Auto’ value can also be any channel or input name, ‘Ch1’, etc. The ‘Auto’ tries to guess your throttle channel number. If that isn’t working, and you’re getting an unwanted warning, then changing it to ‘Ch1’ (DSMx protocols) or ‘CH3’ (most other protocols) will fix the problem. The ‘min’ value can also be ‘max’ or ‘zero’, to test that the channel or stick is at the maximum value and 0.