Function declarations of my flight controller