DJI FPV configuration
Configuring ArduPilot for DJI FPV
If youβre using the DJI FPV system, hereβs the relevant configuration you need to set:
- Set
OSD_TYPE=3
. - Set
SERIALn_PROTOCOL=33 SERIALn_BAUD=115 SERIALn_OPTIONS=0
(DJI FPV). - Create a text file called
naco.txt
on the SD card of the Air Unit with the text1
in it to unlock full power. - Create a text file called
naco_pwr.txt
on the SD card of the goggles with the textpwr_2
in it to unlock more full power. - Set βCustom OSDβ to βonβ in the goggles menu.
- Arrange your OSD elements how you like them.
Thatβs it!
Configuring AP for the DJI O3
If youβre using DJI O3, this is what you need to do:
- Set ,
OSD_TYPE=5
for MSP_DISPLAYPORT. - Set
SERIALn_PROTOCOL=42 SERIALn_BAUD=115 SERIALn_OPTIONS=0
for DisplayPort. - Set
MSP_OPTIONS=5
for telemetry mode and BTFL fonts. - Arrange your OSD elements as you want them.
Done!
Synchronizing the video and audio of the DJI Air Unit
The audio of the DJI air unit is slower than the video, leading to desynchronization, but it is slower by a constant factor, which means it can be easily corrected with the following command:
$ ffmpeg -i "$1" -c:v copy -filter:a atempo=1.001480,volume=20 \
-c:a aac -b:a 93k "$(basename "$1" .mp4)_fixed_audio.mp4"
Last updated on January 01, 2023. For any questions/feedback, email me at hi@stavros.io.