> Yes I would prefer an ac+fdm+autopilot solution strictly for realism
> purposes -- but anything that instances planes controled by FG needs to be
> hooked into my network code so that ac status updates can be made
> visible to all other participants.
>
> AIPlane definitly meets some of my needs based on the descriptions and a
> quick peek at the code. The main area where AIPlane falls short IMO is the
> hard coded AI functionality -- so here we go:
>
> I would like to request your ideas and wishes for an aircraft AI scripting
> language sufficiently generic in scope to handle piloting any aircraft
> running on FG. I can see right off that it must be event driven, able to
> interupt its current procedure/task in response to external inputs, able to
> process complicated nested procedures with completion of a "statement" based
> on the current aircraft state or external inputs such as radio message or
> radar. It must span every level of interaction from "turn the plane to a


This probably doesn't fit your requirements exactly, but for an example you might want to take a look at the following documents:

FGScript class reference:
http://jsbsim.sourceforge.net/JSBSim/index.html

Example script:
http://cvs.sourceforge.net/viewcvs.py/jsbsim/JSBSim/scripts/c1722.xml?rev=1.14&view=markup

"Automatic Flight in JSBSim" (PDF)
http://jsbsim.sourceforge.net/AutomaticFlightInJSBSim.pdf

JSBSim - a FlightGear FDM - apart from driving FlightGear, can also be run by itself in a standalone application in a sort of batch run mode. This is useful for testing and development.  To *really* get some good functionality out of standalone JSBSim required us to develop a scripting capability as well as inherent autopilot functionality.  As I have mentioned before, JSBSim + script + autopilot =~ GNC, where the scripting provides "G"uidance, the FDM provides "N"avigation, and the FCS/Autopilot provides "C"ontrol.  To see what an autopilot definition file could look like, see the simple wing leveler put together completely in a configuration file using JSBSim flight control building blocks (components):

http://cvs.sourceforge.net/viewcvs.py/jsbsim/JSBSim/control/c172ap.xml?rev=1.8&view=markup
 
I hope these give you some ideas that will be helpful.
 
Jon
 

 

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

Reply via email to