andy
c62048d5e2
YASim now supports the new fuel.nas fuel management system. It
...
reads the /consumables tree for input to determine weights, but
places output only in /engines/engine[n]/fuel-consumed-lbs where
it gets picked up by the Nasal code.
2004-03-27 04:07:18 +00:00
andy
17b6142a76
Tune up the starter torque to match the recent changes to engine
...
friction. We should get these better calibrated at some point...
2004-03-26 22:53:41 +00:00
curt
349195795e
Jim Wilson:
...
This is a fix for my earlier "Remove some hardcoded dependencies between fdm,
viewer and acmodel" patch. The problem was discovered when testing the
wrightFlyer.
2004-03-23 13:19:40 +00:00
curt
bcc42cbe4c
Various final tweaks for the 0.9.4.pre1 release.
2004-03-22 20:19:18 +00:00
curt
ba840da288
plib-1.8.0 no longer defines the cchar type (which we used because we were
...
deriving a class and the base class used this type.) Return to using
const char and hope people compiling against earlier versions of plib
have compilers that think typedef const char cchar; char *abc; is equivalent
to const char *abd;
2004-03-22 15:00:42 +00:00
ehofman
f08625d64d
A hack to prevent a devide by zero sotuation. Should we still leave the balloon in CVS without WeatherCM?
2004-03-22 10:59:08 +00:00
curt
f7fc455b0d
Jim Wilson:
...
Remove some hardcoded dependencies between fdm, viewer and acmodel classes and
replaced them with property references. Fix roll offset in viewer.
2004-03-19 03:30:18 +00:00
curt
fe7321e91e
Add extern "C" wrappers.
2004-03-16 20:44:00 +00:00
david
25290c4467
Remove the old WeatherCM module.
2004-03-16 20:19:07 +00:00
curt
fbee3d10f0
Rob Deters: UIUC updates from March 1, 2004.
2004-03-16 04:01:38 +00:00
ehofman
c37874e140
Fix an issue where math.h doesn't define sqrt in namespace std (at least on MSVC) and remove DOS line-endings.
2004-03-15 09:24:57 +00:00
ehofman
f63d336ebc
Sync. with JSBSim CVS.
2004-03-14 14:57:07 +00:00
ehofman
a97b69056e
Fix a string clearance issue with certain compilers.
2004-03-12 17:33:30 +00:00
david
620832274a
Increase friction at idle, so that the engine idles more slowly.
...
The friction factor should be tunable through a runtime parameter;
right now, it is optimized for the PA-28-161.
2004-03-07 01:26:30 +00:00
andy
8d1698d21a
Added a <solve-weight> subtag of the approach/cruise parameters that can
...
be used to set the variable weights to specific values for the solution.
2004-02-18 15:36:35 +00:00
andy
500b081ca5
Allow a "fuel" attribute in the approach and cruise tags to have
...
values other than the defaults (20% and 50%, respectively)
2004-02-17 23:24:36 +00:00
ehofman
1c576866b2
Adjust the turbine names for N1, N2 and EGT_degC to match those already specified by YASim (n1, n2 and egt_degf).
2004-02-17 09:07:27 +00:00
ehofman
c92cb650eb
Add the latest version of JSBSim including support for a Visual Reference Point
2004-02-14 10:19:56 +00:00
andy
1bc3c5eca0
Yank the sqrt() terms from the twist calculations. They were causing
...
solution failures for reasons I have still to investigate.
2004-02-13 18:12:08 +00:00
ehofman
7da5a741fb
Revert to the previous version because it looks it isn't the friction force after all.
2004-02-13 15:20:13 +00:00
ehofman
c648bc18f7
Make sure the friction forces are positive, otherwise they will push the aircraft rather than holding it into place. The ground reaction code still needs some attention.
2004-02-13 12:54:38 +00:00
andy
fc565ebd86
Put the sqrt(frac) terms back into the wing twist.
2004-02-09 19:53:14 +00:00
andy
85115ef347
Fix the left/right terms in the twist handling to be symmetrical.
2004-02-09 15:18:33 +00:00
ehofman
869aa997a5
Initialize the varables *before* reading in the configuration file
2004-02-05 13:47:48 +00:00
andy
5a9c5d80c8
Thrust reversers. Very simple implementation.
2004-01-30 23:21:26 +00:00
andy
e8009ed8fa
Forgot the gear ratio handling in stabilize() method, so the solver
...
got wrong values.
2004-01-25 18:57:11 +00:00
andy
5af1e589de
Wire up a "gear-ratio" attribute for geared propeller aircraft
2004-01-24 23:09:41 +00:00
andy
0a9a72f209
Don't default to exactly zero RPM if the RPM property isn't there.
...
The engine model doesn't like that.
2004-01-21 22:51:21 +00:00
ehofman
fbd21c499f
Turn the console colors back to default before continueing
2004-01-19 13:51:05 +00:00
ehofman
2c59d1621f
MSVC fix
2004-01-15 10:18:51 +00:00
curt
95440173ca
Curt Olson:
...
Sync with most current JSBSim CVS.
2004-01-14 22:09:39 +00:00
curt
9c49534907
Attempt #1 to sort out confusion between left / right / parking brake
...
controls in the cockpit vs. which wheels they apply to. FlightGear now
sets /controls/gear/brake-left, /controls/gear/brake-right, and
/controls/gear/brake-parking. It should be up to the FDM to sort out
which wheels under which circumstances are affected by these controls
and ultimately what happens to the physical motion of the aircraft.
2004-01-12 17:39:41 +00:00
andy
ba44655796
Attenuate turbulence near the ground. Tweak turbulence numbers.
2004-01-12 04:03:55 +00:00
andy
dfffe9c924
Move the turbulence "airmass" according to the local wind.
...
Clean up and better document the magic numbers in Turbulence.cpp
2004-01-10 22:34:49 +00:00
andy
ce91286e19
First cut at a turbulence model for YASim. It's a
...
perlin/scale-invariant vector field implemented as a 2D lookup table.
Seems to work OK, but needs testing and feedback.
2004-01-09 17:05:26 +00:00
ehofman
4cc853e2a2
MIPSpro 7.4 fixes
2003-12-27 22:27:27 +00:00
andy
a59a272702
Yank more debug code.
2003-12-22 19:02:20 +00:00
andy
d0af0c5f58
Export a "/sim/crashed" property to indicate a crash.
...
Yanked some ancient debug code and cleaned up some whitespace while I
was in there.
2003-12-19 19:02:48 +00:00
andy
439a9fa1e4
Minor API changes to support the new sg_geodesy implementation. A few
...
places now use sgCartToGeod() instead of rolling their own
approximation. And YASim is now using exactly the same 3D coordinate
system as the rest of FlightGear is.
2003-12-19 02:42:32 +00:00
ehofman
76585fb801
STL chnages
2003-12-11 14:50:30 +00:00
ehofman
44ce4cdb97
Melchior FRANZ:
...
I think the ufo turns a bit too fast. 25 is better.
2003-12-08 18:08:27 +00:00
ehofman
7ac15db168
Melchior FRANZ:
...
Everyone knows that ufos can turn on the spot.
Turn on rudder input at low speeds. (Quite useful when using the
ufo fdm for exploring the scenery.)
2003-12-07 17:39:48 +00:00
andy
9d15561937
My refactoring left two values uninitialized when running a
...
helicopter. Melchior caught the bug.
2003-12-03 21:26:03 +00:00
andy
3b2d97289c
Cleanup and refactoring to better integrate the helicopter code into
...
the core YASim stuff. Mostly cosmetic: whitespace adjustment, dead
code & meaningless comment removal, a little code motion to better
partition the helicopter handling from the original code (no more
giant if() { ... } around the solver). Added a warning to the parser
to try to eliminate the string booleans that crept in.
There should be NO behavioral changes with this checkin.
2003-12-01 01:22:27 +00:00
ehofman
3459147f5f
Add a refference to sprintf
2003-11-27 13:44:20 +00:00
ehofman
c7ae0e3b0f
Partability fix
2003-11-27 10:24:05 +00:00
david
195eadc739
Use SG_LOG for debugging messages from the YASim helicopter model.
2003-11-25 18:50:47 +00:00
david
5644f22513
Make more output honour debug_lvl.
2003-11-24 17:59:41 +00:00
david
5fa04adf68
Try to coordinate between the different logging idioms of JSBSim and
...
FlightGear: when FlightGear wants things quiet, make JSBSim quiet as
well.
2003-11-24 17:59:10 +00:00
curt
a37515d7fe
Add support for passing a CG offset (in inches) to an external FDM.
2003-11-13 03:10:09 +00:00