]> git.mxchange.org Git - flightgear.git/log
flightgear.git
20 years agoSmall update
ehofman [Fri, 18 Jul 2003 08:17:16 +0000 (08:17 +0000)]
Small update

20 years agoFixes for MSVC and MipsPro
ehofman [Fri, 18 Jul 2003 08:14:21 +0000 (08:14 +0000)]
Fixes for MSVC and MipsPro

20 years agoAvoid collecting garbage data before the FDM is initialized.
curt [Fri, 18 Jul 2003 01:51:45 +0000 (01:51 +0000)]
Avoid collecting garbage data before the FDM is initialized.

20 years agoImprovements to the replay subsystem.
curt [Thu, 17 Jul 2003 21:21:00 +0000 (21:21 +0000)]
Improvements to the replay subsystem.
- Handle rotational interpolation across the "zero" point.
- Bug fixes to the rotational interpolator
- Change intervals for medium term and long term data recorders.

20 years agoCurt:
curt [Thu, 17 Jul 2003 18:24:17 +0000 (18:24 +0000)]
Curt:

I have added a fledgling replay system that records flight data and control
positions during the flight.

I have added an internal command called "replay" which will trigger a replay
of the entire saved flight data set.  This could be bound to a keyboard or
menu command, in fact this entire module is screaming for someone to build
a gui to control playback speed, amount of playback, etc.

This is the initial version so there are kinks that still need to be worked
out, please be patient.

20 years agoJim Wilson:
ehofman [Thu, 17 Jul 2003 08:52:36 +0000 (08:52 +0000)]
Jim Wilson:
These changes should preserve previous functionality (with the exception of a
couple bug fixes).

Bugs fixed:
- AP no longer resets the error accumulator when switching altitude modes or
just closing the autopilot GUI.  It will not be necessary to collect the barf
bags after selecting a new altitude anymore.  Makes things much smoother.
- climb_rate calculation in the altitude hold mode included a factor that made
sense for the c172.  It is now scaled according to the configuration's target
climb rate.

Additions:
Autothrottle (supports speed control only) is more configurable and accurate.
VerticalSpeed mode added (automatically arms to altitude if flown toward
altitude setting).
Exposed various properties, added new lock properties.

20 years agoMake initTheta() use the results of the search it performs.
tony [Thu, 17 Jul 2003 02:32:39 +0000 (02:32 +0000)]
Make initTheta() use the results of the search it performs.

20 years agoUpdate magvar model before using it to initialize compass error.
david [Thu, 17 Jul 2003 00:26:38 +0000 (00:26 +0000)]
Update magvar model before using it to initialize compass error.

20 years agoKludge the HI error so that it initially matches the magnetic variation.
david [Thu, 17 Jul 2003 00:06:03 +0000 (00:06 +0000)]
Kludge the HI error so that it initially matches the magnetic variation.

20 years agoAdded options to set up avionics from the command line:
david [Wed, 16 Jul 2003 23:34:07 +0000 (23:34 +0000)]
Added options to set up avionics from the command line:

  --nav1=[radial:]frequency
  --nav2=[radial:]frequency
  --adf=[rotation:]frequency
  --dme="nav1"|"nav2"|frequency

20 years agoDon't snap to runway heading if an offset azimuth is supplied.
david [Wed, 16 Jul 2003 19:12:02 +0000 (19:12 +0000)]
Don't snap to runway heading if an offset azimuth is supplied.

20 years agoMore turbulence tweaks and fixes.
david [Mon, 14 Jul 2003 22:34:08 +0000 (22:34 +0000)]
More turbulence tweaks and fixes.

Skip turbulence calculations with magnitude is 0.

20 years agoMake sure sign is preserved for turbulence direction.
david [Mon, 14 Jul 2003 20:48:23 +0000 (20:48 +0000)]
Make sure sign is preserved for turbulence direction.

20 years agoFramerate independent viewer fixes from Melchior FRANZ
ehofman [Mon, 14 Jul 2003 14:20:45 +0000 (14:20 +0000)]
Framerate independent viewer fixes from Melchior FRANZ

20 years agoMake it possible to either select the 2d or the 3d HUD
ehofman [Mon, 14 Jul 2003 13:57:11 +0000 (13:57 +0000)]
Make it possible to either select the 2d or the 3d HUD

20 years agoFix for setting initial pitch angle on the ground.
tony [Mon, 14 Jul 2003 11:47:25 +0000 (11:47 +0000)]
Fix for setting initial pitch angle on the ground.

20 years agoIt's a direction, not an axis. The z direction is the one that should
david [Sun, 13 Jul 2003 20:18:51 +0000 (20:18 +0000)]
It's a direction, not an axis.  The z direction is the one that should
occur full force for turbulence.

20 years agoAdd the ability to control turbulence rate as well as magnitude.
david [Sun, 13 Jul 2003 20:13:18 +0000 (20:13 +0000)]
Add the ability to control turbulence rate as well as magnitude.

Square the normalized direction acceleration for the y and z axes, so
that turbulence predominantly affects pitch.

Bind to the /environment/turbulence/magnitude-norm and
/environment/turbulence/rate-hz properties in FlightGear.

20 years agoLatest changes to the viewer code from Melchior FRANZ
ehofman [Sat, 12 Jul 2003 09:52:26 +0000 (09:52 +0000)]
Latest changes to the viewer code from Melchior FRANZ

20 years agoDon't check for OpenGL libraries without at least including -lm
ehofman [Sat, 12 Jul 2003 09:17:17 +0000 (09:17 +0000)]
Don't check for OpenGL libraries without at least including -lm

20 years agoMelchior FRANZ:
ehofman [Fri, 11 Jul 2003 08:58:26 +0000 (08:58 +0000)]
Melchior FRANZ:
The current chase view respects heading but ignores roll & pitch. And it follows heading without delay, which makes the viewer behave quite strange. This change makes the chase view feel more natural. You aren't fixed behind the plane, but follow all its movements with a delay.

Erik Hofman:
I've decided not to add the patch to preferences.xml in the base package because something feels funny with that. I think there needs to be some more discussion about it.

20 years agoAdd normalized control surface positions to net_fdm.hxx structure.
curt [Thu, 10 Jul 2003 18:55:41 +0000 (18:55 +0000)]
Add normalized control surface positions to net_fdm.hxx structure.
Convert several double values to float since the extra precision is not
  needed and it just wastes network bandwidth.

20 years agoAdd network support libraries
ehofman [Wed, 9 Jul 2003 19:57:22 +0000 (19:57 +0000)]
Add network support libraries

20 years agoFlightGear can handle network connections even without multiplayer support
ehofman [Wed, 9 Jul 2003 19:55:08 +0000 (19:55 +0000)]
FlightGear can handle network connections even without multiplayer support

20 years agoChanges to reflect the code reorganization from CUrtis
ehofman [Wed, 9 Jul 2003 14:45:02 +0000 (14:45 +0000)]
Changes to reflect the code reorganization from CUrtis

20 years agoUse the new splash screens.
david [Tue, 8 Jul 2003 02:29:14 +0000 (02:29 +0000)]
Use the new splash screens.

20 years agoScript tweak.
curt [Mon, 7 Jul 2003 21:19:59 +0000 (21:19 +0000)]
Script tweak.

20 years agoA couple fixes so the nav/ils heading hold will work again.
curt [Mon, 7 Jul 2003 21:19:46 +0000 (21:19 +0000)]
A couple fixes so the nav/ils heading hold will work again.

20 years agoSplit up into and . Fix a typo for FreeBSD. And do some Makefile cleanups
ehofman [Mon, 7 Jul 2003 13:57:43 +0000 (13:57 +0000)]
Split  up into   and . Fix a typo for FreeBSD. And do some Makefile cleanups

20 years agoFix a mistake
ehofman [Mon, 7 Jul 2003 13:56:23 +0000 (13:56 +0000)]
Fix a mistake

20 years agoDon't link agains OpenGL libraries when it's not needed
ehofman [Mon, 7 Jul 2003 11:26:48 +0000 (11:26 +0000)]
Don't link agains OpenGL libraries when it's not needed

20 years agoClean up, and make more flexible and prevent unnesse
ehofman [Sun, 6 Jul 2003 17:14:04 +0000 (17:14 +0000)]
Clean up, and make more flexible and prevent unnesse
cary library includes

20 years agoReplace some of the most used fgGetXXXX() calls with a local variable. The next best...
ehofman [Sat, 5 Jul 2003 09:59:03 +0000 (09:59 +0000)]
Replace some of the most used fgGetXXXX() calls with a local variable. The next best thing would be replacing the fgGetXXXX()functions with cached pointers

20 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.

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

20 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.

20 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.

20 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

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

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

20 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.

20 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.

20 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.

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

20 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

20 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.

20 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.

20 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

20 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

20 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

20 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)

20 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.

20 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.

20 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.

20 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.

20 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.

20 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 ... ]

20 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