For a hobbyist looking to write an autopilot program for a mode lUAV/drone, what are the aviation related considerations that would be involved in its design? How could things like the ADC (air data computer), or pitot static system, be utilized to control bank angles and decent rates? Are there any specific rules of thumb that would assist the autopilot in making smooth corrections? For example, how should I calculate the max VSI in a climb or when approaching a level-off altitude, and is there a rule of thumb for bank angle in a turn?
Your answers will guide me in asking an educated question at the Programmers StackExchange and get programming specific advice on how to proceed.