I am working on a autopilot project and we need a flight simulator to prove our control method before use it on a real aircraft. Is there any interface to
get the attitude of aircraft from and send control data to flightgear. I mean get
the altitude, rate, accelerate and so on from it and send rudder, elevator,
aileron and throttle data to flightgear to control a aircraft. Thanks


you can use the properties tree. If you look in the source code there are examples of how to access the telnet server of FlightGear using several programming languages like C, java, perl, python, ...(in utils/ I think).
Some properties are (you can find them in the File->Browse Internal Properties menu):


The previous properties were all in double format and can be read or set (through a .get() or .set() method/function, see in the source code).
The following are floats:


There are dozens more, you can find them all if you click File->Browse Internal Properties while running FlightGear. A list of all properties does not exist at the moment, that is, not with all the properties: these are the ones I intend to use to test my own autopilot code (feel free to contact me).



_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to