Discussion:
[Paparazzi-devel] INDI gain sheduling and VTOL
Chris
2018-03-23 10:29:45 UTC
Permalink
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.

<define name="SCHEDULING_VARIABLE" value="(radio.values[COMMAND_THRUST]+
transition_status"/>

Is it set by the system or i need to provide it along with its value my
self?

Chris
Ewoud Smeur
2018-03-23 12:19:00 UTC
Permalink
Hi Chris,

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.

Otherwise, you can use INDI (I don't recommend indi_simple for this, because the saturation handling is not as good). https://wiki.paparazziuav.org/wiki/Working_with_INDI
Working with INDI - PaparazziUAV<https://wiki.paparazziuav.org/wiki/Working_with_INDI>
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 ...
wiki.paparazziuav.org



Regards,

Ewoud
________________________________
Van: Paparazzi-devel <paparazzi-devel-bounces+ewoud_smeur=***@nongnu.org> namens Chris <***@gmail.com>
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.

<define name="SCHEDULING_VARIABLE" value="(radio.values[COMMAND_THRUST]+
transition_status"/>

Is it set by the system or i need to provide it along with its value my
self?

Chris
Chris
2018-03-24 07:14:07 UTC
Permalink
Thank you very much for your help, it helped a lot because i couldn't
find any reference to this variable.
I will start with the PID attitude control and later try to use the Full
INDI.
Chris

Loading...