1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-13 19:40:27 +03:00

docs/Programming framework: Fix typo, add examples

This commit is contained in:
Ray Morris 2023-02-17 10:55:07 -06:00
parent 9c32094f5e
commit 07533c29c2
3 changed files with 8 additions and 1 deletions

View file

@ -11,7 +11,7 @@ INAV Programming Framework coinsists of:
* Global Variables - variables that can store values from and for LogiC Conditions and servo mixer * Global Variables - variables that can store values from and for LogiC Conditions and servo mixer
* Programming PID - general purpose, user configurable PID controllers * Programming PID - general purpose, user configurable PID controllers
IPF can be edited using INAV Configurator user interface, of via CLI IPF can be edited using INAV Configurator user interface, or via CLI
## Logic Conditions ## Logic Conditions
@ -226,6 +226,13 @@ All flags are reseted on ARM and DISARM event.
## Examples ## Examples
### When more than 100 meters away, increase VTX power
![screenshot of vtx home distance](./assets/images/vtx_home_distance.png)
### When more than 600 meters away, engage return-to-home by setting the matching RC channel
![screenshot of rth home distance](./assets/images/rth_home_distance.jpg)
### Dynamic THROTTLE scale ### Dynamic THROTTLE scale
`logic 0 1 0 23 0 50 0 0 0` `logic 0 1 0 23 0 50 0 0 0`

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB