I have been a bit absent from flying as I have been moving all my models over to my new Taranis TX. Now I have that sorted I would like to get Fixed Wing autonomous flight going. Kenn sent me the below (months ago) but its not complete and it might not work anymore. I was wondering if there were any instructions for getting autonomous flight on fixed wing available? I am looking for them because I would like the best chance at not crashing but realise that I might be using untested code.
************************************************************************************************************************************************************
1) On the attitude tab, go to filter settings and set the Attitude Algorithm to INSOutdoor and the Navigation Algorithm to INS. You will no longer be able to arm your plane if you do not have a GPS lock with at least 7 satellites. If this starts proving to be a problem, i.e. it never gets the lock because of poor GPS reception, then switch to Complementary/Raw algorithms. However, don't try to fly autonomous flight then.
2) Disable "Turn off integral when throttle low" checkbox.
3) No always armed. Arm via switch.
4) No timeout on low throttle (i.e. set it to 0).
First flight in manual
1) While flying, trim plane for level wings and no pitch/airspeed change.
2) Land and disarm
3) Click button "Trim servos" in the fixed-wing airframe tab.
4) Reset TX trims to 0.
Second flight in stabilized modes
1) Do not use Attitude modes. Use AttitudePlus only.
2) Test that flight behavior in manual control is still trimmed properly.
3) Fly and tune pitch and roll rate P for good behavior
4) Fly and tune pitch and roll attitude PI for good behavior. Set I at 1/2 to 1/4 of P.
5) Once plane is flying well, trim plane for straight and level flight at approximately the desired airspeed.
6) Land and disarm
7) In the fixed-wing airframe tab, click the "Set level angle" button.
8) Reset trims to 0.
You should now have a plane which flies well in all modes.
Autonomous flight values:
*** Make sure you follow the instructions in the link I sent you a few minutes ago. ***
1) In the fixedwingairspeeds UAVO, set the bestrateofclimb. Ignore everything else
2) In the fixedwingpathfollower UAVO, Set your pitch limits to +-7 degrees. This is a good first guess.
************************************************************************************************************************************************************