This commit is contained in:
Stavros Korokithakis 2021-12-31 18:37:43 +02:00
parent dc69b48b41
commit 7ee4a10e87
No known key found for this signature in database
GPG Key ID: 26EA345ECD4C2A63
5 changed files with 40 additions and 15 deletions

View File

@ -7,6 +7,7 @@
- [ArduPilot setup checklist](ardupilot/ardupilot-setup-checklist.md)
- [Building ArduPilot](ardupilot/building-ardupilot.md)
- [Configuring a switch as a relay](ardupilot/configuring-a-switch-as-a-relay.md)
- [DJI FPV configuration](ardupilot/dji-fpv-configuration.md)
- [Miscellaneous notes](ardupilot/miscellaneous-notes.md)
- [Reverse thrust](ardupilot/reverse-thrust.md)
- [TECS tuning calculator](ardupilot/tecs-tuning-calculator.md)

View File

@ -35,9 +35,24 @@ INS_GYRO_FILTER=60 # Faster gyro updates.
SCHED_LOOP_RATE=100 # Faster scheduler updates.
```
## Servo update rate
If you want a higher servo update rate (because of digital servos), it is probably better to set the scheduler loop rate to the frequency you want, and enable ONESHOT (assuming you have a BLHeli ESC):
```js
SCHED_LOOP_RATE=100 # As above.
SERVO_BLH_OTYPE=1 # For ONESHOT.
```
With no BLHeli ESCs, change your `SERVO_RATE`:
```js
SERVO_RATE=100
```
* * *
<p style="font-size:80%; font-style: italic">
Last updated on November 19, 2021. For any questions/feedback,
Last updated on December 31, 2021. For any questions/feedback,
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
</p>

View File

@ -0,0 +1,21 @@
# DJI FPV configuration
If you're using the DJI FPV system, here's the relevant configuration you need to set:
1. Set `OSD_TYPE=3`.
2. Set `SERIALn_PROTOCOL=33 SERIALn_BAUD=115 SERIALn_OPTIONS=0` (DJI FPV).
3. Create a text file called `naco.txt` on the SD card of the Air Unit with the text `1` in it [to unlock full power](https://oscarliang.com/dji-fpv-system-fcc-700mw/).
4. Create a text file called `naco_pwr.txt` on the SD card of the goggles with the text `pwr_2` in it [to unlock more full power](https://oscarliang.com/dji-fpv-system-1200mw-output/).
5. Set "Custom OSD" to "on" in the goggles menu.
6. Arrange your OSD elements how you like them.
That's it!
* * *
<p style="font-size:80%; font-style: italic">
Last updated on December 31, 2021. For any questions/feedback,
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
</p>

View File

@ -6,6 +6,7 @@ Click on a link in the list below to go to that page:
1. [ArduPilot setup checklist](../../ardupilot/ardupilot-setup-checklist.html)
1. [Building ArduPilot](../../ardupilot/building-ardupilot.html)
1. [Configuring a switch as a relay](../../ardupilot/configuring-a-switch-as-a-relay.html)
1. [DJI FPV configuration](../../ardupilot/dji-fpv-configuration.html)
1. [Miscellaneous notes](../../ardupilot/miscellaneous-notes.html)
1. [Reverse thrust](../../ardupilot/reverse-thrust.html)
1. [TECS tuning calculator](../../ardupilot/tecs-tuning-calculator.html)

View File

@ -2,19 +2,6 @@
These are random AP-related notes that wouldn't fit anywhere else:
## DJI FPV configuration
If you got some DJI goggles, here's the relevant configuration you need to make:
1. Set `OSD_TYPE=3`.
2. Set `SERIALn_PROTOCOL=33 SERIALn_BAUD=115 SERIALn_OPTIONS=0` (DJI FPV).
3. Create a text file called `naco.txt` on the SD card of the Air Unit with the text `1` in it [to unlock full power](https://oscarliang.com/dji-fpv-system-fcc-700mw/).
4. Create a text file called `naco_pwr.txt` on the SD card of the goggles with the text `pwr_2` in it [to unlock more full power](https://oscarliang.com/dji-fpv-system-1200mw-output/).
5. Set "Custom OSD" to "on" in the goggles menu.
6. Arrange your OSD elements how you like them.
That's it!
## DMA on the Matek F405-Wing
If you want to get DMA on UART3 of the Matek F405-Wing FC (or, more relatedly, the Racerstar F405, because UART1 is Bluetooth there), you can open `libraries/AP_HAL_ChibiOS/hwdef/MatekF405-Wing/hwdef.dat` and comment out line 92ish, where PA15 is defined.
@ -24,6 +11,6 @@ That will enable DMA on UART3, at the expense of disabling the LED pad.
* * *
<p style="font-size:80%; font-style: italic">
Last updated on October 22, 2021. For any questions/feedback,
Last updated on December 31, 2021. For any questions/feedback,
email me at <a href="mailto:hi@stavros.io">hi@stavros.io</a>.
</p>