Just to be clear - for the attitude control you can either use INDI or PID. If you choose for PID you can use the gain_scheduling module, for which you put the GAIN_SETS section in your airframe. You can define multiple gain sets between it should interpolate,
and you can change the variable that it uses for this purpose and the scheduling points. The example that you show uses the transition_status, a variable that does not exist (any more). But in general, you can use a fixed point number, and define the amount
of bitshifts that is uses with SCHEDULING_VARIABLE_FRAC.
Alternatively, I think you can also use the floating point PID controller with different gain scheduling code.
Make sure that in your configuration (in paparazzi center) the settings for different controllers, that are not used, are removed. The variables in these settings are ...
Van: Paparazzi-devel <paparazzi-devel-bounces+ewoud_smeur=[hidden email]> namens Chris <[hidden email]> Verzonden: vrijdag 23 maart 2018 11:29 Aan: Paparazzi UAV devel list Onderwerp: [Paparazzi-devel] INDI gain sheduling and VTOL
I think i finally understood the inner workings of this method so i will
try and make a vtol wing.
One thing i don't understand is this transition_status variable.