3 of 3 deleted 5 characters in body

I propose to use a flight controller (FC software like Betaflight) connected to an Arduino or Raspberry Pi.

The new F3 or F4 flight controllers have, in general, I2C/SPI interfaces where you can call the FC functions.