I am new to the attitude control method of arducopter codes. In the AC_attitude_control library, in the function:
there is a frame conversion from earth frame to body frame:
I am confused about this point since I think roll and pitch angles are used to describe the transforming relationship between the body frame and the earth frame, so what is the meaning of this frame conversion here?
Thanks a lot for you help!