I am hoping to use a Raspberry Pi 2 with appropriate sensors to write software which will allow for some autonomous RC airplane flight. I am new to using the Raspberry Pi in general (even though I've had it for a long time).
I am a software engineer by trade, and I would like to write something which will autonomously control the aircraft in various flight modes, including simple things like wing leveling and more advanced things like return to home, etc.
I think as long as I can get the data from the sensors, and be able to send commands to the servos I'll be good, but I need some advice on how to accomplish the setup.
How would one go about setting up a system where I can have a switch on my RC transmitter which will allow me to take direct control vs. enabling the software I write on the Pi to take over? Also, I would be using fairly substantial servos (as far as RC airplanes are concerned), such as https://servodatabase.com/servo/futaba/s9470sv and https://servodatabase.com/servo/futaba/s3071hv, so I imagine there are current draw considerations to be made.
In normal RC airplane scenarios, you obviously hook servos directly up to the receiver...what does a setup look like which allows for normal/direct control via the transmitter and also autonomous control via the Pi?
I am completely new to all this, so forgive me if anything I said doesn't make sense.
Thanks for any input!