We can use Arduino card or with Raspberry Pi platform it's depend on complexity of systems. For more details and information about this subject, i suggest you to see links and attached files on topic.
Intelligent Fuzzy Flight Control of an Autonomous Quadrotor UAV