James Turner
545b347a16
Relocate implementation of geocRadialIntersection
2015-12-10 15:53:05 -06:00
James Turner
fc887b106b
Checkpoint - ground-net skips the cache
2015-12-01 14:01:32 +00:00
James Turner
cec1de6219
Use a transaction when indexing polylines.
2015-11-29 14:18:30 +00:00
James Turner
e52e20b54f
SHPParser
2015-11-27 23:02:42 +00:00
James Turner
b9acb26c07
Work on launcher diagrams.
2015-11-23 00:47:01 +00:00
James Turner
56d7d049bc
Launcher GUI for in-air / navaid starts
2015-11-23 00:46:25 +00:00
James Turner
1e213201cf
Work on the launcher
2015-11-23 00:45:21 +00:00
James Turner
bbff8dcbb6
Remove / reduce level on some debug output
2015-06-08 10:37:26 +01:00
Rebecca N. Palmer
659c5b9676
Fix spelling
2015-04-06 10:28:10 +01:00
James Turner
e0274af493
Percentage feedback during nav-cache build.
...
- also used by the GUI launcher for the same.
2015-03-19 12:01:38 -05:00
James Turner
c3543f8fdd
GUI ‘restore defaults’ support.
...
- Hold ‘alt’ on launch to restore defaults, including launcher prefs.
2015-03-08 00:42:39 +00:00
James Turner
2d8cf78328
Fix Linux compilation.
...
- <memory> needed for auto_ptr
2015-02-25 23:53:49 +00:00
James Turner
e1def22193
Fix cleanup of RouteDataPrivate
2015-02-25 22:58:56 +00:00
James Turner
564177933b
FlightPlan activation, delegate hook.
2015-02-23 13:41:50 +00:00
Stuart Buchanan
6725b460bf
Clean up some trivial warnings
2015-01-18 19:49:14 +00:00
James Turner
dcf8ac1778
route-path: separate turn entry and exit parts.
...
Fixes appearance of runway legs with off-centerline previous
and next points, since we can generate different curves for each
end of the runway.
2015-01-14 23:28:52 +00:00
James Turner
e4f5f71aae
Route path turn helpers.
...
Make the code more readable with some named helper functions.
2015-01-11 13:15:24 +00:00
James Turner
e94371ebfc
Route-path bug fixes.
...
- explicit aircraft performance categories for turn radius
- allow overflight leg course behaviour to be selected
2015-01-08 19:46:04 +00:00
James Turner
78e8f53312
In-app launcher for Mac, based on Qt5.
...
The old Mac launcher doesn’t work on Yosemite, add a tiny
Qt-based launcher inside the main process (no need to fork /
exec) which runs before the OSG window is created.
Will be merged for 3.4, hopefully with no impact on other
platforms.
2015-01-06 19:13:30 +00:00
James Turner
5ccc835667
Fix turn entry path position computation.
2015-01-03 00:29:07 +00:00
James Turner
6db45dac9d
Fix two route path issues found by Hyde
...
- course computation from a runway was wrong (used threshold pos)
- negative distance along path was using wrong distance to offset
2015-01-02 09:47:54 +00:00
James Turner
dbc47efa18
Partial fix for runway leg courses.
...
Don’t assume runway leg course matches the runway heading.
Full fix means generating separate entry/exit turns for runways.
2014-12-25 21:52:54 +03:00
James Turner
5c659b3970
Fix distance-along-path computation
...
(Thanks to Hyde Yamakawa for pointing this one)
2014-12-25 21:52:13 +03:00
James Turner
dd1b829618
When the turn angle is large, don’t fly-by.
...
This avoids the tan() term in the fly-by computation
causing huge turn cuts which will fail to sequence.
Convert such turns to fly-over.
2014-12-22 21:47:21 +03:00
James Turner
f80528f8d6
RoutePath mag-var and point-on-path fixes
2014-12-22 17:00:43 +03:00
James Turner
aa3333cd31
Fix runway path appearance.
2014-12-21 09:21:31 +03:00
James Turner
91992f6cf1
Route path
...
- better point along path computation
- fix path distance for turns
- detect and skip duplicated waypoints
(and provision to skip based upon impossible turn
geometry soon)
2014-12-20 15:19:00 +01:00
James Turner
088572e87d
Route-path:
...
* better overflight pathing based on next wpt type
* tolerate procedures with bad intersections (eg KSFO OFFSH8)
2014-12-19 17:01:27 +00:00
James Turner
7317aff22d
Fix route-path bugs:
...
- accurate fly-over / fly-by computations
- parse additional LevelD XML elements
- path vector contains curves for turns
Remove dead code.
2014-12-18 23:05:28 +00:00
James Turner
01622dd1f4
Fix flight-plan course and distance computations.
...
Always use the RoutePath system for course and distance computations
in the flight plan, so that dynamic segments are handled correctly.
2014-12-08 17:56:15 +00:00
James Turner
938a180c3d
Level-D procedures: parse Flytype element
...
With this, the fly-by / fly-over info from the procedures is exposed
correctly.
2014-12-07 12:34:50 +00:00
James Turner
d806b68706
find waypoints in the flight plan.
2014-12-04 15:43:32 +00:00
James Turner
cb9919ef74
Drop ground-nets cache on scenery path change.
...
Unfortunately we can’t drop loaded ones, since the in-memory structures don’t have ref-counting, and we don’t
know what AI plans may be referencing them.
2014-12-02 16:31:34 +00:00
James Turner
fea8e96fe9
Fix for airport search on some platforms.
...
Ensure the std::string passed to sqlite lives for the duration
of the query.
2014-05-29 09:42:21 +01:00
Torsten Dreyer
2c3d779459
Add virtual destructor
2014-03-23 21:17:54 +01:00
James Turner
9847bf3d13
Fix for bug 1419, nav.dat runway binding
...
Clean runway names to standard structure (0-prefix) before looking up
in the cache, when binding ILS navs to runways.
https://code.google.com/p/flightgear-bugs/issues/detail?id=1419
2014-03-23 09:53:00 +00:00
Torsten Dreyer
d59c57717e
Don't allow call with no Filter set. Leads to crash.
2014-03-19 17:24:52 +01:00
James Turner
7041ed9078
Fix compilation with SYSTEM_SQLITE
2014-03-13 18:19:13 +00:00
Torsten Dreyer
275d2dc7fa
Partial fix #1408
2014-03-12 21:21:56 +01:00
James Turner
56ca1fe93b
Don't rebuild navcache for scenery changes
...
- Cache can drop all ground-nets.
2014-03-12 18:56:18 +00:00
James Turner
c00ab21fad
ICAO.ils.xml data works read-only.
2014-03-12 18:56:18 +00:00
James Turner
ffa7854ed9
ICAO.threshold.xml works read-only.
2014-03-12 18:56:18 +00:00
Thomas Geymayer
c7c9fd67aa
TACAN: fix distance calculations and some other problems.
...
- Calculate line of sight distance instead of distance over
ground
- Do a nav cache update if carrier_nav.dat.gz timestamp has
changed
- Allow comments in carrier_nav.dat.gz
- "Fix" range calculations (still does not take terrain/weather
and other influences into account)
2014-03-02 16:52:00 +01:00
Thomas Geymayer
5151f7f5e0
TACAN improvements.
...
- Make search interval for new mobile tacan larger.
- Continuous update of mobile tacan position.
2014-03-02 01:34:04 +01:00
Thomas Geymayer
234e2bdf09
TACAN/mobile navaid cleanup and improvements.
2014-03-01 20:19:06 +01:00
James Turner
d035fdf3a9
Optimise NavCache airport query
...
- makes initial showing of 'Select Airport' dialog faster
2014-02-24 19:43:20 +00:00
James Turner
b0dcb657e7
Fix for bug 1304 - crash loading XML route
...
If the XML is malformed (missing <route> section), don't crash.
https://code.google.com/p/flightgear-bugs/issues/detail?id=1304
2014-02-21 07:57:35 -08:00
Rebecca Palmer
6adb8b22df
Fix compilation with SYSTEM_SQLITE, from Markus Wanner
...
Fix error "no known conversion for argument 1 from ‘sqlite3_int64
{aka long long int}’ to ‘PositionedID& {aka long int&}’"
(Both those types are int64, but that evidently isn't enough)
2014-01-26 10:34:49 +00:00
James Turner
f98af7eb35
Fix un-initialized memory read.
2014-01-17 17:17:47 +00:00
ThorstenB
01b824929c
Route manager support to read flightplans in GPX format
2013-12-08 19:36:16 +01:00