UAVDenver
11-07-2006, 07:09 PM
Hello -
I'm interested in building an autonomous controller for an RC helicopter. But testing and debugging the control loop with a real RC helicopter will be challenging (and expensive) at best. So I'd really like to use a commercially available RC simulator for all test and debugging, and interface it with my own software to simulate the onboard sensors and controller.
My question is this: is there any API (application programming interface) available for RealFlight? In particular, I'm hoping for a C or C++ interface which gives such information as the aircrafts 6-DOF orientation, angular rates, accelerations, velocities, etc, and also can receive control commands from external control software. Using such and API, I could write a piece of software to read the orientation of the plane/helicopter from RealFlight and then send commands back to RealFlight to achieve autonomous flight. Does RealFlight have this capability?
I'm interested in building an autonomous controller for an RC helicopter. But testing and debugging the control loop with a real RC helicopter will be challenging (and expensive) at best. So I'd really like to use a commercially available RC simulator for all test and debugging, and interface it with my own software to simulate the onboard sensors and controller.
My question is this: is there any API (application programming interface) available for RealFlight? In particular, I'm hoping for a C or C++ interface which gives such information as the aircrafts 6-DOF orientation, angular rates, accelerations, velocities, etc, and also can receive control commands from external control software. Using such and API, I could write a piece of software to read the orientation of the plane/helicopter from RealFlight and then send commands back to RealFlight to achieve autonomous flight. Does RealFlight have this capability?