Hi, I now have flightgear running with the latest CVS and have a good understanding on how to use the program. I am now into coding in Flightgear. I have added to menubar.xml and have bound the commands to some functions I have created. I am now working on creating the autonomous flying aircraft. I want to start off with the aircraft getting its jobs from a postgres database. I am thinking of using postgres because of its support for gis data using the postgis module. These job could be in the form of an airport id or (lat, long) to fly too.
To begin a prototyping I was thinking of copying the behaviour of autopilot when add to waypoint is called. I have traced the code to void AddWayPoint(puObject *cb) in auto_gui.cxx but that is when the code gets confusing because the old method of displaying a dialog box is used. Is anyone who understands this code willing to step me through the process of obtaining waypoints and using these waypoints to decide the heading of the plane and overriding other inputs while in autopilot? I may have missed some documentation that describes this so please point it out if I have. Seamus _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
