Skip to content

Commit

Permalink
Add some helpful minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
MUSTARDTIGERFPV committed Jul 14, 2023
1 parent 72b47fd commit 977f6a5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
19 changes: 19 additions & 0 deletions docs/advanced/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,22 @@ If you wish to keep your own group separate from other FormationFlight groups, y
## WiFi Flashing

FormationFlight supports WiFi OTA firmware upgrades through the standard espota protocol. The easiest way to use this function is to choose the "Upload" action on any of the targets ending in `_via_WiFi` in PlatformIO, but a tool to make OTA flashing easier is planned.

## Useful snippets

Since certain parameters of FormationFlight can be changed via the HTTP API, certain snippets can be useful to copy-and-paste.

```sh
# Disable radio #1 (LoRa)
curl -X POST http://192.168.4.1/radiomanager/radio_set_enabled -d "index=1&status=false"
# Enable radio #1 (LoRa)
curl -X POST http://192.168.4.1/radiomanager/radio_set_enabled -d "index=1&status=true"
# Begin spoofing GPS location of this FF radio
curl -X POST http://192.168.4.1/gnssmanager/spoof -d "lat=45.171546&lon=5.722387"
# Begin spoofing peers
curl -X POST http://192.168.4.1/mspmanager/spoof
# Reboot the FormationFlight radio
curl -X POST http://192.168.4.1/system/reboot
# Put the FormationFlight radio into bootloader mode
curl -X POST http://192.168.4.1/system/bootloader
```
3 changes: 1 addition & 2 deletions docs/flight-controller/ardupilot.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ Set the Ardupilot parameter `RADAR_TYPE`. This must be set to `1` for MSP Radar,

### Set the serial port for MSP

Find the correct `SERIALX_PROTOCOL` instance for the serial port on which your Radar module is connected. You'll then set `SERIALX_PROTOCOL` to `32` for MSP

Find the correct `SERIALX_PROTOCOL` instance for the serial port on which your Radar module is connected. You'll then set `SERIALX_PROTOCOL` to `32` for MSP. `SERIALX_BAUD` and other related settings should be kept at their default, which is 115200 baud.

### Enable the Radar OSD

Expand Down

0 comments on commit 977f6a5

Please sign in to comment.