James Turner
9e4e6a6fbf
Avoid view-manager returning default SGGeod
...
- when switching views, force an update() to ensure view position
is valid. Otherwise various subsystems such as AI traffic and the
tile manager see a request for a 0,0 location.
- when switching to model view, we still generate a 0,0
location initially - to be fixed.
2015-12-30 14:48:01 -06:00
Erik Hofman
335fda719d
Prevent two possible nan's
2015-12-29 14:55:22 +01:00
Erik Hofman
d6c5dc647d
Do not call setIsPushback, it causes a segmentation fault after about 10 minutes. I did commit this change in 6b9a28a568
to fix a warning, but it night not have been the wisest thing to do.
2015-12-24 13:44:34 +01:00
Erik Hofman
de023dd7bd
Fix the tile-manager subsystem name
2015-12-24 11:52:09 +01:00
James Turner
7644c74df9
Better Traffic performance data warnings.
2015-12-22 15:15:27 -06:00
Torsten Dreyer
7a69b9beff
don't always open "file opened in new browser window" popup
...
Setting /sim/gui/show-browser-open-hint to false disables the popup.
Default is true (show the popup)
2015-12-22 11:42:27 +01:00
Torsten Dreyer
2b66cf3484
Remove unused code
2015-12-22 11:41:56 +01:00
James Turner
6da9461f92
Fix a typo
2015-12-19 00:32:25 -08:00
James Turner
c69e6fde12
AI subsystem now does an orderly shutdown
...
- remove special case logic which is no longer required
2015-12-19 00:30:31 -08:00
James Turner
83ea6d32d0
Make PerformanceDB a real subsystem
2015-12-19 00:29:00 -08:00
James Turner
e80fc563e5
Fix off-by-one errors in GroundController
...
findSegment() and segments[] array use different indexing, account
for this in the conversion to always use findSegment
2015-12-19 00:08:07 -08:00
James Turner
b7c88e7acc
Stop OSG threading earlier on shutdown.
...
Avoid intermittent race conditions on shutdown when the OSG
pager/Db thread is running. Ensure the OSG threads are stopped before
we start tearing down any scene graph nodes.
2015-12-18 22:00:37 -08:00
James Turner
0e71a9593b
Quiet down Traffic error logging.
2015-12-18 21:59:28 -08:00
James Turner
865bb365ed
Trying to bullet-proof the traffic code.
2015-12-18 21:42:22 -08:00
James Turner
0f590280c7
Aircraft-model subsystem behaves better
...
- make shutdown logic more robust
- shutdown is no longer special cased in globals.
2015-12-18 20:13:23 -08:00
James Turner
89065ea5c2
Proper shutdown() for the model manager
...
- also move property setup to bind/unbind
2015-12-18 19:56:56 -08:00
James Turner
c76d106e64
Runtime checks for GroundContoller crashes.
...
Trying to identify what’s actually going wrong here.
2015-12-17 20:23:45 -08:00
James Turner
b431696e9b
Fixes for first/last legs on a route
...
- fixes total route distance calculation
2015-12-17 19:22:14 -08:00
James Turner
c585f7f7d1
Asserts to pin down a reported crash.
2015-12-16 13:02:06 -08:00
Erik Hofman
64b80b4dab
Sync with JSBSim again: remove a lot of unused trimming code
2015-12-15 09:47:08 +01:00
James Turner
ff33aa038e
Fix a startup issue Vic Mar reported
...
- accept invalid/missing airport IDs when starting ATC
2015-12-14 14:59:33 -06:00
James Turner
9c467af6bf
Interim windows build fix
...
(real fix to follow shortly)
2015-12-14 10:56:42 -06:00
James Turner
e5fa1a5ab1
Merge /u/userid-1550991/flightgear/ branch next into next
...
http://sourceforge.net/p/flightgear/flightgear/merge-requests/31/
2015-12-14 14:57:18 +00:00
Erik Hofman
a5e516fe8c
Replace a program segmentation fault by an annoying message
2015-12-14 11:14:40 +01:00
www2
2da5541901
Add feedback if prompt mode is use
2015-12-13 15:57:53 +01:00
www2
95e3d00a17
Add new commands to telnet protocall
...
New comands:
setb set a Boolean value
setd set a Floaring point value
seti set a integer value
del delete a node
2015-12-12 15:43:00 +01:00
James Turner
7afedb1702
Work on visualisation of Vias
2015-12-11 13:43:25 -06:00
James Turner
846fd21698
GUI support for VIA/Discontinuity
2015-12-11 13:43:25 -06:00
James Turner
caead66ba6
Nasal support for VIA / Discontinuity
2015-12-11 13:43:25 -06:00
James Turner
eaa147e3c2
Work on FlightPlan VIA / discontinuity support.
...
Needed for realistic FMS route support.
2015-12-11 13:43:25 -06:00
James Turner
a55c939c5e
Fix a JSBSim crash on OSG-quit
...
(i.e Cmd-Q / window closing, not the normal FlightGear quit sequence)
2015-12-11 12:49:32 -06:00
James Turner
8877b442f8
ATC/Traffic doesn’t crash reset.
...
- remove some global headers from AI headers, to avoid pollution
- change how ATC owns the ‘player’ FGAIAircraft so reset works
- ensure AIAircraft controllers are cleared on unbind for reset
2015-12-11 12:11:59 -06:00
James Turner
1544641405
Remove view/tile/scenery members from globals
...
- also fix sound manager creation
2015-12-11 12:11:59 -06:00
Erik Hofman
6b9a28a568
Fix warning: variable ‘isPushBackRoute’ set but not used
2015-12-11 11:39:29 +01:00
James Turner
43fcbd2246
Progress towards testing
...
- remove route-manager from global variables
2015-12-10 16:40:22 -06:00
James Turner
76c6665af4
Merge /u/edauvergne/flightgear/ branch lat_lon_precision_fix_v3 into next
...
http://sourceforge.net/p/flightgear/flightgear/merge-requests/23/
2015-12-10 22:39:31 +00:00
James Turner
3c5340d98d
Merge /u/edauvergne/flightgear/ branch fdm_restoration into next
...
http://sourceforge.net/p/flightgear/flightgear/merge-requests/24/
2015-12-10 22:35:07 +00:00
James Turner
d891c5928c
Remove /sim/temp/winding-ccw property
...
- part of work on unit-testing, remove OpenGL usage in fg_props
2015-12-10 15:53:05 -06:00
James Turner
545b347a16
Relocate implementation of geocRadialIntersection
2015-12-10 15:53:05 -06:00
James Turner
d7a680e848
Templated subsystem handling
...
- remove explicit FGControls var from globals, as part of work
towards unit-testing infrastructure.
2015-12-10 15:53:05 -06:00
James Turner
6446d67431
Split GroundNetwork class down the middle
...
- ATC functions move to GroundController, which layers above
remaining GroundNetwork functionality
- dynamics owns both the groundNetwork and the ground controller.
2015-12-10 15:53:05 -06:00
James Turner
8b49ed08cc
Merge /u/edauvergne/flightgear/ branch warning_cleanup_UIUC_LaRCsim into next
...
http://sourceforge.net/p/flightgear/flightgear/merge-requests/26/
2015-12-10 20:22:56 +00:00
Erik Hofman
c1729253ee
Read the scenery global scene effects configration file and update them every frame. The SceneFX class is not yet registered though.
2015-12-10 13:24:52 +01:00
Edward d'Auvergne
9b7db929f2
LaRCsim FDM - detabbing of all files.
...
All '\t' have been replaced with 8 spaces, as most of the code is indented with spaces.
2015-12-10 10:07:21 +01:00
Edward d'Auvergne
dc04fc2294
UIUC FDM - detabbing of all files.
...
All '\t' have been replaced with 8 spaces, as most of the code is indented with spaces.
2015-12-10 10:04:45 +01:00
Edward d'Auvergne
7ed80221c3
LaRCsim cleanup of -Wimplicit-function-declaration compilation warnings.
...
The stub FDM/LaRCsim/default_model_routines.h header has been expanded and completed.
2015-12-10 10:01:37 +01:00
Edward d'Auvergne
97d0ab7eb9
LaRCsim cleanup of -Wunused-variable compilation warnings.
...
A number of static array definitions were shifted into the scope of the function.
2015-12-10 09:23:29 +01:00
Edward d'Auvergne
cf9e3e7bf0
LaRCsim cleanup of -Wformat-contains-nul compilation warnings.
...
The sprintf() function automatically adds the terminating null character, so no
need to have it in the formatting string.
2015-12-10 09:13:34 +01:00
Edward d'Auvergne
13b05db6f9
UIUC cleanup of -Wunused-but-set-variable compilation warnings.
...
The two unused variables were commented out.
2015-12-10 09:11:09 +01:00
Edward d'Auvergne
4eeeaf140c
UIUC cleanup for -Wsign-compare compilation warnings.
...
The string find_first_not_of() and find_first_of() functions return string::npos
if not found, rather than -1.
2015-12-10 09:04:23 +01:00