INDI gain sheduling and VTOL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

INDI gain sheduling and VTOL

Chris Efstathiou
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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
Reply | Threaded
Open this post in threaded view
|

Re: INDI gain sheduling and VTOL

Ewoud
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


Regards,

Ewoud

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.

<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



_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel

_______________________________________________
Paparazzi-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel