...

Attitude/airspeed manager

Image RemovedImage Added

The duty of this module is to constantly accept instructions from the path manager module (it's told what attitude and airspeed are required) and use information it gets from the appropriate sensors to get the aircraft to arrive at the desired attitude and airspeed as fast as possible.

...

The sensors relevant to the attitude manager are the IMU and the airspeed sensor.

A the heart of the "process data" state are Both the Sensor Fusion algorithm and the PID algorithm. For algorithms can, for the most part, they can be ported from PicPilot.

Data is also transferred up to the higher level Path manager, because it can make use of the IMU data in it's own Sensor fusion algorithms.

...