AP_Scripting: Viewpro driver setup instruction fix

This commit is contained in:
Randy Mackay 2023-04-07 09:51:54 +09:00 committed by Andrew Tridgell
parent 0f1253b393
commit 6934a638a1
2 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,7 @@
Set SERIALx_PROTOCOL = 28 (Scripting) where "x" corresponds to the serial port connected to the gimbal
Set SCR_ENABLE = 1 to enable scripting and reboot the autopilot
Set MNT1_TYPE = 9 (Scripting) to enable the mount/gimbal scripting driver
Set CAM_TRIGG_TYPE = 3 (Mount) to enable the camera driver
Set CAM1_TYPE = 4 (Mount) to enable the camera driver
Set RCx_OPTION = 300 (Scripting1) to allow real-time selection of the video feed and camera control
Copy this script to the autopilot's SD card in the APM/scripts directory and reboot the autopilot
Set VIEP_CAM_SWLOW, VIEP_CAM_SWMID, VIEP_CAM_SWHIGH to which cameras are controlled by the auxiliary switch

View File

@ -2,12 +2,13 @@
Viewpro gimbal driver lua script
How to use
# How To Use
Connect gimbal UART to one of the autopilot's serial ports
Set SERIALx_PROTOCOL = 28 (Scripting) where "x" corresponds to the serial port connected to the gimbal
Set SCR_ENABLE = 1 to enable scripting and reboot the autopilot
Set MNT1_TYPE = 9 (Scripting) to enable the mount/gimbal scripting driver
Set CAM_TRIGG_TYPE = 3 (Mount) to enable camera control using the mount driver
Set CAM1_TYPE = 4 (Mount) to enable camera control using the mount driver
Set RCx_OPTION = 300 (Scripting1) to allow real-time selection of the video feed and camera control
Copy this script to the autopilot's SD card in the APM/scripts directory and reboot the autopilot
Set VIEP_CAM_SWLOW, VIEP_CAM_SWMID, VIEP_CAM_SWHIGH to which cameras are controlled by the auxiliary switch