Where could I find the codes for the stabilized mode logic?

I’ve recently been learning the source code for px4’s flight mode, and I was wondering where the source code for the stabilized mode control is.

Like altitude mode, position mode has its own control logic code, I think stabilized mode also has its own control logic code, where should I look for it?

Good question. It’s not obvious because it’s not a task in FlightTasks.

This is where Acro is mapped:

And this is stabilized, I think:

1 Like

Thanks for your help, I found it.

1 Like