diff --git a/content/SUMMARY.md b/content/SUMMARY.md index 0ebc5c8..b796e8c 100644 --- a/content/SUMMARY.md +++ b/content/SUMMARY.md @@ -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) diff --git a/content/ardupilot/ardupilot-recommended-settings.md b/content/ardupilot/ardupilot-recommended-settings.md index ad7792c..766b855 100644 --- a/content/ardupilot/ardupilot-recommended-settings.md +++ b/content/ardupilot/ardupilot-recommended-settings.md @@ -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 +``` + * * *

-Last updated on November 19, 2021. For any questions/feedback, +Last updated on December 31, 2021. For any questions/feedback, email me at hi@stavros.io.

diff --git a/content/ardupilot/dji-fpv-configuration.md b/content/ardupilot/dji-fpv-configuration.md new file mode 100644 index 0000000..8a4bcb8 --- /dev/null +++ b/content/ardupilot/dji-fpv-configuration.md @@ -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! + + + +* * * + +

+Last updated on December 31, 2021. For any questions/feedback, +email me at hi@stavros.io. +

diff --git a/content/ardupilot/index.md b/content/ardupilot/index.md index 39fe863..77894f7 100644 --- a/content/ardupilot/index.md +++ b/content/ardupilot/index.md @@ -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) diff --git a/content/ardupilot/miscellaneous-notes.md b/content/ardupilot/miscellaneous-notes.md index fc18a13..2d37daf 100644 --- a/content/ardupilot/miscellaneous-notes.md +++ b/content/ardupilot/miscellaneous-notes.md @@ -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. * * *

-Last updated on October 22, 2021. For any questions/feedback, +Last updated on December 31, 2021. For any questions/feedback, email me at hi@stavros.io.