]> git.mxchange.org Git - flightgear.git/log
flightgear.git
21 years agoRename some existing variables/methods in the navcomm module for
david [Fri, 4 Jul 2003 19:13:03 +0000 (19:13 +0000)]
Rename some existing variables/methods in the navcomm module for
clarity:

  nav_radial => nav_target_radial (same as selected, except for a LOC)
  nav_heading => nav_reciprocal_radial
  nav_magvar => nav_twist (it's not always the same as magvar)
  nav_heading_needle_deflection => nav_cdi_deflection
  nav_gs_needle_deflection => nav_gs_deflection

Added nav_radial back in, but now it shows the current radial from the
VOR, as one would expect.  This value also appears in the
/radios/nav[*]/radials/actual-deg property.

21 years agoChange a spelling.
david [Thu, 3 Jul 2003 17:13:03 +0000 (17:13 +0000)]
Change a spelling.

21 years agoFix the property /radios/nav[*]/radials/actual-deg to show the radial
david [Thu, 3 Jul 2003 17:10:32 +0000 (17:10 +0000)]
Fix the property /radios/nav[*]/radials/actual-deg to show the radial
that the aircraft is on.

21 years agoJim Wilson:
ehofman [Thu, 3 Jul 2003 08:51:19 +0000 (08:51 +0000)]
Jim Wilson:
This patch exposes the nav_id--Navaid (VOR/ILS) IDs--in the property tree for use in EFIS displays.  Both the string and individual integer (char) values are published.

Erik Hofman:
I have converted all sprintf() functions in navcom.cxx into snprintf() for some extra securety.

21 years agoAdd the ability to add repeat intervals to joystick buttons using the interval-sec...
ehofman [Wed, 2 Jul 2003 19:21:11 +0000 (19:21 +0000)]
Add the ability to add repeat intervals to joystick buttons using the interval-sec property

21 years agoTweaks to presets logic.
curt [Wed, 2 Jul 2003 16:24:50 +0000 (16:24 +0000)]
Tweaks to presets logic.

21 years agoAdd some solaris specific libraries
ehofman [Wed, 2 Jul 2003 08:52:45 +0000 (08:52 +0000)]
Add some solaris specific libraries

21 years agoMake the inclinometer a little more lively.
david [Tue, 1 Jul 2003 21:22:01 +0000 (21:22 +0000)]
Make the inclinometer a little more lively.

21 years agoMove the turbulence magnitude away from the peaks.
david [Tue, 1 Jul 2003 20:52:12 +0000 (20:52 +0000)]
Move the turbulence magnitude away from the peaks.

21 years agoJim Wilson:
ehofman [Tue, 1 Jul 2003 16:32:00 +0000 (16:32 +0000)]
Jim Wilson:
This patch adds an "interval-sec" property which allows fixing an interval in seconds (or fraction of seconds) for the repeats for emulated axis controls (digital hats) on joysticks.

21 years agoSolaris namespace clash fix
ehofman [Tue, 1 Jul 2003 16:12:21 +0000 (16:12 +0000)]
Solaris namespace clash fix

21 years agoFix a problem where the compass goes negative by the variation when close to 360...
ehofman [Tue, 1 Jul 2003 08:19:41 +0000 (08:19 +0000)]
Fix a problem where the compass goes negative by the variation when close to 360 degrees

21 years agoAvoid strong oscillations at turbulence extremes.
david [Sun, 29 Jun 2003 21:17:21 +0000 (21:17 +0000)]
Avoid strong oscillations at turbulence extremes.

21 years agoMake sure the functions won't be called if the extension is not supported. This also...
ehofman [Sun, 29 Jun 2003 17:14:13 +0000 (17:14 +0000)]
Make sure the functions won't be called if the extension is not supported. This also clears the main loop a bitsrc/Main/main.cxx.

21 years agoAdd Lee Elliott's per aircraft configurable terrain following factor
ehofman [Sun, 29 Jun 2003 08:27:45 +0000 (08:27 +0000)]
Add Lee Elliott's per aircraft configurable terrain following factor

21 years agoThis patch normalizes the heading value YASim reports to the interface
ehofman [Sat, 28 Jun 2003 21:49:45 +0000 (21:49 +0000)]
This patch normalizes the heading value YASim reports to the interface

21 years agoUpdate required for the fastmath module
ehofman [Sat, 28 Jun 2003 12:19:58 +0000 (12:19 +0000)]
Update required for the fastmath module

21 years agoUse sqrt(x) and x*x instead of pow(x, 0.5) and pow(x, 2.0)
ehofman [Fri, 27 Jun 2003 21:29:48 +0000 (21:29 +0000)]
Use sqrt(x) and x*x instead of pow(x, 0.5) and pow(x, 2.0)

21 years agoFix a property name spelling error.
curt [Fri, 27 Jun 2003 20:06:11 +0000 (20:06 +0000)]
Fix a property name spelling error.

21 years agoAdd /environment/turbulence-norm to the output structure.
curt [Fri, 27 Jun 2003 18:21:04 +0000 (18:21 +0000)]
Add /environment/turbulence-norm to the output structure.

21 years agoMelchior FRANZ:
ehofman [Fri, 27 Jun 2003 08:46:57 +0000 (08:46 +0000)]
Melchior FRANZ:
These patches add a clock instrument, which allows to model failure ("serviceable") and to adjust the time independently of the system time (defaults to GMT). The main incentive is to make the p51d clock work and adjustable via the knob.

 o Offers a time string ("12:03:15") for the LCD or for LED
   clocks, or an empty string in case of failure/power off. The
   instrument assumes that digital clocks are battery buffered,
   so they will be updated even if there's nothing on the display.

 o Offers the number of seconds since midnight for analog
   clocks, like in the p51d. This number is not increased
   if !serviceable. So the clock will stand still and continue
   where it stopped when it's serviceable again.

I did not consider voltage yet, because the Mustang's clock will need a lot more current than the LCD clock. The instrument is updated 4 times per second but returns immediately if neither time nor offset changed. The function getGMTString() in fg_props.cxx could be removed after applying these patches.

21 years agoMany ILS approaches do not have a listed GS elevation in the FAA or in the
curt [Wed, 25 Jun 2003 18:10:10 +0000 (18:10 +0000)]
Many ILS approaches do not have a listed GS elevation in the FAA or in the
DAFIFT data base.  Use the field elevation as a reasonable approximation
when no other data is available.

21 years agoPreviously the weather dialog box and environment system had some confusion
curt [Tue, 24 Jun 2003 20:04:29 +0000 (20:04 +0000)]
Previously the weather dialog box and environment system had some confusion
between temperature at altitude vs. temperature at sea level.  The dialog
box asked for temperature at altitude which makes sense, but all the
internal crunching expected temperature at sea level.  However, it makes no
logical sense to specify the sea level temperature for different layers so
I changed the internal processing to work with temperature at altitude and
then derive an approximate sea level temperature at the end.

If you know the ground temperature, you can just enter this temperature
for the first boundary layer and the system should do the right thing.

21 years agoAdd support to the "run" command for setting up the subsystem arguments
curt [Tue, 24 Jun 2003 19:59:47 +0000 (19:59 +0000)]
Add support to the "run" command for setting up the subsystem arguments
properly for executing a "run reinit [ subsystem1 subsystem2 ... ]

21 years agoAdd ground elevation to the net_gui.hxx structure.
curt [Tue, 24 Jun 2003 15:10:50 +0000 (15:10 +0000)]
Add ground elevation to the net_gui.hxx structure.

21 years agoAdd some commandline options
ehofman [Sun, 22 Jun 2003 09:45:43 +0000 (09:45 +0000)]
Add some commandline options

21 years agoChnage seperator to separator
ehofman [Sun, 22 Jun 2003 07:58:04 +0000 (07:58 +0000)]
Chnage seperator to separator

21 years agoMac OS X fixes
ehofman [Fri, 20 Jun 2003 20:18:40 +0000 (20:18 +0000)]
Mac OS X fixes

21 years agoGet rid of a multiple defined symbol warning" src/FDM/LaRCsim/ls_step.c
ehofman [Fri, 20 Jun 2003 19:53:56 +0000 (19:53 +0000)]
Get rid of a multiple defined symbol warning" src/FDM/LaRCsim/ls_step.c
"

21 years ago(temporary) Apple OS X fix
ehofman [Thu, 19 Jun 2003 07:54:29 +0000 (07:54 +0000)]
(temporary) Apple OS X fix

21 years agoAdd an entry
ehofman [Wed, 18 Jun 2003 12:03:55 +0000 (12:03 +0000)]
Add an entry

21 years agoUse a different way to call OpenGL extensions and move over to our own extension...
ehofman [Wed, 18 Jun 2003 09:19:41 +0000 (09:19 +0000)]
Use a different way to call OpenGL extensions and move over to our own extension checking function instead of the one provided by glut

21 years agogcc 3.2 fixes
ehofman [Tue, 17 Jun 2003 17:51:55 +0000 (17:51 +0000)]
gcc 3.2 fixes

21 years agoAdd:
ehofman [Tue, 17 Jun 2003 16:59:26 +0000 (16:59 +0000)]
Add:
/sim/rendering/horizon-effect
   toggle sun and moon resizing effect near the horizon

/sim/rendering/enhanced-lighting
   toggle enhanced runway lighting on or off

/sim/rendering/distance-attenuation
   add distance attenuation to the enhanced runway lighting

21 years agoModel the effect where the sun and moon look 1.5 times larger when close to the horizon
ehofman [Sun, 15 Jun 2003 12:23:55 +0000 (12:23 +0000)]
Model the effect where the sun and moon look 1.5 times larger when close to the horizon

21 years agoTake the visibility in account for the sky color
ehofman [Sun, 15 Jun 2003 11:30:25 +0000 (11:30 +0000)]
Take the visibility in account for the sky color

21 years agoBase sun and moon diameter and distance on actual numbers
ehofman [Sat, 14 Jun 2003 09:32:06 +0000 (09:32 +0000)]
Base sun and moon diameter and distance on actual numbers

21 years agoInitial stab at making the AI plane take the user into account when flying a circuit...
daveluff [Wed, 11 Jun 2003 21:49:46 +0000 (21:49 +0000)]
Initial stab at making the AI plane take the user into account when flying a circuit.  The AI plane will now delay it's turns to the various legs if the user has flown a wider pattern that it normally would in front of it.  However, this is very much still work in progress - when the pattern gets extended the AI plane lands short of the runway, and it doesn't alter its speed around the circuit at all, only the turn positions.  Still, its a start...

21 years agoMinor changes to the comments
daveluff [Wed, 11 Jun 2003 21:16:40 +0000 (21:16 +0000)]
Minor changes to the comments

21 years agoChanges corresponding to simgear sky api tweak.
curt [Wed, 11 Jun 2003 19:06:48 +0000 (19:06 +0000)]
Changes corresponding to simgear sky api tweak.

21 years agoFix weather-related command-line options to work with the new weather
david [Wed, 11 Jun 2003 14:18:24 +0000 (14:18 +0000)]
Fix weather-related command-line options to work with the new weather
scheme.

21 years agoMSVC fix
ehofman [Tue, 10 Jun 2003 12:03:07 +0000 (12:03 +0000)]
MSVC fix

21 years agodensity_slugft3 is used before its initialization
ehofman [Tue, 10 Jun 2003 11:59:17 +0000 (11:59 +0000)]
density_slugft3 is used before its initialization

21 years agoFixes some weirdness that Fred reported. Used his patch with one mod.
mselig [Tue, 10 Jun 2003 06:19:31 +0000 (06:19 +0000)]
Fixes some weirdness that Fred reported.  Used his patch with one mod.

21 years agoCosmetic changes ...
curt [Mon, 9 Jun 2003 20:24:50 +0000 (20:24 +0000)]
Cosmetic changes ...

21 years agoIrix/MipsPro compiler fixes
ehofman [Mon, 9 Jun 2003 08:44:59 +0000 (08:44 +0000)]
Irix/MipsPro compiler fixes

21 years agoputting back the pilot-g used by accel.xml gadget
mselig [Mon, 9 Jun 2003 06:15:46 +0000 (06:15 +0000)]
putting back the pilot-g used by accel.xml gadget

21 years agoseveral init updates + changes init zeros to false
mselig [Mon, 9 Jun 2003 06:15:40 +0000 (06:15 +0000)]
several init updates + changes init zeros to false

21 years agogear retract rate input line changes
mselig [Mon, 9 Jun 2003 05:20:52 +0000 (05:20 +0000)]
gear retract rate input line changes

21 years agomods made to setup for some initializations in uiuc code
mselig [Mon, 9 Jun 2003 02:50:23 +0000 (02:50 +0000)]
mods made to setup for some initializations in uiuc code

21 years agominor mods
mselig [Mon, 9 Jun 2003 02:50:03 +0000 (02:50 +0000)]
minor mods

21 years agoRemoved FGEnvironmentMgr as a special case in globals, initialization,
david [Sun, 8 Jun 2003 14:47:03 +0000 (14:47 +0000)]
Removed FGEnvironmentMgr as a special case in globals, initialization,
etc.

Improved the weather system to interpolate between different
elevations and deal with boundary-layer conditions.  The configuration
properties are now different (see $FG_ROOT/preferences.xml).

21 years agoRolled last change back out -- it was causing the default 172 to hang
david [Sun, 8 Jun 2003 12:04:41 +0000 (12:04 +0000)]
Rolled last change back out -- it was causing the default 172 to hang
on loading, because the fuel-quantity token was never consumed.

21 years agoMingW 0.92 fixes
ehofman [Sun, 8 Jun 2003 12:01:43 +0000 (12:01 +0000)]
MingW 0.92 fixes

21 years agoMake it possible for FlightGear to override the fuel tank contents with 0.0
ehofman [Sun, 8 Jun 2003 11:19:14 +0000 (11:19 +0000)]
Make it possible for FlightGear to override the fuel tank contents with 0.0

21 years agoFix a problem where the contents could be specified by JSBSim and by FlightGear,...
ehofman [Sun, 8 Jun 2003 08:45:07 +0000 (08:45 +0000)]
Fix a problem where the contents could be specified by JSBSim and by FlightGear, where JSBSim would override the FlightGear specified value. Now the JSBSim specified value will be discarded if Contents is already set.

21 years agoDavid Culp:
ehofman [Sun, 8 Jun 2003 08:44:30 +0000 (08:44 +0000)]
David Culp:
This version handles a zero fuel load better.  I found that if you try to consume fuel from an empty tank, with zero fuel flow, the FGEngine::Starved flag alternates

21 years agoIgnore calc_loc program.
david [Sat, 7 Jun 2003 13:54:35 +0000 (13:54 +0000)]
Ignore calc_loc program.

21 years agoRemove some now depreciated lighting code
ehofman [Sat, 7 Jun 2003 10:34:34 +0000 (10:34 +0000)]
Remove some now depreciated lighting code

21 years agoAdd a missing source file.
curt [Thu, 5 Jun 2003 03:43:43 +0000 (03:43 +0000)]
Add a missing source file.

21 years agoUpdates for 0.9.2
curt [Thu, 5 Jun 2003 03:21:23 +0000 (03:21 +0000)]
Updates for 0.9.2

21 years agoAdd some credits
ehofman [Wed, 4 Jun 2003 22:11:31 +0000 (22:11 +0000)]
Add some credits

21 years agoFix to translate DME and TACAN X/Y channels to paired VHF frequencies
david [Wed, 4 Jun 2003 20:34:39 +0000 (20:34 +0000)]
Fix to translate DME and TACAN X/Y channels to paired VHF frequencies
correctly.  Thanks to Jorge Van Hemelryck <ml@jvh.net> for the fix.

21 years agoChanges in preparation for the 0.9.2 release.
curt [Wed, 4 Jun 2003 20:27:05 +0000 (20:27 +0000)]
Changes in preparation for the 0.9.2 release.

21 years agoReturn to predawn version of input.[ch]xx until after the 0.9.2 release.
curt [Wed, 4 Jun 2003 14:22:51 +0000 (14:22 +0000)]
Return to predawn version of input.[ch]xx until after the 0.9.2 release.

21 years agoJust when you think you have it all sorted out, it stabbing you in the back. Make...
ehofman [Wed, 4 Jun 2003 14:14:12 +0000 (14:14 +0000)]
Just when you think you have it all sorted out, it stabbing you in the back. Make _last_dt 1.0 otherwise the tests will fail.

21 years agoBack out the joystick fixed timing patch for now
ehofman [Wed, 4 Jun 2003 14:02:23 +0000 (14:02 +0000)]
Back out the joystick fixed timing patch for now

21 years agoAdd the axis buttons to the list of items to check only once every 50 ms.
ehofman [Wed, 4 Jun 2003 13:35:23 +0000 (13:35 +0000)]
Add the axis buttons to the list of items to check only once every 50 ms.

21 years agoRestrict the update limitation to the buttons only
ehofman [Wed, 4 Jun 2003 12:46:49 +0000 (12:46 +0000)]
Restrict the update limitation to the buttons only

21 years agoDang! A last minute update, and no way to test it. :-/ Make he joysticks work again.
ehofman [Wed, 4 Jun 2003 11:27:41 +0000 (11:27 +0000)]
Dang! A last minute update, and no way to test it. :-/ Make he joysticks work again.

21 years agoA bounding sphere may be empty, which is perfectly valid.
ehofman [Wed, 4 Jun 2003 09:57:11 +0000 (09:57 +0000)]
A bounding sphere may be empty, which is perfectly valid.
Such empty spheres have negative radius, but undefined center.

21 years agoSkip all empty bindings
ehofman [Wed, 4 Jun 2003 09:50:00 +0000 (09:50 +0000)]
Skip all empty bindings

21 years agoUpdate the joystick 20 times per second
ehofman [Wed, 4 Jun 2003 09:30:48 +0000 (09:30 +0000)]
Update the joystick 20 times per second

21 years agoDuh! Remove some debug messages
ehofman [Tue, 3 Jun 2003 14:36:56 +0000 (14:36 +0000)]
Duh! Remove some debug messages

21 years agoFix a bug where FlightGear would crach when an aiport id was geven in lower
ehofman [Tue, 3 Jun 2003 14:34:02 +0000 (14:34 +0000)]
Fix a bug where FlightGear would crach when an aiport id was geven in lower
case. It turned out that MetaKit is case insensitive, so I adden an extra
check to see if we got what we were asking for.

21 years agoExplicitly initialise aptElev
daveluff [Tue, 3 Jun 2003 14:08:24 +0000 (14:08 +0000)]
Explicitly initialise aptElev

21 years agoSome compiler fixes
ehofman [Tue, 3 Jun 2003 13:51:21 +0000 (13:51 +0000)]
Some compiler fixes

21 years agoFix for Cygwin compilation
daveluff [Tue, 3 Jun 2003 13:08:42 +0000 (13:08 +0000)]
Fix for Cygwin compilation

21 years agoI had some old SimGear include directories hanging around, so this got uncought....
ehofman [Tue, 3 Jun 2003 09:17:57 +0000 (09:17 +0000)]
I had some old SimGear include directories hanging around, so this got uncought. Thanks Melchior

21 years agosync JSBSim and FlightGear
ehofman [Tue, 3 Jun 2003 08:46:15 +0000 (08:46 +0000)]
sync JSBSim and FlightGear

21 years agoFixed a small ommission.
curt [Mon, 2 Jun 2003 17:05:52 +0000 (17:05 +0000)]
Fixed a small ommission.

21 years agoImplimented a simple frame rate throttle.
curt [Mon, 2 Jun 2003 16:35:36 +0000 (16:35 +0000)]
Implimented a simple frame rate throttle.

Normally for smoothest frame rates you would configure to sync
to your monitor's vertical refresh signal.  This is card/platform
dependent ... for instance with Linux/Nvidia there is
an environment variable you can set to enable this feature.

However, if your monitor is refreshing at 60hz and you can't quite sustain
that with flightgear, you can get smoother frame rates by artificially
throttling yourself to 30hz.  Note that once you are about about 24fps, it
is *change* or inconsistancy in frame rate that leads to percieved jerkiness.

You want to do whole divisors of your monitor refresh rate, so if your
display is syncing at 75 hz, you might want to try throttling to 25 hz.

21 years agoFix a initialization ordering bug:
ehofman [Sat, 31 May 2003 13:38:10 +0000 (13:38 +0000)]
Fix a initialization ordering bug:

Melchior FRANZ:
The reason: these models are to be added to the scenery, but the
scenery isn't yet set up at this point. The correct order is:

 - set up model_lib (needed by the scenery)
 - set up scenery (needed by the model manager)
 - set up model manager

21 years agoFix a potential timing glitch.
curt [Fri, 30 May 2003 20:19:56 +0000 (20:19 +0000)]
Fix a potential timing glitch.

21 years agoMove simgear/sky/ to simgear/scene/sky as part of the consolodation of
curt [Fri, 30 May 2003 15:16:57 +0000 (15:16 +0000)]
Move simgear/sky/ to simgear/scene/sky as part of the consolodation of
graphics code.

21 years agoMove low level "tg" object loader code over to SimGear.
curt [Wed, 28 May 2003 21:01:55 +0000 (21:01 +0000)]
Move low level "tg" object loader code over to SimGear.

21 years agoMoved random ground cover object management code (userdata.[ch]xx) over
curt [Wed, 28 May 2003 20:29:05 +0000 (20:29 +0000)]
Moved random ground cover object management code (userdata.[ch]xx) over
to SimGear.

21 years agoUpdate the suction model as per Alex Perry's recommendations.
curt [Wed, 28 May 2003 18:48:00 +0000 (18:48 +0000)]
Update the suction model as per Alex Perry's recommendations.

21 years agoAt low rpms when the alternator isn't able to generate enough current to charge
curt [Wed, 28 May 2003 18:47:42 +0000 (18:47 +0000)]
At low rpms when the alternator isn't able to generate enough current to charge
the battery, don't show positive amps.

21 years agoSwitch roll and yaw trim commands
ehofman [Wed, 28 May 2003 17:53:42 +0000 (17:53 +0000)]
Switch roll and yaw trim commands

21 years agoAttempt to work around a problem compiling ssgEntityArray.cxx against
curt [Wed, 28 May 2003 16:57:24 +0000 (16:57 +0000)]
Attempt to work around a problem compiling ssgEntityArray.cxx against
plib-1.6.0

21 years agoBuild fix for Windows, without it, Windows
ehofman [Wed, 28 May 2003 08:26:25 +0000 (08:26 +0000)]
Build fix for Windows, without it, Windows
version doesn't compile because of the lack of a prerequisite include

21 years agoSatisfy some strict compilers by adding a number of libraries
ehofman [Wed, 28 May 2003 08:23:54 +0000 (08:23 +0000)]
Satisfy some strict compilers by adding a number of libraries

21 years agoSwap master alternator and battery switches.
curt [Tue, 27 May 2003 19:27:01 +0000 (19:27 +0000)]
Swap master alternator and battery switches.

21 years ago- Added a redundant (left/right) vacuum pump.
curt [Tue, 27 May 2003 19:25:27 +0000 (19:25 +0000)]
- Added a redundant (left/right) vacuum pump.
- Modified the rpm vs. suction formula to hit much more realistic numbers.
  We should be seeing just over 4 inhg at idle and approaching 5 inhg at
  full throttle.

21 years agoAdded an #include for possible time syncing code.
curt [Tue, 27 May 2003 19:23:12 +0000 (19:23 +0000)]
Added an #include for possible time syncing code.

21 years agoAdded very simplistic volt and amp modeling to the electrical model. This
curt [Tue, 27 May 2003 19:18:14 +0000 (19:18 +0000)]
Added very simplistic volt and amp modeling to the electrical model.  This
should really be made more generic and part of the electrical model config
but this is all I had time for this weekend.

21 years agoAdded some test code (currently commented out) to limit a remote visual
curt [Tue, 27 May 2003 19:15:58 +0000 (19:15 +0000)]
Added some test code (currently commented out) to limit a remote visual
slave to a specific frame rate (i.e. 30hz).  This is potentially desireable
if you are running on the ragged edge between 30/60 hz ...
It would be nice at some point to make the code a bit more flexible and
configurable so it could be activated from the command line or preferences
file.

21 years agoMake the attitude indicator gyro error kick in earlier in the gyro spin down
curt [Tue, 27 May 2003 19:13:51 +0000 (19:13 +0000)]
Make the attitude indicator gyro error kick in earlier in the gyro spin down
process.
Add the annunciator model to the list of managed instrumentation modules.

21 years agoAdd a very simplistic (small single engine type) annunciator model. With
curt [Tue, 27 May 2003 19:12:33 +0000 (19:12 +0000)]
Add a very simplistic (small single engine type) annunciator model.  With
the exception of flashing the annunciator light for 10 seconds and then going
steady on, this could almost be done entirely in an xml instrument ...