I feel it is best to enable ScaleToAirspeed before tuning PIDs so you only have to tune once.
Setting ScaleToAirspeed to a speed that is different than the actual speed you tuned at changes your effective PIDs. It's hard to know what speed you tuned at, and you probably flew at many different speeds while tuning.
Tune PIDs once, but with ScaleToAirspeed enabled.
If you tune PIDs with ScaleToAirspeed enabled, you can test fly at all speeds without worrying about the speed you are flying. It automatically scales it and it is either wrong at all speeds or it is right at all speeds.
Technical:If you have PIDs set well for some middle speed and you fly a lot faster, the PIDs will cause oscillation because the faster you fly, e.g. the faster your roll rate is in degrees per second.
If you then fly a lot slower, the PIDs are not responsive enough to control the airplane very well.
It doesn't even matter much what speed you set ScaleToAirspeed to if you tune PIDs after setting it. The effective PIDs used in flight are the same whether the PIDs are high and ScaleToAirspeed is low or whether the PIDs are low and ScaleToAirspeed is high. Both of those are well tuned PIDs.
I think the way to tune PIDs is to:
- fly Manual mode till later
- adjust linkages and put transmitter trims back in the middle
- set up and calibrate AirspeedSettings to match GPS speed on a no wind day
- determine a reasonable cruise speed with telemetry
- set ScaleToAirspeed to a reasonable cruise speed
- always leave yaw/rudder in Manual mode
- when tuning, find upper limit of PIDs where oscillation starts to occur
- when tuning, find lower limit of PIDs where PIDs and flight is a little mushy
- set tune half way between upper and lower limits that you found
-- or maybe closer to upper end, but never oscillating
- fly Rate mode and tune rate (inner) PIDs
- fly ATtitude mode and tune aTtitude (outer) PIDs
- enable UseAirSpeedSensor before doing GPS flight modes
- tune stuff if waypoint flight has vertical / motor oscillation
-- there are several things reported to affect it, some of which I have not personally tested
-- airspeed and aLtitude are both involved
-- the main thing should be FwPfSettings.VerticalPosP ? ? ?
- test waypoint flight climbing and descending
- test RTB close by
- remember to change failsafe depending on your mission:
-- long range waypoint you may want loss of RC to continue the mission
-- long range FPV you probably want loss of RC to RTB