1
0
Fork 0
Commit graph

8561 commits

Author SHA1 Message Date
jmt
9495c2efdf Route tweaks, especially in-flight activation and deactivation
* Don't require a valid departure and destination airport
* Handle in-air route activation cleanly
* Handle end-of-route situation cleanly
2009-10-22 23:21:25 +02:00
ehofman
9c8d6ee663 Add a proper typecast 2009-10-22 23:14:13 +02:00
ehofman
42b990ca1b line up aircraft orientation and velocity vector 2009-10-22 23:14:13 +02:00
jmt
08039f1fa5 Tweak permitted indices for GPS route insert commands. 2009-10-21 16:28:14 +02:00
jmt
2a86384da7 GPS commands to edit the route manager route. 2009-10-21 16:28:01 +02:00
ehofman
6e2974ea57 Assorted small soundsystem related fixes. 2009-10-21 16:27:45 +02:00
ehofman
e2678830ba Use auto_ptr when calling SGSoundSample 2009-10-20 00:00:08 +02:00
ehofman
7d6631d9a6 remove a debugging left-over 2009-10-20 00:00:08 +02:00
ehofman
b25940e1ea Fix a number of small bugs; eg test if SoundMgr::load fails and return false in that case. 2009-10-20 00:00:08 +02:00
ehofman
afb0ada81f Make sure the unbind method is called for all registered subsystems proir to deleting the subsystem manager. 2009-10-20 00:00:08 +02:00
ehofman
836aabae69 Removed code from ConsumeFuel() which failed due to rounding error. 2009-10-19 23:58:14 +02:00
jmt
069b26bbb8 Make panel-IO quieter. 2009-10-19 23:56:51 +02:00
jmt
71a9e3d419 HUD tweak - don't show cross-track error if it's (effectively) zero. 2009-10-19 23:56:51 +02:00
jmt
332e7fc59b GPS data validity clean-up; it was a mess, now it's more robust. Thanks to Dave Luff for reporting. 2009-10-19 23:56:51 +02:00
jmt
87141b47a7 Fix route-manager / GPS sequencing interaction; tied properties need help to fire listeners. 2009-10-19 23:56:51 +02:00
jmt
1a05ed6b3d Fix a copy-and-paste bug with destination runways. Caught by Scott Hamilton. 2009-10-19 23:56:51 +02:00
ehofman
73d4b78396 explicitly activate the sound manager 2009-10-18 18:19:52 +02:00
daveluff
a2401ea94b Add a hardwired instrument approach for testing. This will be removed and read from file shortly 2009-10-18 17:56:17 +02:00
Tim Moore
2c6cfca38b Fixes for changes in simgear/math/sg_types.hxx 2009-10-18 12:16:54 +02:00
frohlich
78aa4be170 Fix 64 bit linux builds.
Modified Files:
	src/ATCDCL/ATCVoice.hxx
2009-10-17 23:58:41 +02:00
daveluff
882f5b4deb My non-precision approach model had been one or more IAFs and then a common core approach from the IF. In fact, there can be one or more initial approach routes from the IAFs to the IF, then the core approach. Replace the IAFs with initial approach routes. NOTE it is assumed in the code that there is a unique IAF per initial approach route. 2009-10-17 23:54:26 +02:00
daveluff
a01bee3817 Change one of the default flight plans to something more convenient for development. These will eventually all be removed from the code and read from preferences anyway. 2009-10-17 23:54:14 +02:00
daveluff
8de8a734a2 Fix a crash where there is only 1 IAF in an approach 2009-10-17 23:54:05 +02:00
ehofman
1b08051597 SoundManager fixes 2009-10-17 14:02:46 +02:00
ehofman
6fec83155e James Turner: Add autobrake functionality 2009-10-17 14:02:27 +02:00
jmt
afb1e7ffe9 Further GPS and route manager behavioural fixes
* When the nav-radio is slaved, calculated radial/target-hdg-deg
 (needed by some autopilot logic)
* Handle editing (including deletion) of route waypoints correctly,
 including deleting the active waypoint
* Add a signal to the route manager when the last wpt is reached, and
 use it in the GPS to revert to OBS mode.
* Change the altitude handling to use the specified cruise altitude
* Fix a bug where autopilot/locks/altitude was treated as a boolean
2009-10-16 11:24:36 +02:00
ehofman
a9b3fc7a56 move some of the sound postion and orientation calculations over to the sample class which also makes the main code nice and clean 2009-10-16 11:24:10 +02:00
ehofman
b937b5bbea Changed starting fuel flow. Fixed aborted start behavior. 2009-10-16 11:23:07 +02:00
ehofman
b7079aef7a This is the looping fix. 2009-10-16 11:22:57 +02:00
ehofman
5e22f4b563 fixed egngine feed bug 2009-10-16 11:22:47 +02:00
jmt
a865555fed Route-manager: remove any interaction with the autopilot, or internal sequencing; assume the GPS always handles this (it should, now). Also fix waypoint altitude handling, which was broken. If not altitude is supplied for a waypoint, default to the requested cruise altitude. 2009-10-14 11:44:27 +02:00
v meazza
d974954b5a Fix bug in collision calculations
Signed-off-by: v meazza <vivian.meazza@lineone.net>
2009-10-14 10:40:47 +02:00
v meazza
e91b5a8804 remove debug message
Signed-off-by: v meazza <vivian.meazza@lineone.net>
2009-10-14 10:40:47 +02:00
jmt
879531ce63 Make the GPS drive the autopilot directly (if configured), also update external course (OBS) source, and init at the current airport. 2009-10-14 00:42:37 +02:00
jmt
5aa51e5780 Ensure we always create a GPS instrument. 2009-10-14 00:42:37 +02:00
jmt
093e267091 Make the HUD show GPS state, instead of RM state. 2009-10-14 00:42:36 +02:00
jmt
d4cc5f9c44 Change default airport search to exclude seaports and heliports, for the moment. 2009-10-14 00:42:36 +02:00
ehofman
0f0f25512d sync. with JSBSim CVS again 2009-10-14 00:40:44 +02:00
ehofman
a3af4ed1d8 make it compile again 2009-10-12 12:53:22 +02:00
Tim Moore
3c5679fa40 Merge branches 'jmt/dialog' and 'durk/scenery' 2009-10-12 11:06:12 +02:00
Tim Moore
21122fa03e Merge branches 'jmt/brakes' and 'jmt/dump' 2009-10-12 11:05:36 +02:00
Tim Moore
919d1625df Merge branch 'stuart/clouds' 2009-10-12 11:04:58 +02:00
Tim Moore
02c75ba583 Merge branch 'torsten/axes' 2009-10-12 11:04:47 +02:00
Tim Moore
40639d38a8 Merge branches 'jmt/xmlauto', 'luff/kln89' and 'curt/radial' 2009-10-12 11:03:35 +02:00
Tim Moore
c779c2ac21 Merge branch 'jmt/positioned' 2009-10-12 11:02:00 +02:00
Tim Moore
7d5c510215 Merge branch 'vivian/trainz' 2009-10-12 10:59:18 +02:00
curt
d24caed229 Alex Perry: some updates to terrasync. 2009-10-12 07:59:52 +02:00
ehofman
b582c118bd Correct (and verrified) position, orientation and velocity vector. Todo: proper sound orientation (the all face forward using the airplane orientation now) and disabling doppler effect when tied to the listener 2009-10-12 07:58:11 +02:00
jmt
110dd605a0 Fix unrealistic-but-convenient direct-drive from the route-manager to the autopilot code. A new boolean config prop, 'drive-autopilot' exists, to disable this behaviour. 2009-10-12 07:56:15 +02:00
jmt
bde366e0e3 Make GPS slaved mode on the navradio slightly more robust. Not done yet. 2009-10-12 07:55:51 +02:00