You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to the standard blackbox fields above, INAV supports logging debug values for troubleshooting and analysis via the `debug_mode` setting. When a debug mode is active, it populates 8 debug values (`debug[0]` through `debug[7]`) with mode-specific data that gets logged to the blackbox.
181
+
182
+
Available debug modes include:
183
+
-`FLOW_RAW` - Optical flow sensor raw data (useful for sensor alignment)
184
+
-`LANDING` - Landing mode debugging
185
+
-`POS_EST` - Position estimation debugging
186
+
-`GPS` - GPS debugging
187
+
-`ALTITUDE` - Altitude estimation debugging
188
+
- And 20+ other modes for specific subsystems
189
+
190
+
To use debug mode logging:
191
+
```
192
+
set debug_mode = FLOW_RAW # Enable a specific debug mode
193
+
set debug_mode = NONE # Disable debug mode (default)
194
+
```
195
+
196
+
You can view current debug values in the CLI with the `debug` command, or display them in real-time on your OSD using the `OSD_DEBUG` element.
197
+
198
+
For technical details on debug logging and blackbox internals, see the [Blackbox Internals](development/Blackbox%20Internals.md) documentation.
Copy file name to clipboardExpand all lines: docs/Settings.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -434,11 +434,11 @@ Max Antigravity gain. `1` means Antigravity is disabled, `2` means Iterm is allo
434
434
435
435
### apa_pow
436
436
437
-
Use airspeed instead of throttle position for PID attenuation if airspeed is available on fixedwing. pid_multiplier = (referenceAirspeed/airspeed)**(apa_pow/100). Set to 0 will disable this feature and use throttlebased PID attenuation;
437
+
Use airspeed instead of throttle position for PID attenuation if airspeed is available on fixedwing. Scales P/D/FF with airspeed (I-term scaled less aggressively). Gains range from 30% (high speed) to 150% (low speed). Set to 0 to disable and use throttle-based attenuation. Recommended: 120 for aircraft with validated pitot sensor.
438
438
439
439
| Default | Min | Max |
440
440
| --- | --- | --- |
441
-
|120| 0 | 200 |
441
+
|0| 0 | 200 |
442
442
443
443
---
444
444
@@ -1478,7 +1478,7 @@ TPA smoothing and delay time constant to reflect non-instant speed/throttle resp
Copy file name to clipboardExpand all lines: docs/USB Flashing.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,14 +68,26 @@ With the board connected and in bootloader mode (reset it by sending the charact
68
68
69
69
Put the device into DFU mode by **one** of the following:
70
70
71
-
* Use the hardware button on the board
72
-
* Send a single 'R' character to the serial device, e.g. on POSIX OS using `/dev/ttyACM0` at 115200 baudrate.
71
+
***Hardware button:** Press and hold the DFU/BOOT button while plugging in USB
73
72
73
+
***Serial CLI sequence:** Send `####\r\n`, wait for CLI prompt, then send `dfu\r\n`
74
+
75
+
```bash
76
+
# Enter CLI mode
77
+
echo -ne '####\r\n'> /dev/ttyACM0
78
+
79
+
# Wait for "CLI" prompt (important - don't skip!)
80
+
# Recommended: use a proper script that reads serial response
81
+
82
+
# Send DFU command
83
+
echo -ne 'dfu\r\n'> /dev/ttyACM0
74
84
```
75
-
stty 115200 < /dev/ttyACM0
76
-
echo -ne 'R' > /dev/ttyACM0
77
-
```
78
-
* Use the CLI command `dfu`
85
+
86
+
**Note:** The simple single 'R' character method shown in older documentation is unreliable. The above sequence is required for proper CLI entry.
87
+
88
+
***CLI command:** If already connected to CLI via configurator or terminal: type `dfu`
89
+
90
+
***MSP command:** Use MSP_REBOOT with DFU parameter (INAV 9.x+) - most reliable programmatic method
79
91
80
92
It is necessary to convert the `.hex` file into `Intel binary`. This can be done using the GCC `objcopy` command; e.g. for the notional `inav_x.y.z_NNNNNN.hex`.
Copy file name to clipboardExpand all lines: docs/development/msp/format.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@
39
39
**reply**: null or dict of data received\
40
40
**variable_len**: Optional boolean, if true, message does not have a predefined fixed length and needs appropriate handling\
41
41
**variants**: Optional special case, message has different cases of reply/request. Key/description is not a strict expression or code; just a readable condition\
42
-
**not_implemented**: Optional special case, message is not implemented\
42
+
**not_implemented**: Optional special case, message is not implemented (never or deprecated)\
0 commit comments