Automated approach script using RangeFinders and a PID loop
This script is assembled from this reddit thread, piecing together the info from various comments and adjusting it to work with the Jilted. Setup assumes a single RangeFinder for the Distance calculation and a number of RangeFinders to assist it.
Field names:
:Approach bool enable approach
:Distance float RangeFinderDistance
:RFC float RangeFinderDistance of optional extra RangeFinders
Testing the actual approach PID loop is not possible without having an environment in the test runner that responds to eg. FCU* commands.