James Turner
9b900e9430
Implement a persistent cache for navigation data.
...
Cache the parsed navigation and airport data in a binary file to reduce
startup times and memory consumption (since only referenced FGPositioned
elements are held in memory).
Data will be reimported when the mod-time of any input file is changed.
If a global file is changed (nav.dat, awy.dat, apt.dat, etc), the cache
will be completely rebuilt, which takes approximately 30 seconds on
moderate hardware. (Future work may reduce this).
2012-09-19 11:38:19 +01:00
Stuart Buchanan
60af52707c
Reduce severity of a failure to create a marker beacon due to an unknown runway from ALERT to WARN. Not particularly relevant error message for most users.
2012-06-30 20:50:57 +01:00
James Turner
20071b66af
Fix an edge case in flight-plan inserts.
...
When inserting with an invalid index, ensure we return the leg based on the fixed-up index, not the original one. Thanks to Matthias Götz for the catch!
2012-06-26 15:16:03 +01:00
ThorstenB
aabea95d19
#769 : fix glideslope reception
...
The glideslope station was only searched once whenever the NAV station
changed. However, sometimes a mismatching G/S station is found, since
another G/S station is still closer when the NAV station changes.
When this happened, the G/S station was never updated again (while the
NAV station stayed in range), resulting in the NAV receiver providing
correct localizer, but bad G/S data (data matching another, remote station).
Issue is fixed by alternating between searching NAV and G/S stations.
2012-06-18 22:57:22 +02:00
James Turner
1ef77b2bc2
More route-manager functionality moved to Nasal.
...
The routing behaviour now happens entirely in Nasal,
using a delegate, and can be over-ridden or disable
by aircraft authors. Default behaviour should be
unchanged.
2012-05-15 17:53:30 +01:00
James Turner
ce92730ef6
Expose FlightPlan delegates to Nasal, finally.
...
This will permit Nasal (e.g., FMS) to update nicely when the FlightPlan
is modified from anywhere else.
2012-05-12 17:23:17 +01:00
James Turner
0f61108f5b
Break FlightPlan out into its own file.
2012-05-12 10:25:56 +01:00
James Turner
b0384d035f
Remove remaining includes of simgear/waypoint
2012-05-11 23:49:12 +01:00
James Turner
acd8fa25e6
Expose procedure routing and fixes to Nasal.
2012-05-11 17:07:56 +01:00
James Turner
5808ed1b62
Permit an invalid index to be set on a flight-plan.
2012-05-07 10:59:34 +01:00
James Turner
1b7b69b498
Create a real FlightPlan (and Leg) class
...
Convert the route-manager to use a flight-plan internally, and expose
flightplan, leg and procedure data to Nasal. Move the Level-D parser
into its own file.
2012-05-07 00:35:48 +01:00
Frederic Bouvier
75fc136931
Remove redundant inclusion of math/SGMath.hxx
2012-05-05 11:20:04 +02:00
ThorstenB
0f462d4a6e
Fix rpmlint/Linux packager complaints
...
about outdated/invalid FSF address in some license headers.
2012-05-05 01:42:41 +02:00
James Turner
ea73373109
Support PBD waypoints in procedures files.
...
http://code.google.com/p/flightgear-bugs/issues/detail?id=635
2012-05-02 22:09:41 +01:00
James Turner
2d267a5782
Remove PositionedBinding (which no one ever used), Nasal is better for this jobs.
2012-04-26 00:37:47 +01:00
James Turner
fb66aeade1
More search functions exposed to Nasal, also airport parking.
2012-04-24 22:12:56 +01:00
James Turner
3d46809ea8
Expose waypoint source (airport/runway/navaid) to Nasal
2012-04-24 10:53:46 +01:00
James Turner
a132ced084
Nasal airport functions for various ancillary data pieces now work.
2012-04-23 23:04:59 +01:00
ThorstenB
2f7f5da4ad
marker beacon: catch NULL pointer
...
when runway not in navdb (affects incomplete/inconsistent nav data only).
2012-03-26 21:11:04 +02:00
Mathias Froehlich
8d3e1b06be
Remove /sim/paths/use-custom-scenery-data.
...
Scenery people tell me that this is always set to true
today. Thus we can remove this property as this allows
me for some further osg loader cleanups.
2012-03-15 18:48:57 +01:00
Mathias Froehlich
c71c9aee0a
Adapt to simgear SGMath change.
...
Simgears SGMath has lost its dependency on osg.
Update includes and code using these methods.
2012-03-03 13:37:43 +01:00
Frederic Bouvier
f1d0ac52a6
Fix MSVC9 build
2011-11-14 08:38:58 +01:00
James Turner
70b4f38ebc
Goodbye automake.
2011-11-01 11:15:53 +00:00
James Turner
9bd4ba6eb0
Anchor flight gear::Waypt's destructor, and make it virtual.
2011-10-24 18:21:50 +01:00
James Turner
b1b4b7ecf4
Fix (nearly) all the std:: namespace violations in headers, in preparation for fixing SGsmplstat.hxx to *not* do a 'using namespace std'.
2011-10-17 17:41:59 +01:00
Torsten Dreyer
9f41ee414f
Join duplicate fields ident and trans_ident in navrecord
2011-10-12 11:06:01 +02:00
James Turner
7abf7c5748
CMake header support for XCode/Visual Studio
2011-07-19 07:58:03 +01:00
Torsten Dreyer
c6d5b6ebdb
Partial fix for #228 : ambiguous navaid-names
...
This fixes at least the startup process.
If an ambigous fix name was presented with --vor=ID or --ndb=ID
present a list of matching records along with frequency and
position in the console to give the user the chance to pick
the correct one by adding the frequency with --vor-frequency=nnn.nn
It does not yes solve the issue when the user relocates using the
GUI dialog. This requires some GUI and Nasal hacking along with a
new Nasal helper function "navaidinfo".
2011-07-18 11:09:43 +02:00
Torsten Dreyer
eab9a65ebc
Fix some gcc warnings
2011-07-17 19:31:28 +02:00
James Turner
029d2b00eb
Tone down some log output for the release, especially related to airways/navaid loading.
2011-06-25 16:18:07 +01:00
James Turner
5572c53a7e
Minor tweaks to positioned find commands.
2011-06-02 00:33:47 +01:00
James Turner
fc7e9740c3
Improvements to exposing FGPositioned via commands - support frequency searches.
2011-06-01 23:55:04 +01:00
ThorstenB
aeb4bc3672
Fix Linux build (automake)
...
CMake guys: please don't forget automake (yet)! ;-)
2011-06-01 21:01:50 +02:00
Frederic Bouvier
bff1f29fe8
Fix Linux build
2011-06-01 20:28:31 +02:00
Frederic Bouvier
f1a3cedb2f
Fix win32 build
2011-06-01 20:25:53 +02:00
James Turner
2b967608a0
Expose FGPositioned data via property tree, and make comm-stations a real FGPositioned subclass.
2011-06-01 17:45:22 +01:00
ThorstenB
6cd0e5aac4
Merge remote branch 'origin/releases/2.2.0' into next
2011-02-19 12:00:43 +01:00
ThorstenB
118d8fbca5
#84 : John Denker: Set correct file modes
...
Sources shouldn't be executable.
2011-02-19 11:55:43 +01:00
James Turner
d227258b3b
Lazy caching of magvar on waypoints. Not used yet, but soon.
2011-01-20 08:49:09 +00:00
James Turner
7cbb3a10ed
Expand route-manager waypoint info, to support smarter FMS functions.
2011-01-20 00:39:42 +00:00
James Turner
4b7ce32387
Remove some legacy declarations from navrecord
2011-01-03 21:47:24 +00:00
James Turner
0931fe332e
Guard against NaN SGGeods in FGPositioned spatial queries, and in the GPS lat/lon reading code.
2010-12-19 16:18:12 +00:00
James Turner
a91ec5f9f9
Initial work on CMake build files, with considerable help from Olaf Flebbe.
2010-12-19 15:06:04 +00:00
Torsten Dreyer
58fbd0d72a
msvc warning fixes
2010-12-15 16:40:25 +01:00
James Turner
d2bbaa69e0
Change how ils.xml data is loaded, to reduce impact on startup time.
2010-12-07 18:07:50 +00:00
James Turner
f7548fec1f
Fix bug #185 - altitude ignored when adding waypoints to the route.
2010-12-01 23:57:01 +00:00
Christian Schmitt
0a5e86f4e6
remove old .cvsignore files
2010-11-11 01:16:29 +01:00
James Turner
f5c2c630eb
Remove references to old (unused) airways code
2010-10-20 17:54:16 +01:00
James Turner
308fd1b112
Automake build fixes for airways commit.
2010-10-20 11:48:06 +01:00
James Turner
dd2eec7bd8
Airways/procedures code - add new data structures to store waypoints and
...
procedures, and routing algorithms, and modify the GPS, route manager and
WaypointList to use the new objects.
2010-10-20 09:02:02 +01:00