]> git.mxchange.org Git - flightgear.git/log
flightgear.git
22 years agoFixed typo in SetGammaFallback()
tony [Wed, 10 Jul 2002 03:24:57 +0000 (03:24 +0000)]
Fixed typo in SetGammaFallback()

22 years agoChange FGSteam into a proper subsystem rather than a collection of
david [Sun, 7 Jul 2002 15:45:56 +0000 (15:45 +0000)]
Change FGSteam into a proper subsystem rather than a collection of
static methods, and remove outdated dependency in panel_io.cxx.

22 years agoPatch from Julian Foad:
david [Sun, 7 Jul 2002 13:29:52 +0000 (13:29 +0000)]
Patch from Julian Foad:

- tidies up the update-time-step handling (making it a simple "dt");
- makes the altimeter get a proper pressure, and the (unused) vacuum
  calculation get a proper RPM (*);
- replaces property name look-ups with static pointers to property nodes.

Notes from DPM:

- the static pointers are a very bad idea, but they're only temporary;
  I plan to make FGSteam into a proper subsystem soon, and then they
  can be member variables
- I fixed the patch to get the current static pressure from the
  /environment/pressure-inhg property, so that the altimeter interacts
  properly with FGEnvironment

22 years agoPatch from Julian Foad:
david [Sat, 6 Jul 2002 18:02:06 +0000 (18:02 +0000)]
Patch from Julian Foad:

The present sets of bindings result in the throttle being "squared"
about its centre, which is silly.  This is because the "squared"
parameter is not set by the throttle binding, but the default is
"true".  We discussed this before and I think there was general
agreement that the default should be "false" on the basis of
generality.

22 years agoPatch from Julian Foad:
david [Sat, 6 Jul 2002 18:00:34 +0000 (18:00 +0000)]
Patch from Julian Foad:

May I offer this patch which will help non-Linux users find their
joysticks' names.

22 years agoRemove a kludge that was introduced to work around the #defined "NONE".
david [Sat, 6 Jul 2002 17:50:52 +0000 (17:50 +0000)]
Remove a kludge that was introduced to work around the #defined "NONE".

22 years agoChange identifiers to their new names to match hud.hxx.
david [Sat, 6 Jul 2002 17:50:38 +0000 (17:50 +0000)]
Change identifiers to their new names to match hud.hxx.

22 years agoPrefix "HUD_" (or "HUD_FONT_" in two cases) to #defined identifiers.
david [Sat, 6 Jul 2002 17:50:16 +0000 (17:50 +0000)]
Prefix "HUD_" (or "HUD_FONT_" in two cases) to #defined identifiers.
Remove some unused #defines (not mentioned anywhere, even in
comments).

22 years agoUpdate controls so we can specify each tank on/off individually. Also
curt [Fri, 5 Jul 2002 19:04:04 +0000 (19:04 +0000)]
Update controls so we can specify each tank on/off individually.  Also
updated the network interface files to add fuel tank selector information.

22 years agoOops, fixed a typo.
curt [Fri, 5 Jul 2002 14:49:18 +0000 (14:49 +0000)]
Oops, fixed a typo.

22 years agoAdded a fuel selector switch. I understand that this won't handle all
curt [Fri, 5 Jul 2002 14:46:38 +0000 (14:46 +0000)]
Added a fuel selector switch.  I understand that this won't handle all
situations for every kind of airplane.  But at the moment we have nothing
implimented and this will cover the simpler cases until someone has a
chance to impliment a fuller solution.

22 years agoSwitch to snprintf() for safety.
curt [Fri, 5 Jul 2002 13:56:46 +0000 (13:56 +0000)]
Switch to snprintf() for safety.

22 years agoMSVC fixups.
curt [Fri, 5 Jul 2002 05:23:53 +0000 (05:23 +0000)]
MSVC fixups.

22 years agoAdded interface to ATC xponder hardware.
curt [Thu, 4 Jul 2002 21:38:37 +0000 (21:38 +0000)]
Added interface to ATC xponder hardware.

22 years agoInitial revision of a Bendix/King KT 70 transponder.
curt [Thu, 4 Jul 2002 21:37:34 +0000 (21:37 +0000)]
Initial revision of a Bendix/King KT 70 transponder.

22 years agoFixed up a couple loose ends.
curt [Thu, 4 Jul 2002 21:37:06 +0000 (21:37 +0000)]
Fixed up a couple loose ends.

22 years agoModified to use named-joystick bindings when available (js-named
david [Thu, 4 Jul 2002 17:38:18 +0000 (17:38 +0000)]
Modified to use named-joystick bindings when available (js-named
rather than js).  This functionality is available only with recent CVS
plib versions (i.e. since about May 2002).

22 years agoA bunch of reorg and clean up of the KR 87 (adf) code including some
curt [Wed, 3 Jul 2002 23:35:21 +0000 (23:35 +0000)]
A bunch of reorg and clean up of the KR 87 (adf) code including some
property renaming with corresponding changes to instruments in the base
package.

22 years agoUpdated adf property names.
curt [Wed, 3 Jul 2002 21:52:13 +0000 (21:52 +0000)]
Updated adf property names.

22 years agoA couple ADF needle direction tweaks.
curt [Wed, 3 Jul 2002 05:15:04 +0000 (05:15 +0000)]
A couple ADF needle direction tweaks.

22 years agoAdd support for KR 87 annunciators.
curt [Wed, 3 Jul 2002 04:48:44 +0000 (04:48 +0000)]
Add support for KR 87 annunciators.

22 years agoPatch from Dave Luff to use dt properly in CHT calculation.
david [Wed, 3 Jul 2002 04:13:28 +0000 (04:13 +0000)]
Patch from Dave Luff to use dt properly in CHT calculation.

22 years agoFix a bug reported by Frederic Bouvier:
david [Wed, 3 Jul 2002 04:09:27 +0000 (04:09 +0000)]
Fix a bug reported by Frederic Bouvier:

GL/gl.h can't be included at the first position in windows. It requires
the inclusion of windows.h that must be included in other fgfs header
file. I only move down #include <GL/gl.h>

22 years agoCommented out a cout statement.
david [Wed, 3 Jul 2002 04:04:00 +0000 (04:04 +0000)]
Commented out a cout statement.

22 years agoDefault to ADF (rather than ANT) mode and start with the ADF turned on.
curt [Tue, 2 Jul 2002 22:39:04 +0000 (22:39 +0000)]
Default to ADF (rather than ANT) mode and start with the ADF turned on.
Oops, left in a debugging statement.

22 years ago- Oops, some name simplification led to overlapping variable names which caused
curt [Tue, 2 Jul 2002 22:35:15 +0000 (22:35 +0000)]
- Oops, some name simplification led to overlapping variable names which caused
  the adf needle to not point correctly, fixed.
- Make the code slightly smarter so ADF needle never takes the long way around
  to it's destination.

22 years agoFixes for IA-64 with Intel compiler.
curt [Tue, 2 Jul 2002 20:45:02 +0000 (20:45 +0000)]
Fixes for IA-64 with Intel compiler.

22 years agoUpdated hardware interface to match new KR 87 features.
curt [Sun, 30 Jun 2002 22:46:34 +0000 (22:46 +0000)]
Updated hardware interface to match new KR 87 features.

22 years agoWorking on implimenting the timer features of the King KR 87 ADF (as well
curt [Sun, 30 Jun 2002 22:44:38 +0000 (22:44 +0000)]
Working on implimenting the timer features of the King KR 87 ADF (as well
as some of the other subtleties.)

22 years agoAllow the default GUI font to be set via properties.
curt [Sat, 29 Jun 2002 13:07:25 +0000 (13:07 +0000)]
Allow the default GUI font to be set via properties.

22 years agoPatch from Melchior Franz:
david [Fri, 28 Jun 2002 19:14:42 +0000 (19:14 +0000)]
Patch from Melchior Franz:

This patch eliminates about 10 of valgrind's "Use of uninitialised
value of size ..." messages. They are all caused by approachlist building
incomplete FGApproach class instances and then copying them into the
approchlist container, hence copying data garbage.
   I know, I couldn't win a beauty contest with this patch, but the
alternative approach -- letting operator<< always leave complete
entries -- didn't look any better. And I do only add those seemingly
useless initialization where the values would be used uninitialized
else. The constructors are only run during setup and won't slow fgfs
down at runtime.

22 years agoFixed an uninitialized variable reported by Frederic Bouvier; this
david [Fri, 28 Jun 2002 19:06:23 +0000 (19:06 +0000)]
Fixed an uninitialized variable reported by Frederic Bouvier; this
could cause the FDM occasionally to get caught in a very long loop.

22 years agoUpdate from JSBSim - fix bugs reported by Gonzalo Peralta with CHT and
david [Fri, 28 Jun 2002 18:38:28 +0000 (18:38 +0000)]
Update from JSBSim - fix bugs reported by Gonzalo Peralta with CHT and
oil pressure.

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 18:01:08 +0000 (18:01 +0000)]
Patch from Julian Foad:

Fix float/int mis-match warnings.

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 18:00:49 +0000 (18:00 +0000)]
Patch from Julian Foad:

Use defined constant instead of yet another approximation to pi.

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 18:00:21 +0000 (18:00 +0000)]
Patch from Julian Foad:

Make locally-used strings local instead of global.  (The safety and
cleanliness benefit outweights the slight performance hit.  If
performance is an issue, the way these strings are used should be
optimised.)  Use existing defined constant instead of a literal
number.

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 17:59:59 +0000 (17:59 +0000)]
Patch from Julian Foad:

Remove trailing comma (unportable).

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 17:59:44 +0000 (17:59 +0000)]
Patch from Julian Foad:

Remove redundant class scope qualifiers.  (Should not be used within
class definition.)

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 17:59:30 +0000 (17:59 +0000)]
Patch from Julian Foad:

Remove unused variable.

22 years agoPatch from Julian Foad:
david [Fri, 28 Jun 2002 17:59:13 +0000 (17:59 +0000)]
Patch from Julian Foad:

Newline at end of file is required.  (On a preprocessor line it is
required; on other lines it is recommended but not required.)

22 years agoPatch from Melchior Franz:
david [Fri, 28 Jun 2002 17:43:11 +0000 (17:43 +0000)]
Patch from Melchior Franz:

- fix error message
- add PThread rule (needs valgrind >= 20020603)
- add missing files to .cvsignore

22 years agoPatch from Cameron Moore:
david [Fri, 28 Jun 2002 17:41:18 +0000 (17:41 +0000)]
Patch from Cameron Moore:

The patch fixes the uninitialized values by explicitly starting
everything at sea_level values.

22 years ago3D panel support from Andy Ross:
david [Fri, 28 Jun 2002 14:17:40 +0000 (14:17 +0000)]
3D panel support from Andy Ross:

+ The panel(s) are now an first-class SSG node inside the aircraft
  scene graph.  There's a little code added to model.cxx to handle the
  parsing, but most of the changes are inside the new FGPanelNode
  class (Model/panelnode.[ch]xx).

+ The old FGPanel source changed a lot, but mostly cosmetically.  The
  virtual-cockpit code moved out into FGPanelNode, and the core
  rendering has been abstracted into a draw() method that doesn't try
  to set any OpenGL state.  I also replaced the old inter-layer offset
  code with glPolygonOffset, as calculating the right Z values is hard
  across the funky modelview matrix I need to use.  The older virtual
  panel code got away with it by disabling depth test, thus the "panel
  draws on top of yoke" bug.  PolygonOffset is really the appropriate
  solution for this sort of task anyway.

+ The /sim/virtual-cockpit property is no more.  The 2D panels are
  still specified in the -set.xml file, but 3D panels are part of the
  model file.

+ You can have as many 3D panels as you like.

Problems:

+ The mouse support isn't ready yet, so the 3D panels still aren't
  interactive.  Soon to come.

+ Being part of the same scene graph as the model, the 3D panels now
  "jitter" in exactly the same way.  While this makes the jitter of
  the attitude gyro less noticeable, it's still *very* noticeable and
  annoying.  I looked hard for this, and am at this point convinced
  that the problem is with the two orientation computations.  We have
  one in FGLocation that is used by the model code, and one in
  FGViewer that is used at the top of the scene graph.  My suspicion
  is that they don't agree exactly, so the final orientation matrix is
  the right answer plus the difference.  I did rule out the FDMs
  though.  None of them show more than about 0.0001 degree of
  orientation change between frames for a stopped aircraft.  That's
  within an order of magnitude of what you'd expect for the
  orientation change due to the rotation of the earth (which we don't
  model -- I cite it only as evidence of how small this is); far, far
  less than one pixel on the screen.

[and later]

OK, this is fixed by the attached panel.cxx file.  What's happened is
that the winding order for the text layer's polygons is wrong, so I
reverse it before drawing.  That's largely a hatchet job to make
things work for now, though.  We should figure out why the winding
order is wrong for only text layers and fix it.  I checked the plib
sources -- they're definitely doing things CCW, as is all the rest of
the panel code.

Odd.  I'm also not sure why the 2D panel doesn't care (it works in
both winding orders).  But this will allow you to check in working
code, anyway.  There's a big comment to this effect in there.

22 years agoHalf-finished utility class.
david [Fri, 28 Jun 2002 14:15:53 +0000 (14:15 +0000)]
Half-finished utility class.

22 years agoAdded files that only I use locally; it shouldn't hurt anyone else.
david [Fri, 28 Jun 2002 14:15:37 +0000 (14:15 +0000)]
Added files that only I use locally; it shouldn't hurt anyone else.

22 years agoUpdates to the OpenGC interface from John Wojnaroski.
curt [Thu, 27 Jun 2002 22:26:47 +0000 (22:26 +0000)]
Updates to the OpenGC interface from John Wojnaroski.

22 years agoInitialize a value so we don't see non-deterministic behavior.
curt [Thu, 27 Jun 2002 20:48:39 +0000 (20:48 +0000)]
Initialize a value so we don't see non-deterministic behavior.

22 years agoWrong units when interpreting <weight> tags.
andy [Mon, 24 Jun 2002 04:18:53 +0000 (04:18 +0000)]
Wrong units when interpreting <weight> tags.

22 years agoHack in an /accelerations/pilot-g property, for testing a new panel
andy [Thu, 20 Jun 2002 04:11:19 +0000 (04:11 +0000)]
Hack in an /accelerations/pilot-g property, for testing a new panel
instrument.  This needs to move somewhere permanent.

Also, remove a bogus fuel consumption setting that (1) was off by a factor
of 3600 (hours, not seconds) and (2) collided with identical code in FGFDM.

22 years agoAllow an empty virtual model, to which other submodels can be attached
david [Wed, 19 Jun 2002 03:25:40 +0000 (03:25 +0000)]
Allow an empty virtual model, to which other submodels can be attached
(when no path is specified).

22 years agoAvoid a segfault when a named object is not found for an animation.
david [Wed, 19 Jun 2002 02:58:06 +0000 (02:58 +0000)]
Avoid a segfault when a named object is not found for an animation.

Ensure that global animations are applied to the model.

22 years agoAdded fgAddChangeListener convenience functions.
david [Tue, 18 Jun 2002 03:27:21 +0000 (03:27 +0000)]
Added fgAddChangeListener convenience functions.

22 years agoUpdated to match changes in radiostack.[ch]xx
curt [Sun, 16 Jun 2002 15:23:22 +0000 (15:23 +0000)]
Updated to match changes in radiostack.[ch]xx

22 years agoA little prepratory code reorganization before modeling the King KR 87
curt [Sun, 16 Jun 2002 00:05:07 +0000 (00:05 +0000)]
A little prepratory code reorganization before modeling the King KR 87
Silver Crown Digital ADF.

22 years agoFinally fixed the flap drag issue. Drag modifications need to be based on
andy [Sat, 15 Jun 2002 05:40:02 +0000 (05:40 +0000)]
Finally fixed the flap drag issue.  Drag modifications need to be based on
the amount of drag that the produced lift *would* have produced given an
unflapped air surface.  A nifty trick involving the assumption that AoA is
small works for this, and produces plausible results in the high AoA case
as well.

Also, trim for approach using the elevator-trim control, not elevator.
Just cosmetic for current planes, but future ones might have differing
implementations of trim.

22 years agoErik Hofman:
curt [Fri, 14 Jun 2002 15:29:20 +0000 (15:29 +0000)]
Erik Hofman:
Specify default values for properties so we get expected behavior when
an option isn't specified in the sound config file.

22 years agoAndy Ross:
curt [Thu, 13 Jun 2002 19:22:32 +0000 (19:22 +0000)]
Andy Ross:
Fixes for uninitialized variables.

22 years agoErik Hofman:
curt [Wed, 12 Jun 2002 16:38:46 +0000 (16:38 +0000)]
Erik Hofman:
This is the small code fix which is needed for the new options.xml file.
It is needed because otherwise the "--prop:name=value" is showed
incorrectly.

There is another problem though, when compiling with --without-logging
the help message isn't displayed at all! We *must* change that somehow.

Curt: good point, the SG_LOG()'s have been switched to cout's ...

22 years agoBugfix. The engine thrust is recalculated based on the current N1 value
andy [Wed, 12 Jun 2002 08:23:05 +0000 (08:23 +0000)]
Bugfix.  The engine thrust is recalculated based on the current N1 value
(and not the throttle setting), but the recalculation left in a degeneracy
when the target/throttle setting was exactly zero.  Zero times a big number
is still zero.  Fixed to use real math, not theoretical math.

22 years agoUpdates to the 610x interface:
curt [Wed, 12 Jun 2002 06:16:23 +0000 (06:16 +0000)]
Updates to the 610x interface:
- More progress with proper radio freq tuning and proper interpreting of the
  hardware values.
- Filter ignition and flap switch values since the hardware implimentation has
  a dead zone where the value can go to zero in the middle of a change in
  switch position.

22 years agoErik Hofman:
curt [Tue, 11 Jun 2002 17:06:46 +0000 (17:06 +0000)]
Erik Hofman:
I've updated the FIXME in the code, and fixed a typo (descr instead of
description), but the SG_LOG() functions doesn't produce any output for
me. Could you confirm it's still working for you?

Curt Olson:
I did a bit of further tweaking and it all looks good now.  The tricky thing
is that SG_LOG() always appends an endl at the end of every message.

22 years agoErik Hofman:
curt [Tue, 11 Jun 2002 16:32:12 +0000 (16:32 +0000)]
Erik Hofman:
This patch solves an unknown reference to a function which showed up
when using no-inlining.

22 years agoErik Hofman:
curt [Mon, 10 Jun 2002 23:30:23 +0000 (23:30 +0000)]
Erik Hofman:
This is an enhanced version of the options patch.
It's more robust now, and gives some helpful information if something
goes wrong. Also the naming in the options.xml file has changed to the
syntax David suggested.

Since no one objected to the patch I think it is safe to included it.

22 years agoReally simple command line airplane compiler. Basically a test program;
andy [Mon, 10 Jun 2002 20:15:35 +0000 (20:15 +0000)]
Really simple command line airplane compiler.  Basically a test program;
not integrated into the Makefile.am stuff.

22 years agoSeparate the model geodetic position and orientation into a separate
david [Mon, 10 Jun 2002 13:20:26 +0000 (13:20 +0000)]
Separate the model geodetic position and orientation into a separate
class, FGModelPlacement, while FG3DModel retains control of animation.
This way, we can have a single, top-level placement, but multiple
layers of nested models underneath.  To include a nested model, use
something like this in the XML wrapper:

  <model>
   <path>Models/Stuff/my-component.xml</path>
   <offsets>
    <roll-offset-deg>45</roll-offset-deg>
   </offsets>
  </model>

22 years agoUse the density values from the environment subsystem, to properly handle
andy [Mon, 10 Jun 2002 08:47:29 +0000 (08:47 +0000)]
Use the density values from the environment subsystem, to properly handle
density variations due to humidity.

22 years agoModified --wind=DIR@SPEED option to allow both DIR and SPEED to
david [Sun, 9 Jun 2002 21:28:17 +0000 (21:28 +0000)]
Modified --wind=DIR@SPEED option to allow both DIR and SPEED to
contain colon-separated ranges.  For examples, winds from 180 degrees
10 knots gusting 15 knots would be

  --wind=180@10:15

Winds variable from 180-220 degrees 5 knots would be

  --wind=180:220@5

FGEnvironment does not yet support variable-direction winds, so
nothing will yet happen in the second case.

22 years agoSeparated some functionality out into reusable classes, and built a
david [Sun, 9 Jun 2002 15:39:44 +0000 (15:39 +0000)]
Separated some functionality out into reusable classes, and built a
simplistic, text-field oriented interface for major property groups.

The JAR is now executable, so the program can be launched with

  java -jar fgfsclient.jar <host> <port>

22 years agoIgnore class directory.
david [Sat, 8 Jun 2002 15:55:48 +0000 (15:55 +0000)]
Ignore class directory.

22 years agoInitial draft of a Java client library for FlightGear.
david [Sat, 8 Jun 2002 15:54:56 +0000 (15:54 +0000)]
Initial draft of a Java client library for FlightGear.

22 years agoIgnore generated Makefiles.
david [Sat, 8 Jun 2002 15:01:46 +0000 (15:01 +0000)]
Ignore generated Makefiles.

22 years agoOops. Previous versions caused compile errors
tony [Sat, 8 Jun 2002 03:20:37 +0000 (03:20 +0000)]
Oops.  Previous versions caused compile errors

22 years agoThe external atmosphere fix. Really this time.
tony [Sat, 8 Jun 2002 03:15:05 +0000 (03:15 +0000)]
The external atmosphere fix.  Really this time.

22 years agoJSBSim updates, including external atmosphere fix
tony [Sat, 8 Jun 2002 03:14:03 +0000 (03:14 +0000)]
JSBSim updates, including external atmosphere fix

22 years agoPatch from Norman to do the code/base version comparison check a little
curt [Fri, 7 Jun 2002 23:26:07 +0000 (23:26 +0000)]
Patch from Norman to do the code/base version comparison check a little
more sensibly (and print the correct error message.)

22 years agoJames Turner:
curt [Fri, 7 Jun 2002 21:03:27 +0000 (21:03 +0000)]
James Turner:
Modifications to support querying navaid database by station ID (not just
frequency.)  Some corresponding changes to testnavs.cxx to test new
functionality.

22 years agoPatch from Jim Wilson:
david [Fri, 7 Jun 2002 20:16:54 +0000 (20:16 +0000)]
Patch from Jim Wilson:

This is a small patch that makes the autopilot work much better with big heavy
airliners as well as the small Cessnas.  Of course this doesn't address the
way autopilots should be modeled.

But by making a couple changes the "George" is now capable of landing either a
C172 or a 747 very close to the center line of the runway with a moderate
cross breeze (15-20kt).

The changes:
- Added turn configurability so that things like Max Aileron and Roll can be
configured per aircraft.
- Enhanced localizer routine (NAV mode) to begin lining up the aircraft as soon
as the cone is entered.  The former model is adopted for the last 5km of the
approach in order to ensure greater precision (makes a very slight difference).

[float cast added by David Megginson to keep G++ 3.0 happy]

22 years agoPatch from Jim Wilson:
david [Fri, 7 Jun 2002 19:52:00 +0000 (19:52 +0000)]
Patch from Jim Wilson:

This is a small patch that makes the autopilot work much better with big heavy
airliners as well as the small Cessnas.  Of course this doesn't address the
way autopilots should be modeled.

But by making a couple changes the "George" is now capable of landing either a
C172 or a 747 very close to the center line of the runway with a moderate
cross breeze (15-20kt).

The changes:
- Added turn configurability so that things like Max Aileron and Roll can be
configured per aircraft.
- Enhanced localizer routine (NAV mode) to begin lining up the aircraft as soon
as the cone is entered.  The former model is adopted for the last 5km of the
approach in order to ensure greater precision (makes a very slight difference).

[float cast added by David Megginson to keep G++ 3.0 happy]

22 years agoPatch from Melchior Franz:
david [Fri, 7 Jun 2002 19:43:40 +0000 (19:43 +0000)]
Patch from Melchior Franz:

FGViewer::updateFromModelLocation does otherwise complain several
times about non-initialized values

22 years agoFix two problems:
david [Fri, 7 Jun 2002 14:23:09 +0000 (14:23 +0000)]
Fix two problems:

1. Typo where /environment/density-inhg instead of
   /environment/density-slugft3 was flagged as archivable.

2. Density should no longer be archivable anyway, since it is
   calculated internally and not directly settable by the user.

22 years agoCorrect temperature value passed to FDM.
david [Fri, 7 Jun 2002 00:15:21 +0000 (00:15 +0000)]
Correct temperature value passed to FDM.

22 years agoAir density is now calculated automatically from air pressure,
david [Thu, 6 Jun 2002 00:21:23 +0000 (00:21 +0000)]
Air density is now calculated automatically from air pressure,
temperature, and dewpoint.  The /environment/density-sea-level-slugft3
property has been removed, and the /environment/density-slugft3
property is read-only.

22 years agoRenamed property /steam/vertical-speed-fpm to /steam/vertical-speed-fps.
david [Wed, 5 Jun 2002 22:39:00 +0000 (22:39 +0000)]
Renamed property /steam/vertical-speed-fpm to /steam/vertical-speed-fps.

22 years agoUse factors instead of offset in atmosphere model. The troposphere is
david [Wed, 5 Jun 2002 22:30:07 +0000 (22:30 +0000)]
Use factors instead of offset in atmosphere model.  The troposphere is
hard-coded for 38,000ft.

22 years agoPatch from Georg Kaiser.
david [Wed, 5 Jun 2002 21:43:44 +0000 (21:43 +0000)]
Patch from Georg Kaiser.

22 years agoTweak paths.
curt [Wed, 5 Jun 2002 21:05:41 +0000 (21:05 +0000)]
Tweak paths.

22 years agoInitial revision of a script to facilitate debugging with valgrind.
curt [Wed, 5 Jun 2002 19:58:07 +0000 (19:58 +0000)]
Initial revision of a script to facilitate debugging with valgrind.

22 years agoMove initial setup of cloud layers to Main/main.cxx to ensure that
david [Wed, 5 Jun 2002 17:45:42 +0000 (17:45 +0000)]
Move initial setup of cloud layers to Main/main.cxx to ensure that
they are done only once, and ensure that all properties are untied in
unbind().

22 years agoSet up cloud layers when thesky is allocated, to ensure that they are
david [Wed, 5 Jun 2002 17:44:39 +0000 (17:44 +0000)]
Set up cloud layers when thesky is allocated, to ensure that they are
created only once.

22 years agoReplace cout statement with SG_LOG.
david [Wed, 5 Jun 2002 17:44:09 +0000 (17:44 +0000)]
Replace cout statement with SG_LOG.

22 years agoInitialize default SLP to 29.92inHG.
david [Wed, 5 Jun 2002 14:44:30 +0000 (14:44 +0000)]
Initialize default SLP to 29.92inHG.

22 years agoSet control surface positions when using an external network fdm.
curt [Wed, 5 Jun 2002 05:22:42 +0000 (05:22 +0000)]
Set control surface positions when using an external network fdm.
Fetch all pending remote fdm network packets so there is not chance of
  getting behind.
Add support for driving control panel lights.
Working on better modeling KX 155 tuning behavior.

22 years agoErik Hofman:
curt [Tue, 4 Jun 2002 16:27:20 +0000 (16:27 +0000)]
Erik Hofman:
* Small updates and fixes
* Add random as an internal ( <intenral>random</internal> is now possible)

22 years agoUninitialized data problem. As it turns out, this never bit us because
andy [Tue, 4 Jun 2002 07:23:34 +0000 (07:23 +0000)]
Uninitialized data problem.  As it turns out, this never bit us because
the _chord member is only used uninitialized in circumstances where the
result is thrown away.  Still, bad practice.  Found with valgrind.

22 years agoAdded flap_deflection so that remote fdm can pass back actual flap deflection
curt [Mon, 3 Jun 2002 23:35:43 +0000 (23:35 +0000)]
Added flap_deflection so that remote fdm can pass back actual flap deflection
in order to drive the flap sound effects and animation.

22 years agoNeed to call recalc() on the RigidBody during solution, or else it
andy [Sat, 1 Jun 2002 19:59:38 +0000 (19:59 +0000)]
Need to call recalc() on the RigidBody during solution, or else it
won't apply the right gross weight due to fuel differences.

When solving for zero force, do so in the global frame, not the
aircraft's.  In principle, this shouldn't matter (zero is zero in all
frames), but in practice this should help to avoid oscillations.
Calculating lift as force perpendicular to the ground (and not the
wing plane) is clearly the Right Thing, anyway.

Also added support for a /yasim/gross-weight-lbs property, which
should be generically useful.

22 years agoProperty name typo. This resulted in all temperatures being 273K,
andy [Thu, 30 May 2002 18:54:08 +0000 (18:54 +0000)]
Property name typo.  This resulted in all temperatures being 273K,
which is far too warm at altitude.  Thus, air density (and aircraft
performance) was too low for a given altitude.

22 years agoCheck for the proper base package version.
curt [Thu, 30 May 2002 15:37:39 +0000 (15:37 +0000)]
Check for the proper base package version.

22 years agoPatch from Melchior Franz:
david [Wed, 29 May 2002 22:38:11 +0000 (22:38 +0000)]
Patch from Melchior Franz:

The new dt/multiloop method requires new damping parameters.

22 years agoDefault to glider again when model is not present.
david [Wed, 29 May 2002 22:04:36 +0000 (22:04 +0000)]
Default to glider again when model is not present.