AP_Scripting: Viewpro driver setup instruction fix
This commit is contained in:
parent
0f1253b393
commit
6934a638a1
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user