Switching between more than two GPS/Non-GPS tools

Hi
I found information about transitions between two GPS/Non-GPS sources and if we want to use more, can we do this? I found lua script to automatically switch between GPS, T265 and optical flow. But if we want use else RTK GPS how can we set the parameters of flight controller for it and modernize script?
May my question was discussed earlier but can’t find information about it.
Thank you.

Hi @leonidu ! You can share a link to the LUA script.

Hi @McKey
The link to the the script https://github.com/ArduPilot/ardupilot/blob/master/libraries/AP_Scripting/examples/ahrs-source.lua
It is located in the official documentation on the gps/non-gps transition page GPS / Non-GPS Transitions — Copter documentation

1 Like