For the complete documentation index, see llms.txt. This page is also available as Markdown.

GPS/VPS switch script

To increase safety during initial testing of your Cyclops system, we have provided a Lua script that gives your pilot manual control over GPS (GPS1) and Cyclops (GPS2). The script uses two 2- or 3-position switches to control whether each system is providing a position to the flight controller. This allows the pilot to completely disable either system in case an issue occurs during flight.

ArduPilot parameter configuration

In ArduPilot, configure two switches to control the two position sources. For example: if you want the switch on RC7 to control GPS and the switch on RC10 to control Cyclops:

ArduPilot Parameter
Param Value
Description

RC7_OPTION

302

Scripting 3

RC10_OPTION

301

Scripting 2

SCR_USER1

1

Enables the script

Using the GPS/VPS script is optional, but recommended for safety and redundancy during initial testing.

Last updated