JSBSim has a scripting capability that is used to execute runs in its
standalone mode. I've always intended to make it usable when integrated with
a simulation architecture such as FlightGear, as well. Theoretically, it
should be possible now.
From: Harry Campigli [mailto:harryc...@gmail.com]
Sent: Monday, April 13, 2009 11:28 PM
To: FlightGear developers discussions
Subject: Re: [Flightgear-devel] control an aircraft from a file
John
I am no expert but depending on what you what to do, one easy option is to
use an existing io format. FG is rich in the interfacing department and the
property tree arrangement makes hooking in most contols possible and easy.
FG has an option to replay from file you could investigate, another is the
generic io protocol. This is how i interfaced most of my hardware originally
and you dont need to modify any FG code, just write an xml file.
The flight gear io protocols all support a socket interface, I suggest you
have a look in /src/network and you will find that sending control data into
FG with a string is not difficult. Have a look at the Atlas.c as an example.
Harry
On Tue, Apr 14, 2009 at 8:03 AM, John Waget <jwa...@gmail.com> wrote:
hello,
need helps for this:
Instead of controlling an aircraft through keyboard, yoke or pedals, I want
to provide the control commands from a file or program. What should I do?
thanks
John
----------------------------------------------------------------------------
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel