1 ## Something is disabled
3 iNav may fail to perform some action as expected, typically arming or engaging waypoints. This articles documents the reasons for some of these events.
5 ## Arming disabled reasons
7 iNav will refuse to arm for the following reasons:
9 | Reason (CLI Mnemonic) | Bit Mask (Hex) | Explanation |
10 | ------ | ----- | ----------- |
11 | `FS` | `00000080` | The RX is not recognised as providing a valid signal |
12 | `ANGLE` | `00000100` | The vehicle is not level as defined by the CLI `small_angle` setting |
13 | `CAL` | `00000200` | The pre-arm sensor calibration has not completed. The barometer is somewhat susceptible to lengthy calibration, which may be mitigated by the CLI setting `baro_cal_tolerance`, e.g. `set baro_cal_tolerance = 500` (find a suitable value by experimentation). |
14 | `OVRLD` | `00000400` | The CPU load is excessive. May be caused by too an aggressive loop time setting. |
15 | `NAV` | `00000800` | Where the CLI setting `nav_extra_arming_safety = ON` is used, this may be caused by reasons shown in the [table below](#navigation-unsafe-reasons) |
16 | `COMPASS` | `00001000` | The compass is not calibrated. Perform the calibration procedure |
17 | `ACC` | `00002000` | The accelerometer is not calibrated. Perform the 6 point calibration procedure |
18 | `ARMSW` | `00004000` | The arm switch was engaged as the FC booted |
19 | `HWFAIL` | `00008000`| A required hardware device has failed / is not recognised (e.g. GPS, Compass, Baro) |
20 | `BOXFS` | `00010000` | A failsafe switch is engaged |
21 | `KILLSW` | `00020000` | A kill switch is engaged |
22 | `RX` | `00040000` | The RC link is not detected (RX not detected) |
23 | `THR` | `00080000` | The throttle setting is not a minimum |
24 | `CLI` | `00100000` | The CLI is active |
25 | `CMS` | `00200000` | The CMS menu is active |
26 | `OSD` | `00400000` | The OSD menu is active |
27 | `ROLL/PITCH` | `00800000` | Roll and/or pitch is not centred |
28 | `AUTOTRIM` | `01000000` | Servo autotrim is engaged |
29 | `OOM ` | `02000000` | The FC is out of memory |
30 | `SETTINGFAIL` | `04000000` | A CLI setting is out of range. The erroneous setting should be indicated in a CLI `dump`. If you can't then reset the offending setting, reflash with full chip erase and reapplying settings from scratch may help.|
31 | `PWMOUT` | `08000000` | PWM output error. Motor or servo output initialisation failed. |
33 Note: On older processors, just the bitmask is shown, which can be decoded by the numeric values in the table. A numeric value may be a combination of conditions, for example:
36 0x184000 = 00100000 + 00080000 + 00004000 (CLI active, throttle not at minimum, arm engaged)
38 The values are correct for iNav 2.4 as of 2020-03.
40 ### Navigation Unsafe reasons
42 Requires that a navigation mode (which includes failsafe RTH) is configured
45 | ------------------ |
46 | The GPS has insufficient satellites (this is checked even if you disable GPS, but have a NAV mode configured in Modes tab) |
47 | A navigation switch is engaged (e.g.PH, WP, RTH) |
48 | First WP distance exceeded |
49 | Satellite quality is unacceptable: EPH/EPV > 10m (note the limit in the CLI `inav_max_eph_epv` is in cm, default 1000) |
50 | The WP mission contains an invalid JUMP sequence |
52 * The first waypoint is beyond the distance defined by the CLI setting `nav_wp_safe_distance`. The default is 100m (10000cm, as the value is entered in cm).
55 # get nav_wp_safe_distance
56 nav_wp_safe_distance = 10000
57 Allowed range: 0 - 65000
60 ## Waypoints will not execute
62 The pilot *thinks* that they have loaded a waypoint mission, but the mission will not execute when the assigned switch is engaged.
64 * No mission is actually loaded into the FC. Note that waypints have to be in volatile memory (that is cleared on powercycle), not in EEPROM. If waypoints have been saved to EEPROM it is necessary to restore the WPs to volatile memory before the mission can be executed.
66 * The Fixed Wing aircraft is in `MANUAL` / `PASSTHROUGH` mode.
68 * The craft is currently executing RTH
70 ## RTH fails to engage
72 * The GPS signal is degraded (eph / epv exceed, CLI setting `inav_max_eph_epv`)
76 Diagnosing arming failure and WP execution failure often requires the use of a tool external to the FC; the following may help:
78 * The iNav configurator displays reasons for arming failure
79 * A blackbox log provides post event diagnostics
80 * The iNav CLI (available from a terminal, the configurator and many ground-stations) displays arming disabled reasons:
85 Arming disabled flags: NAV HWFAIL RX CLI
87 * A ground station may provide diagnostics, for example [mwp](https://github.com/stronnag/mwptools) provides an 'Arming Disabled' alert icon with 'popover' description / explanation, mission upload validation checks and 'first WP distance' exceeded warnings.
88 * Video explanation via https://quadmeup.com/troubleshooting-inav-why-inav-is-not-arming/
89 * **Your favourite diagnostic tool / technique goes here**
93 For 'Navigation is unsafe', you may, of course `set nav_extra_arming_safety = OFF`; however there is a clue is in the name.