I am trying to implement a control algorithm for a plane for which I am using SET_ATTITUDE_COMMAND.
I don’t understand how am I supposed to set the type mask. I want to ignore attitude and thrust vectors and so I set type_mask = 128 | 32. But it still takes attitude commands.
Second, Could someone please explain me the working of BODY_ROLL/PITCH/YAW_RATE command?
Not matter what value I put, nothing seems to change.
Thank you.