Spoof Controller Input Programaticially
Is there any way to send, from some python code, inputs to a flight controller that it would receive it and move exactly as it would as if it had received that input from a controller?
Has anyone worked on API controllers in AirSim?
Typically its not efficient to build controllers using Python on RPC APIs. If you had like to experiment with controllers, you should run AirSim from source code and directly modify code in AirLib. This is pretyy simple actually. AirSim uses flight controller called simple_flight which is pure C++11 code. It has interface for controller. You just implement that interface and change this line to use your controller class instead of built-in CascadeController. The built-in CascadeController is simple cascaded PID controllers for rates, angle, velocity and position.