]> git.mxchange.org Git - flightgear.git/log
flightgear.git
15 years agoMerge branch 'jmt/reciprocal' into next
Tim Moore [Thu, 17 Sep 2009 20:52:17 +0000 (22:52 +0200)]
Merge branch 'jmt/reciprocal' into next

15 years agoDifferent approach to handling the paired-ILS-on-opposite-runways situation. This...
jmt [Wed, 16 Sep 2009 09:35:22 +0000 (09:35 +0000)]
Different approach to handling the paired-ILS-on-opposite-runways situation. This uses additional information we now store (in FGRunway) to be more explicit about the behaviour (i.e only look at paired navids), and crucially, does not misbehave near either threshold. Instead it always switches about the runway midpoint (so back-course/missed-approaches are broken as before), leading to stable behaviour when touching down.

I am pretty confident this is (was, from FS2004) also the 'solution' taken by MSFS.

15 years agoAssociate non-ILS localisers with their runway.
jmt [Wed, 16 Sep 2009 00:23:34 +0000 (00:23 +0000)]
Associate non-ILS localisers with their runway.

15 years agoMake FGRunway track reciprocal runways.
jmt [Wed, 16 Sep 2009 00:17:12 +0000 (00:17 +0000)]
Make FGRunway track reciprocal runways.

15 years agoMerge branch 'jmt/navradio' into next
Tim Moore [Thu, 17 Sep 2009 20:49:07 +0000 (22:49 +0200)]
Merge branch 'jmt/navradio' into next

15 years agoOne more divide by zero fix from Torsten.
jmt [Tue, 15 Sep 2009 15:34:36 +0000 (15:34 +0000)]
One more divide by zero fix from Torsten.

15 years agoWork around the penaltyForNav broken-ness, by ensuring GS behaves sanely even if...
jmt [Tue, 15 Sep 2009 10:15:42 +0000 (10:15 +0000)]
Work around the penaltyForNav broken-ness, by ensuring GS behaves sanely even if non-matches LOC and GS transmitters are selected. Which happens. Yuck.

15 years agonavradio: fix crash spotted by Torsten, when nav range is unspecified.
jmt [Mon, 14 Sep 2009 22:41:29 +0000 (22:41 +0000)]
navradio: fix crash spotted by Torsten, when nav range is unspecified.

15 years agoFix the has-gs flag when switching to a VOR (thanks Torsten), and expose GS validity...
jmt [Mon, 14 Sep 2009 21:53:55 +0000 (21:53 +0000)]
Fix the has-gs flag when switching to a VOR (thanks Torsten), and expose GS validity via a new gs-in-range boolean prop, as suggested by John Denker.

15 years agoLogging: less verbose about navaids we didn't align.
jmt [Mon, 14 Sep 2009 12:44:30 +0000 (12:44 +0000)]
Logging: less verbose about navaids we didn't align.

15 years agoLogging: less verbose traffic-manager startup.
jmt [Mon, 14 Sep 2009 12:39:41 +0000 (12:39 +0000)]
Logging: less verbose traffic-manager startup.

15 years agoLogging: less verbose panel loading.
jmt [Mon, 14 Sep 2009 12:39:25 +0000 (12:39 +0000)]
Logging: less verbose panel loading.

15 years agoMerge branch 'topic/atmos-merge' into next
Tim Moore [Sat, 12 Sep 2009 13:50:06 +0000 (15:50 +0200)]
Merge branch 'topic/atmos-merge' into next

John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.

15 years agoVarious LOC/GS improvements from John Denker, adapted to trunk by me (hopefully not...
jmt [Fri, 11 Sep 2009 23:05:23 +0000 (23:05 +0000)]
Various LOC/GS improvements from John Denker, adapted to trunk by me (hopefully not introducing too many bugs along the way). Includes:
 - false LOC courses and GS lobes
 - LOC sensitivity based on runway dimensions
 - GS cutoff based on range
 - More accurate GS deviation computation, making final approach more stable

15 years agoAvoid strtof() for portability reasons.
curt [Thu, 10 Sep 2009 22:02:59 +0000 (22:02 +0000)]
Avoid strtof() for portability reasons.

15 years agoHandle "double" type fields correctly for ascii input data. Previously double
curt [Thu, 10 Sep 2009 18:12:33 +0000 (18:12 +0000)]
Handle "double" type fields correctly for ascii input data. Previously double
data was being down-cast to float and the loss of precision impacted data types like lon/lat positions dramatically, preventing smooth replay of data.

15 years agoDisable collisions with the MP aircraft again.
frohlich [Thu, 10 Sep 2009 17:45:17 +0000 (17:45 +0000)]
Disable collisions with the MP aircraft again.

Modified Files:
src/AIModel/AIMultiplayer.cxx

15 years agoAdd clamped degrees deviation for glideslope.
jmt [Thu, 10 Sep 2009 08:15:46 +0000 (08:15 +0000)]
Add clamped degrees deviation for glideslope.

15 years agoMerge branch 'jsd/atmos' into topic/atmos-merge
Tim Moore [Thu, 10 Sep 2009 10:14:30 +0000 (12:14 +0200)]
Merge branch 'jsd/atmos' into topic/atmos-merge

Conflicts:
src/Environment/environment.cxx
src/Environment/environment.hxx

John Denker's atmosphere changes. Original commit message:
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e.
the top of the mesosphere. Correctly exhibits the HALT phenomenon.

15 years agocleanup of atmosphere patch
Tim Moore [Thu, 10 Sep 2009 09:42:42 +0000 (11:42 +0200)]
cleanup of atmosphere patch

Remove some dead code and space changes. Replace boost::tuple with std::pair,
but do use boost::tie.

15 years agoTwo-parameter physics-based model of atmosphere up to 262,467 ft i.e. the top of...
John Denker [Thu, 22 Jan 2009 01:11:52 +0000 (18:11 -0700)]
Two-parameter physics-based model of atmosphere up to 262,467 ft i.e. the top of the mesosphere. Correctly exhibits the HALT phenomenon.

15 years agoAdd normalised heading deflection property to navradio.
jmt [Wed, 9 Sep 2009 09:44:52 +0000 (09:44 +0000)]
Add normalised heading deflection property to navradio.

15 years agoFix MSVC compilation
daveluff [Tue, 8 Sep 2009 20:55:30 +0000 (20:55 +0000)]
Fix MSVC compilation

15 years agoTatsuhiro Nishioka:
torsten [Tue, 8 Sep 2009 17:50:14 +0000 (17:50 +0000)]
Tatsuhiro Nishioka:
Handle number keys on Keypad properly on Mac OS X

15 years agotest for the presence of alut.h. if it's not found only display a warning message...
ehofman [Tue, 8 Sep 2009 17:07:31 +0000 (17:07 +0000)]
test for the presence of alut.h. if it's not found only display a warning message in gl-info and test-env-map. A clean build without glut installed is now possible.

15 years agoDont execute code in case the soundmanager isn't properly initialized
ehofman [Tue, 8 Sep 2009 17:06:13 +0000 (17:06 +0000)]
Dont execute code in case the soundmanager isn't properly initialized

15 years agoFix compilation - missing include of globals.hxx
jmt [Tue, 8 Sep 2009 16:03:48 +0000 (16:03 +0000)]
Fix compilation - missing include of globals.hxx

15 years agoAdd normalised glideslope deviation property to nav-radio.
jmt [Tue, 8 Sep 2009 16:02:59 +0000 (16:02 +0000)]
Add normalised glideslope deviation property to nav-radio.

15 years agoFurther re-factoring of nav-radio code, again no functionality changed should occur...
jmt [Tue, 8 Sep 2009 14:23:44 +0000 (14:23 +0000)]
Further re-factoring of nav-radio code, again no functionality changed should occur. Radio reception / GPS slaving / Glideslope handling and CDI updating are all separate functions now.

15 years agoDont execute code in case the soundmanager isn't properly initialized
ehofman [Tue, 8 Sep 2009 13:51:24 +0000 (13:51 +0000)]
Dont execute code in case the soundmanager isn't properly initialized

15 years agoSet runway elevation to the airport elevation, and don't reset ILS/LOC elevation...
jmt [Tue, 8 Sep 2009 11:23:53 +0000 (11:23 +0000)]
Set runway elevation to the airport elevation, and don't reset ILS/LOC elevation when aligning with runways.

15 years agoUse the new vector conversion functions.
frohlich [Mon, 7 Sep 2009 21:40:46 +0000 (21:40 +0000)]
Use the new vector conversion functions.

Modified Files:
src/FDM/groundcache.cxx src/Main/renderer.cxx
src/Main/viewer.cxx src/Scenery/scenery.cxx

15 years agoMove dynamic_casts to EffectGeode into the findMaterial method.
frohlich [Mon, 7 Sep 2009 20:40:08 +0000 (20:40 +0000)]
Move dynamic_casts to EffectGeode into the findMaterial method.

Modified Files:
src/Scenery/scenery.cxx

15 years agoFix a problem introduced with the past vector changes.
frohlich [Mon, 7 Sep 2009 18:01:33 +0000 (18:01 +0000)]
Fix a problem introduced with the past vector changes.
Fix a potential nan problem with the scenery_available method.

Modified Files:
src/Scenery/scenery.cxx

15 years agoOne last update; remember whether input or output is requested. This will make sure...
ehofman [Mon, 7 Sep 2009 10:19:45 +0000 (10:19 +0000)]
One last update; remember whether input or output is requested. This will make sure FlightGear isn't communicating in both directions all the time.

15 years agoDon't forget to clear the previous configuration
ehofman [Mon, 7 Sep 2009 07:52:30 +0000 (07:52 +0000)]
Don't forget to clear the previous configuration

15 years agoMake FGIO a proper subsystem and add a reinit method for the generic protocol. This...
ehofman [Mon, 7 Sep 2009 07:27:38 +0000 (07:27 +0000)]
Make FGIO a proper subsystem and add a reinit method for the generic protocol. This should allow for easy runtime reloading of the configuration file.

15 years agoSync. with JSBSim (CVS) again
ehofman [Sat, 5 Sep 2009 12:22:54 +0000 (12:22 +0000)]
Sync. with JSBSim (CVS) again

15 years agoRemove obsolete version test.
frohlich [Sat, 5 Sep 2009 11:01:41 +0000 (11:01 +0000)]
Remove obsolete version test.

Modified Files:
src/Main/fg_os_osgviewer.cxx

15 years agoSimplify, fix some comments.
frohlich [Sat, 5 Sep 2009 11:01:06 +0000 (11:01 +0000)]
Simplify, fix some comments.

Modified Files:
src/Main/viewer.cxx

15 years agoCorrect logic to determine if we really have a hit.
frohlich [Fri, 4 Sep 2009 17:05:05 +0000 (17:05 +0000)]
Correct logic to determine if we really have a hit.

Modified Files:
src/Scenery/scenery.cxx

15 years agoInitialize all members.
frohlich [Fri, 4 Sep 2009 17:03:50 +0000 (17:03 +0000)]
Initialize all members.

Modified Files:
src/AIModel/AIAircraft.cxx src/AIModel/AIBase.cxx

15 years agoAvoid division by zero.
frohlich [Fri, 4 Sep 2009 17:01:53 +0000 (17:01 +0000)]
Avoid division by zero.

Modified Files:
src/Instrumentation/dme.cxx

15 years agoTatsuhiro Nishioka:
torsten [Fri, 4 Sep 2009 05:42:58 +0000 (05:42 +0000)]
Tatsuhiro Nishioka:
FG crashes at exit at very high likelihood.
The cause of the crash is that some subsystems (input and gui) call get_subsystems() at their destructor.
This is very dangerous since SGSubSystemMgr::get_subsystem() can refer to already deleted subsystems.

15 years agoReplace the SGVec*::sg() methods with the equivalent SGVec*::data() calls.
frohlich [Thu, 3 Sep 2009 20:18:34 +0000 (20:18 +0000)]
Replace the SGVec*::sg() methods with the equivalent SGVec*::data() calls.

Modified Files:
src/Traffic/Schedule.cxx src/Sound/fg_fx.cxx src/Main/main.cxx
src/Instrumentation/navradio.cxx
src/AIModel/AIFlightPlanCreateCruise.cxx

15 years agoTatsuhiro Nishioka:
torsten [Thu, 3 Sep 2009 08:45:43 +0000 (08:45 +0000)]
Tatsuhiro Nishioka:
Fixed: wrong event name for abs-hat0-y
Modified: let AxisElement to generate normalized input (-1.0 to 1.0).
                  This can be temporal and can be removed when AxisEvent normalizes its value.
Modified: clean up code
Added: some comments so other Mac developers can see what's going on

15 years agoRe-structure the nav-radio code, in preparation for cleaner GPS-slave separation...
jmt [Wed, 2 Sep 2009 17:01:30 +0000 (17:01 +0000)]
Re-structure the nav-radio code, in preparation for cleaner GPS-slave separation. No functionality changes (hopefully).

15 years agoAllow the joystick hat to move the view, even when the sim is paused.
jmt [Wed, 2 Sep 2009 14:07:43 +0000 (14:07 +0000)]
Allow the joystick hat to move the view, even when the sim is paused.

15 years agoMore precise matching of ILS records to navaids.
jmt [Mon, 31 Aug 2009 23:11:23 +0000 (23:11 +0000)]
More precise matching of ILS records to navaids.

15 years agoBertrand Coconnier:
ehofman [Mon, 31 Aug 2009 07:06:26 +0000 (07:06 +0000)]
Bertrand Coconnier:

Additionally to the original fix (problem with the Tec2b matrix initialization) I have modified the code for the "STRUCTURE" contacts in order not to generate NaNs when the z direction of the body frame is normal to the ground normal. Now there should no longer be any NaN generated by the landing gear code.

15 years agoAdd support for processing the ICAO.ils.xml scenery data into ILS/LOC nav records.
jmt [Sun, 30 Aug 2009 17:13:53 +0000 (17:13 +0000)]
Add support for processing the ICAO.ils.xml scenery data into ILS/LOC nav records.

15 years agoTwo minor (codewise) fixes to ensure everything works as advertised:
durk [Sun, 30 Aug 2009 14:39:04 +0000 (14:39 +0000)]
Two minor (codewise) fixes to ensure everything works as advertised:
 - Make sure to initialize the groundnetwork after succesful loading.
 - Ensure that the AI groundnetwork code proximity detection code used the
   correct values for bearing. (Note that detecting the proximity of the
   user aircraft appears still to be broken. I'll look into that later).

15 years agoAdded two missing files from JSBSim.org that were missing in the last sync.
durk [Sun, 30 Aug 2009 12:25:08 +0000 (12:25 +0000)]
Added two missing files from JSBSim.org that were missing in the last sync.

15 years agoSync with JSBSim CVS again
ehofman [Sun, 30 Aug 2009 08:22:03 +0000 (08:22 +0000)]
Sync with JSBSim CVS again

15 years agoAllow setting of NED velocities.
curt [Sat, 29 Aug 2009 18:42:58 +0000 (18:42 +0000)]
Allow setting of NED velocities.

15 years agoUpdate FGRunway to process information from threshold.xml files.
jmt [Sat, 29 Aug 2009 18:26:54 +0000 (18:26 +0000)]
Update FGRunway to process information from threshold.xml files.

15 years agoTrigger lazy loading of Airport data from the scenery on access.
jmt [Sat, 29 Aug 2009 18:00:14 +0000 (18:00 +0000)]
Trigger lazy loading of Airport data from the scenery on access.

15 years agomissing declaration of SGPropertyNode
torsten [Sat, 29 Aug 2009 13:24:33 +0000 (13:24 +0000)]
missing declaration of SGPropertyNode

15 years agoXMLLoader re-factoring.
jmt [Sat, 29 Aug 2009 10:21:51 +0000 (10:21 +0000)]
XMLLoader re-factoring.

15 years agoInitial framing for reading in-scenery airport data.
jmt [Sat, 29 Aug 2009 10:21:21 +0000 (10:21 +0000)]
Initial framing for reading in-scenery airport data.

15 years ago- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
torsten [Fri, 28 Aug 2009 15:05:21 +0000 (15:05 +0000)]
- added support for MAC OSX and initial hotplug support from Tatsuhiro Nishioka
- added support for per-device <nasal> <open> and <close>

15 years agochange back unsigned byte count to signed (multiplaymgr)
Tim Moore [Wed, 26 Aug 2009 22:12:44 +0000 (00:12 +0200)]
change back unsigned byte count to signed (multiplaymgr)

Also, small fixes to generic protocol from AndersG

15 years agoAIGroundVehicle from Vivian Meazza
Tim Moore [Tue, 25 Aug 2009 09:54:49 +0000 (11:54 +0200)]
AIGroundVehicle from Vivian Meazza

15 years agoAIGroundVehicle from Vivian Meazza
timoore [Tue, 25 Aug 2009 10:02:18 +0000 (10:02 +0000)]
AIGroundVehicle from Vivian Meazza

15 years agofix warnings in Multiplayer, Scripting, and Time
Tim Moore [Mon, 24 Aug 2009 16:07:19 +0000 (18:07 +0200)]
fix warnings in Multiplayer, Scripting, and Time

15 years agoFix transmission of float and double values in generic protocol
Tim Moore [Mon, 24 Aug 2009 16:06:06 +0000 (18:06 +0200)]
Fix transmission of float and double values in generic protocol

gcc -Wall -Werror turned up some problems with the type-punning of pointers
used to write the message buffer; it turns out that truncated ints were being
written to the message buffer when values needed to be swapped to network byte
order.

15 years agofix warnings in Main
Tim Moore [Mon, 24 Aug 2009 16:03:49 +0000 (18:03 +0200)]
fix warnings in Main

15 years agofix warnings in Instrumentation
Tim Moore [Mon, 24 Aug 2009 16:02:15 +0000 (18:02 +0200)]
fix warnings in Instrumentation

Mostly signed comparisons and order of initializers in constructors

15 years agofix warnings in GUI code
Tim Moore [Mon, 24 Aug 2009 16:00:10 +0000 (18:00 +0200)]
fix warnings in GUI code

15 years agoFix order of initializers in constructor
Tim Moore [Mon, 24 Aug 2009 15:58:27 +0000 (17:58 +0200)]
Fix order of initializers in constructor

15 years agofix gcc warnings
Tim Moore [Mon, 24 Aug 2009 15:57:32 +0000 (17:57 +0200)]
fix gcc warnings

Mostly comment out unused variables.

15 years agofixes to remove warnings
Tim Moore [Mon, 24 Aug 2009 15:56:39 +0000 (17:56 +0200)]
fixes to remove warnings

Comment out unused variables; fix a real bug in uiuc_gear().

15 years agoInitialize some variables
Tim Moore [Mon, 24 Aug 2009 15:54:48 +0000 (17:54 +0200)]
Initialize some variables

15 years agoFix to LaRCsim interpolation code
Tim Moore [Mon, 24 Aug 2009 15:53:57 +0000 (17:53 +0200)]
Fix to LaRCsim interpolation code

Is this code still used? I don't know, but -Wall -Werror turned up a problem.

15 years agocompilation fixes for gcc -Wall -Werror
Tim Moore [Mon, 24 Aug 2009 15:13:31 +0000 (17:13 +0200)]
compilation fixes for gcc -Wall -Werror

Most are cosmetic, but the changes in the FGATCInstruction constructor
fix unitialized members.

15 years agomore warning fixes
Tim Moore [Sun, 23 Aug 2009 22:01:37 +0000 (00:01 +0200)]
more warning fixes

flightgear compiles with gcc -Wall -Werror

15 years agowarning fixes
torsten [Sun, 23 Aug 2009 18:13:32 +0000 (18:13 +0000)]
warning fixes

15 years agowarning fixes
torsten [Sun, 23 Aug 2009 17:58:01 +0000 (17:58 +0000)]
warning fixes

15 years agoOlaf Flebbe: the plib/ul.h is needed for the TGT_PLATFORM Macro to make the tags...
torsten [Sun, 23 Aug 2009 10:36:08 +0000 (10:36 +0000)]
Olaf Flebbe: the plib/ul.h is needed for the TGT_PLATFORM Macro to make the tags <windows> or
<mac> work in the joystick xml files.

15 years agotemporary fix for a division by zero problem for some aircraft
ehofman [Sat, 22 Aug 2009 13:40:30 +0000 (13:40 +0000)]
temporary fix for a division by zero problem for some aircraft

15 years agoadd option <grab/> to the device configuration. If this is set to 'true', the events...
torsten [Sat, 22 Aug 2009 08:32:36 +0000 (08:32 +0000)]
add option <grab/> to the device configuration. If this is set to 'true', the events from this devices are exclusively handled by our handler and are not distributed to other driver(s).

15 years agowarning fixes
torsten [Fri, 21 Aug 2009 21:46:58 +0000 (21:46 +0000)]
warning fixes

15 years agowarning fixes
torsten [Fri, 21 Aug 2009 14:53:46 +0000 (14:53 +0000)]
warning fixes

15 years agoeven more warning fixes
torsten [Fri, 21 Aug 2009 14:42:49 +0000 (14:42 +0000)]
even more warning fixes

15 years agowarning fixes
torsten [Fri, 21 Aug 2009 14:33:30 +0000 (14:33 +0000)]
warning fixes

15 years agothe warning extinguisher hits again...
torsten [Fri, 21 Aug 2009 14:29:11 +0000 (14:29 +0000)]
the warning extinguisher hits again...

15 years agowarning fixes
torsten [Thu, 20 Aug 2009 22:06:38 +0000 (22:06 +0000)]
warning fixes

15 years agowarning fixes
torsten [Thu, 20 Aug 2009 21:53:29 +0000 (21:53 +0000)]
warning fixes

15 years agofix warnings (order of initialization)
torsten [Thu, 20 Aug 2009 21:44:32 +0000 (21:44 +0000)]
fix warnings (order of initialization)

15 years agoCompile under MSVC9 again
fredb [Thu, 20 Aug 2009 06:53:07 +0000 (06:53 +0000)]
Compile under MSVC9 again

15 years agoAdd Bertrand Coconnier's latest landing gear code
ehofman [Thu, 20 Aug 2009 05:33:20 +0000 (05:33 +0000)]
Add Bertrand Coconnier's latest landing gear code

15 years agoTom P: magnetic-variation isn't boolean.
torsten [Wed, 19 Aug 2009 14:16:25 +0000 (14:16 +0000)]
Tom P: magnetic-variation isn't boolean.

15 years agoCompile under MSVC9 again
fredb [Sun, 16 Aug 2009 21:34:15 +0000 (21:34 +0000)]
Compile under MSVC9 again

15 years agoChanged my mind, the 'scene specular' color is actually the diffuse color and the...
ehofman [Sun, 16 Aug 2009 19:57:54 +0000 (19:57 +0000)]
Changed my mind, the 'scene specular' color is actually the diffuse color and the sun specular color is the scene specular color

15 years agoforgot a few untie's and fix a small bug
ehofman [Sun, 16 Aug 2009 19:45:06 +0000 (19:45 +0000)]
forgot a few untie's and fix a small bug

15 years agoUpdate to the latest version of JSBSim
ehofman [Sun, 16 Aug 2009 19:36:55 +0000 (19:36 +0000)]
Update to the latest version of JSBSim

15 years agoExpose the color of the sun (which is not the scene specular color anymore)
ehofman [Sun, 16 Aug 2009 19:35:24 +0000 (19:35 +0000)]
Expose the color of the sun (which is not the scene specular color anymore)

15 years agoAlex Perry : Minor bug fix patch for terrasync
fredb [Sat, 15 Aug 2009 17:13:06 +0000 (17:13 +0000)]
Alex Perry : Minor bug fix patch for terrasync

15 years agoFix a bug that is screwing me!
curt [Thu, 13 Aug 2009 17:01:36 +0000 (17:01 +0000)]
Fix a bug that is screwing me!

15 years agoUpdate MSVC9 projects
fredb [Thu, 13 Aug 2009 06:35:41 +0000 (06:35 +0000)]
Update MSVC9 projects