1
0
Fork 0
Commit graph

10060 commits

Author SHA1 Message Date
Durk Talsma
db816deb90 Added a new startup option. By giving the command line option --parkpos=AVAILABLE you can -in principle- let FlightGear decide what the most optimal parking location is. This option does require a few properties to be set that are also needed for future ATC use. Hence, they are listed under /sim/ATC, but could move to a different location if desired.
/sim/ATC/radius should be a nummeric estimate of the size of your aircraft. A small aircraft fits into a large parking, but a large aircraft does not fit into a small parking space. Because the AI part of radius is also used for slightly different purposes (prioritizing gate assignmments, the given valuem may deviate slightly from the real aircraft size. See http:/wiki.flightgear.org/Aircraft.radii for an overview of currently used values for the redius property.
/sim/ATC/flight-type can be any one of "ga", "cargo", "gate", "mil-fighter", "mil-cargo", or "vtol". See http://wiki.flightgear.org/Interactive_traffic#A_technical_perspective for more information.
optionally, the property /sim/ATC/airline can be set set to a three letter icao airline code. By way of illustration, I will commit a number of startup preset files setting these properties shortly.

Also did some more finetuning to the traffic mananger routing algorithm can be any one of "ga", "cargo", "gate", "mil-fighter", "mil-cargo", or "vtol". See http://wiki.flightgear.org/Interactive_traffic#A_technical_perspective for more information.
optionally, the property /sim/ATC/airline can be set set to a three letter icao airline code. By way of illustration, I will commit a number of startup preset files setting these properties shortly.

Also did some more finetuning to the traffic mananger routing algorithm.
2011-09-17 16:51:00 +02:00
Durk Talsma
67c604a722 Some tweaks to the AI traffic scheduling algorithm. Remove the requirement for a home port, but keep planning until we are back at the original port of departure. 2011-09-16 20:04:13 +02:00
adrian
66e2bac574 commradio subsystem part deux 2011-09-16 16:28:16 +03:00
Torsten Dreyer
0fa556d36a fix upper/lowercase typo
Just don't develop with windows. Never.
2011-09-15 22:39:47 +02:00
Torsten Dreyer
43109feb0c Some more refactoring of the radios
- wrap the ident-generating code into a class
- move dme-in-range property into dme.cxx
- move dme-ident generation into dme.cxx
- support ident-button and volume for dme idents
- use globals.get_aircraft_position instead of properties
- some minor cleanup
2011-09-15 21:28:30 +02:00
James Turner
2de3872d66 In joystick configurations, fall back to <unix> if no <mac> entry was provided, since the number is frequently identical. 2011-09-15 09:54:00 +01:00
Mathias Froehlich
633b07dedc cmake: clear the svn libraries variable if not found. 2011-09-14 09:57:57 +02:00
Torsten Dreyer
9cef27f5ca Refactor morse and beacon as singleton 2011-09-13 20:12:52 +02:00
Frederic Bouvier
587895bf2b Typo 2011-09-12 12:20:22 +02:00
Frederic Bouvier
8a63b26c42 Attempt to make FindSvnClient.cmake portable 2011-09-12 12:14:08 +02:00
Frederic Bouvier
d3d358bdbd Don't try to find winmm 2011-09-12 11:08:32 +02:00
Frederic Bouvier
918202a1ae Fix SVN detection for Windows 2011-09-12 11:08:02 +02:00
Frederic Bouvier
14fb839c44 Auto detect 3rd Party root for Windows 2011-09-12 11:07:31 +02:00
Mathias Froehlich
81b125069b cmake: Use a default build type that builds fast executables. 2011-09-12 08:10:48 +02:00
Durk Talsma
0749bbcaca Merge branch 'next' of gitorious.org:fg/flightgear into next 2011-09-11 21:45:34 +02:00
Frederic Bouvier
7a83db28c6 Lower the requirements on Cmake version (at least until Jenkins is updated) 2011-09-11 21:44:43 +02:00
Durk Talsma
1e4b17595a -Prevent crashing the sim when starting at a gate that is not connected to the ground network. For now, just silently shut down the ATC system. 2011-09-11 21:42:29 +02:00
Frederic Bouvier
57754b4ac8 Enforce the use of Cmake 2.8 2011-09-11 20:50:37 +02:00
Frederic Bouvier
6b3088346b Less confusing display name 2011-09-11 20:12:27 +02:00
Frederic Bouvier
ce8488c276 Change display name 2011-09-11 19:50:20 +02:00
Frederic Bouvier
7591494274 First stab at creating a nightly build for programs created with vs2010 and Cmake 2011-09-11 16:30:56 +02:00
Frederic Bouvier
45f08ceb6d Update version in Win32 dev packaging 2011-09-11 16:18:36 +02:00
Frederic Bouvier
073511492f Fix VS2008 build after JSBSim update - 2nd try 2011-09-11 16:09:26 +02:00
Frederic Bouvier
865a5c4f14 Fix VS2008 build after JSBSim update 2011-09-11 16:05:58 +02:00
Erik Hofman
b175d8f1ac Merge branch 'next' of git://gitorious.org/fg/flightgear into next 2011-09-11 13:20:54 +02:00
Erik Hofman
7e91e7e98b change file mode to 644 2011-09-11 13:19:51 +02:00
Mathias Froehlich
c5b22d248e cmake: Quote argument in FindSvnClient.cmake. 2011-09-11 12:42:59 +02:00
Mathias Froehlich
f4b45eca7e cmake: Use ws2_32.lib instead of the WINSOCK_LIBRARY variable.
Fixup for commit 549c5eccb9.
Do not refer to the no longer existing WINSOCK_LIBRARY variable.
Instead, at this single place where it is used, just use ws2_32.lib.
2011-09-11 12:17:20 +02:00
Erik Hofman
b09a2347a8 remove unused files 2011-09-11 11:44:19 +02:00
Erik Hofman
7375166c2b New version of JSBSim, a big rewrite. 2011-09-11 11:42:21 +02:00
Mathias Froehlich
549c5eccb9 cmake: Factor out common simgear dependency libs.
Factor out and use this core simgear depenency
library cmake variable.
2011-09-11 11:22:10 +02:00
Frederic Bouvier
099bfd988b fgfs and fgpanel need to be linked with the winsock library (on Windows) 2011-09-09 21:38:02 +02:00
James Turner
a5a8090d52 Cmake: Split simgear libraries into core and scene (only scene uses OSG). Fix linkage issues, and make helper binaries (yasim, terrasync) link against less stuff. 2011-09-08 13:59:40 +01:00
Mathias Froehlich
d09575e646 autotools build updated with sgthreads library 2011-09-08 00:49:23 +02:00
Csaba Halasz
938d4f3752 autotools build updated with sgthreads library 2011-09-07 22:14:36 +02:00
adrian
f96123de1c begin work on radio subsystem 2011-09-06 10:29:54 +03:00
Mathias Froehlich
6b6238293f Revert to simgears thread support. Flightgear side.
For all source directories outside of simgear/scene,
which really depends very hard on osg, avoid using osg
classes. This should reenable the use of some basic and
scenegraph independent parts of simgear without the
the need for osg.
2011-09-06 07:31:12 +02:00
Martin Spott
c158619e3c Disable building fgadmin if FLTK's fluid command is unavailable. 2011-09-05 23:44:00 +02:00
Martin Spott
065f4ee5cb Make HLA configurable.
Permit un-breaking of FlightGear CMake builds on setups with a working HLA
RTI installed, accommodating with recent changes to SimGear CMake.
2011-09-05 20:25:30 +02:00
Martin Spott
5a198ca9f5 Merge commit 'refs/merge-requests/11' of git://gitorious.org/fg/flightgear into next 2011-09-05 14:17:31 +02:00
adrian
80e5585cc3 comm radio subsystem 2011-09-05 11:51:19 +03:00
adrian
2c91f179d1 reduce distance to 300 km 2011-09-05 09:46:19 +03:00
adrian
c69c91769e fix array index out of bounds in dynamics.cxx 2011-09-05 07:56:13 +03:00
adrian
9afa0e90ed print some relevant data on screen to verify accuracy 2011-09-05 07:35:44 +03:00
adrian
038251e8af fix trx and rx heights and improve calculations 2011-09-05 07:23:48 +03:00
adrian
6a4272be14 Merge branch 'next' into radio-att 2011-09-05 05:26:24 +03:00
Durk Talsma
35abe6d0ab A number of cosmetic and/or infrastructural changes.
Traffic Manager:
	* Just continue routing until we run out of flights. This change removes one of the major requirements for setting the "Home port" field.
	* Add a time restriction requirement for the aircraft scheduler; this became necessary after removing the limited-to-home-port routing restriction.
	* Added a new field to the heuristics calculation: take into account whether an aircraft has already been used in a previous session. Rotate aircraft assignments for greater variability across sessions.
	* Added a revision number to the cache files, so that old cache results, which are no longer compatible with the new file format, are discarded.

Groundnetwork and traffic control:
	* Added a revision number to the cache files, so that old and incompatible results are discarded.
	* The caching algorithm probably didn't store the correct data for airports that were processed while the user was quite far away. This is now corrected by checking whether the cached elevation data are equal to the generic airport elevation.
AIAircraft:
	* I've been searching for the infamous aircraft bend-over-backward bug, that can occur during initialization, but to no avail yet. The only variable potentially responsible (tgt_vs) wich can explain the irregular jumping behavior, as well as the weird pitch results is initialized in AIAircraft's only constructor (through AIBase), and I can't find any situation in the ground handling code where this variable could get bizarre values. But,
	* a couple of tgt_vs. calculations appear to be completely redundant. This value was calculated twice inside the ProcessFlightplan function, and subsequently again in the updateSecondaryTargetValues function. I have removed the calculations in the process flightplan function, without any apparent side effect.
2011-09-04 20:27:36 +02:00
adrian
135c544f6e bugfix 2011-09-04 16:13:47 +03:00
adrian
2f0ea5f3f1 Merge branch 'next' into radio-att 2011-09-04 14:21:53 +03:00
adrian
9df5e8ee33 check for allowTransmission 2011-09-04 14:20:41 +03:00