1
0
Fork 0
Commit graph

69 commits

Author SHA1 Message Date
jimw
e93dc58a5c Added boost control to fdm config (not in "controls" yet). Increased
stall angle slightly...now drops wing at 120kias power off stall (should
be 100kias).
2003-05-05 03:18:46 +00:00
jimw
c86a85f040 Added some of Andy's suggestions to increase moment on prop and turbo-mul
to 2.0.  A few other adjustments including disabling "armament" ballast.
2003-05-05 00:48:56 +00:00
jimw
f5927c6351 YASim flight model for P-51D 2003-05-03 21:51:17 +00:00
curt
22b63476ff Lee Elliott:
I've done a new Sea Hawk.  Well, the model and the fdm aren't new, just
slightly modified, but I've incorporated some more animation stuff and tried
a different way of texturing it.

The animation additions are things I worked out for the YF23 (still can't get
it to fly again) - mostly u/c related stuff.

This actual aircraft (WV908) is in the Royal Navy Historical Flight and so is
kept unusally clean;)  In the photographs I looked at, hardly any fuseage
panel lines were visible so I've not tried to include any.  Instead of the
normal fuselage side views and wing plan textures I've just used fairly
high-res detail 'patches' for the markings, applied to 'carrier' objects.

This is much more like the way I'd do things if I was working on a picture in
my 3d software - there I'd apply multiple textures to an object, as required,
using scope and priority settings to get what I want.  With .ac format models
you can only apply a single texture to an object - hence the need for the
carrier objects.  These are sections of the underlying 'real' object that
have been moved out/away from from the original object surface so that they
cover them.

The pros are 1) the resolution of the details is much higher - have a close
look at the Ace of Diamonds art on the nose and on the bit that sticks out of
the front of the tail-fin (I don't know the proper name for this), and 2)
less texture space is needed.

The most obvious con is that there's more potential for z-buffer problems.  I
notice that whilst on the ground (in chase view), there appears to be
z-buffer fighting for the texture patches but once the a/c has taken off and
has got to about 200ft or so, it clears up.  I've no idea why this should
happen as I'm not changing any of the view settings.

There are a few things I still need to figure out in this respect - I think
there's an issue with graduated textures - they seem to get reduced to 16bpp
and show a lot of banding that's absent on the texture and the model appears
inverted from tower views, at least in 16bpp, but ok from the chase view, and
stuff like that.

I said that the model and fdm aren't new but they have been modified a bit.
I've only reduced the approach aoa in the fdm but the model, whilst basically
the same, has had quite a few changes to accomodate the new u/c and texture
patches.  It also got into FG by a slightly different route - I found that
AC3D would support polys with > 3 sides and after looking at and comparing
.ac and .obj file formats (I can export from RS3D in .obj format) I wrote a C
prog to convert .obj format files into .ac format files.  It's a nasty bit of
hackery that even uses a temporary workfile (LOL), and it will only work with
the simplest of .obj files (e.g. no vertice normal or texture info) but it
allows me to export the model geometry in .obj format, convert it, and load
it straight into AC3D without turning everything into triangles or flipping
face normals.

The funny thing is that objects that consist of just a single rectangle (e.g.
an aileron or flap surface) are not recognised by FG and they have to be
split into two triangles, and once the model's loaded up into FG I can see
from some of the rendering artifacts that it's all still reduced to triangles
prior to display anyway. Still, it saves me from having to do a lot of face
flipping.

Really, the texturing method is experimental and I hope I get some feed-back
on it regarding display and performance issues.  Ultimately, I'd like to try
to reduce the texture size down from 512x512 to 256x256 - nearly half of the
current texture 'space' is unused.
2003-04-21 20:28:24 +00:00
curt
ac6d9a05cd Fixes from Andy Ross:
+ The wing stall angle was weird, as mentioned earlier.  Values
  greater than 45° don't have much physical meaning.  I changed it to
  25, which should be closer to a realistic value.

+ The lift="1.1" on the elevator flaps wasn't quite enough to get the
  aircraft into the approach AoA.  I changed it to 1.2, and it works.
  It's still not as responsive as I'd have expected (then again, this
  is a big aircraft...).

+ The hstab effectiveness was negative.  This is wrong, as this is a
  multiplier for all force generated by the surface.  A surface with a
  negative value will produce thrust instead of drag. :) Maybe this
  was needed because the elevator was rigged backwards somewhere else?
  I changed it

+ The wing and hstab had very small stall widths (very sharp stalls).
  Low aspect wings should have gentle stalls, not sharp ones.  I
  changed it to 15 as a guess.

+ There's no rudder input mapped.  This can be done with a "split"
  input to the tails in exactly the same way that the aireron works on
  the wing.  It will simply add to the elevator input.  V-tail
  Bonanzas will require the same treatment.
2003-04-21 17:39:39 +00:00
curt
49e238d856 Initial revision. 2003-04-21 14:18:07 +00:00
ehofman
45cf665cf9 Fix some typos 2003-04-06 11:31:44 +00:00
david
62124a4d15 Fixed typo /controls/light/ instead of /controls/flight/. 2003-04-05 17:50:37 +00:00
david
d8032df111 Correct XML well-formedness errors. 2003-04-05 15:24:03 +00:00
ehofman
7b261e87da Update some YASim models to reflect the new controls changes 2003-04-01 14:44:36 +00:00
ehofman
157ae65f70 Update some YASim models to reflect the new controls changes 2003-04-01 14:29:06 +00:00
ehofman
459c1b4aea Update some YASim models to reflect the new controls changes 2003-04-01 14:04:55 +00:00
david
7d24dc8184 More tweaking. 2003-03-29 14:14:25 +00:00
david
a2711ac610 Add an elevator setting to the <cruise> element; otherwise, neutral
elevator and trim give ridiculously high airspeeds.

Increase the elevator effectiveness slightly.

Increase the vertical stabilizer effectiveness, and give it a 1.5
degree incidence angle, to compensate for asymmetric propeller
effects.

Increase the rudder effectiveness to help with cross-wind takeoffs and
landings.
2003-03-26 02:21:06 +00:00
david
9e76f046e4 Swap pilot and passenger positions. 2003-03-26 00:42:20 +00:00
david
996baca8a6 Update the attributes for <jet> and <propeller> from the YASim source
code, including a few guesses.
2003-03-09 12:21:52 +00:00
david
2e5d0c8b08 Minor tweaks, including a strong rudder and a weaker elevator. 2003-02-19 17:43:17 +00:00
david
b0d605e1fc Documented twist and incidence properties for wings. 2003-02-18 20:11:52 +00:00
david
e51c8a88dc Fix gear problem.
Add steerable tailwheel.

Increase elevator strength a bit.
2003-02-18 18:42:16 +00:00
david
bcb30b0caa Twisted wing and more limited elevator travel for a gentler stall. 2003-02-18 17:57:49 +00:00
david
03832c81d6 Increase the lift slightly for the wing flaps. 2003-02-18 17:41:29 +00:00
david
33e4712e47 Add washout to the wings, and limit the elevator -- clean stall now
happens at 50 kias, and if it's gentle, there's no wing drop (as in a
real Cherokee).
2003-02-18 16:54:23 +00:00
david
600544725f Added the "FLYING HINTS" section from the 1946 owner's handbook. 2003-02-14 19:38:51 +00:00
curt
02b4b4a3f0 Lee Elliott:
Here're some updates for some of the instruments, the TSR2 and the B52.

The instruments are just parameterised/non-specific versions of the engine
and fuel gauges.  The old gauges will still be used by the a10s and the sea
hawks until I get them done.

There're a couple of tweaks to the tsr2 yasim config and amendments to the
model file to change the angle at which the airbrakes operate, correct the
direction that the nose gear retracts/extends and to rotate the main-gear
carts during retraction/extention.  There're also new panels, using the new
instruments.

The b52 yasim config has some big changes due to finding some more info i.e.
wing incidence of 6 degrees, fuel capacities and aileron changes (removed
from G & H versions!).  It's now based on an 'F' model and I've put some
comments in the yasim config about it.  The b52-readme.txt includes a
suggested method on getting airborne;).   I've included an amended model -
B52-F.3ds, which is the default in the new model file, and a couple of panels.

I'm quite pleased with the b52 - the take-offs resemble the photographs I've
seen and I think I've got reasonable values where I've had to guess at stuff,
but the results from the yasim solver look as through the model is
approaching the limits of acceptability for yasim.  By this I mean that the
model is probably a bit dodgy, not that the yasim solver is limited.
2003-02-06 17:32:55 +00:00
curt
a9707b1189 after doing some high altitude testing, I've realised that Andy's max
speed/cruise speed setting was better and I've reverted to that - they were
too fast at altitude:)  They are closer using Andy's figure.

They don't quite have the required range though:(
2003-01-19 04:21:17 +00:00
curt
4e9a8f7748 Lee Elliott:
There's now another a10 variant - a ferry load configuration - no weapons but
3 x 600 us gal external tanks.  This seems to be the heaviest confguration
for an a10.  I also found a performance graph for the a10 in clean
configuration and it showed max speeds of 275 knots at 45000 ft and 398 knots
at 1200 ft.  As things seem to get a bit squiffy above 35000 ft, in my
experience, I used the 1200 ft figure.  This is pretty close the the figure
that Andy Ross found (380 knots at 0 ft) and I've also tried to incorporate
his mods into the new configs, with a better balanced wing/hstab settings.

After getting a good clean config, I added the extra masses/fuel
tanks/fueselages but didn't change any of the rest of the config, and it
still seems to work properly.  The external tanks were done as fuel tank
entries, with corresponding fuselage entries, whereas I'm not sure how to
handle the 'weight' entries in yasim yet so the weapon load is still done
with an increased total mass and ballast entries.

There'll be some stuff in the archives that haven't changed i.e. the cl & wl
a10 and seahawk models, but until I get using cvs for my own bits and pieces
it was easier to do the whole directory.  I hope this isn't a problem.

Finally, I've set up some panels, based on the c310 vfr and mini panels.  The
vfr panels have a lot of additional instruments on them but impose quite a
high frame-rate hit on my system.  The mini panels also have some additional
instruments but seem to work without noticable penalty here.  I've set these
panels as the defaults for these aircraft but I'm not sure it's a good idea
to have the vfr panels by default due to the performance hit.  Using them as
default will should give some feedback though;)

To go with the new panels are a number of rough and ready instruments I
hacked, mostly out of one of the rpm gauges, but I've adapted the throttle
quadrent (jet-throttle-quadrant) to funstion for throttle, flaps and reheat.
All the gauge faces were based on an existing ffgfs instrument texture, so
there's no problem with copyright there.  All the other bits that I've done
may be distributed under the same conditions as fgfs.
2003-01-19 04:04:09 +00:00
curt
f9daa22aa0 Lee Elliott:
The only real changes to the seahawk stuff were to add the panels, but I
found that Sea Hawks have three fuel tanks, with a 'saddle tank' over the
engine feeding fuel into the second/rear tank, so the yasim config's changed.
2003-01-19 03:58:06 +00:00
curt
8183684930 Lee Elliott:
Here are some more updates, and bits and pieces.

The tsr2 is mostly a re-write, with more reasonable figures for the wing and
hstab.  I've also tried to reduce the poly count on the model whilst adding
the airbrakes and canopies.

Finally, I've set up some panels, based on the c310 vfr and mini panels.  The
vfr panels have a lot of additional instruments on them but impose quite a
high frame-rate hit on my system.  The mini panels also have some additional
instruments but seem to work without noticable penalty here.  I've set these
panels as the defaults for these aircraft but I'm not sure it's a good idea
to have the vfr panels by default due to the performance hit.  Using them as
default will should give some feedback though;)

To go with the new panels are a number of rough and ready instruments I
hacked, mostly out of one of the rpm gauges, but I've adapted the throttle
quadrent (jet-throttle-quadrant) to funstion for throttle, flaps and reheat.
All the gauge faces were based on an existing ffgfs instrument texture, so
there's no problem with copyright there.  All the other bits that I've done
may be distributed under the same conditions as fgfs.
2003-01-19 03:50:13 +00:00
curt
ca3963d865 Lee Elliott:
The other stuff isn't really an update but something I did for a bit of a
laugh.  The idea ocurred to me after animating the folding wings on the
seahawk and seeing that the aileron and flap axis still worked...
2003-01-09 15:04:55 +00:00
curt
a2c511a47f Lee Elliott:
Here're a couple of updates.  Well, one's an update - the tsr2 and this now
has reasonable wing and hstab values.  The roll rate was very high and I
figured that as it was going to be a hack anyway, due to the all moving
tailplanes, I just made them very ineffective and linked them top the
tailplanes in the model file.  I think I may have over factored them a bit
too much but it's interesting watch them in chase view.  If the autopilot
roll-out-deg is dropped to about two it'll start oscillating, and from behind
it looks like it's paddling:)
2003-01-09 14:54:53 +00:00
curt
177e960c1d Lee Elliott:
Added a Hawker Sea Hawk: --aircraft=seahawk-yasim.
2003-01-03 16:58:08 +00:00
aross
759288135c Recent changes to the gear code caused the DC-3 to fall through the runway
and crash on startup.  The defaults tend to assume that load is borne in
proportion to the gear's distance from the c.g., but taildraggers are more
complicated.  Increase the spring strength.
2002-12-21 18:43:24 +00:00
curt
2ff2a63ca3 Lee Elliott
Here's a B52-H that I've done and it can be distributed under the same
conditions etc. as fgfs.  It seems to fly ok but I'm sure it could do with a
bit of adjustment - perhaps Andy R. will have a look and give it a few tweaks.

It wouldn't need too much work to convert it to an -A model (different
engines, taller fin etc.) and then it could be teamed up with the X15 :)

I still can't get textures on the models but it occurred to me that if
someone could apply blank texture maps to the models I could then fill in the
blanks, as it were.

I also noticed that there don't appear to be models included for the F-104,
F-15 & F-16 and I think I could probably do some and animate them for fgfs if
they'd be useful.

Re the A10 - Andy said he'd had a look at it and made a few changes to fix a
few things that I'd done incorrectly and asked if I wanted to keep tinkering
with it or should he roll his changes into the fgfs cvs?  I said to him that
I'd be happy to go with his changes as they'll be more realistic/accurate than
the stuff I've done.

I've certainly no problem with anyone doing anything with any of the stuff
I've done, so long as it's an improvement :)
2002-12-18 02:30:45 +00:00
david
196a7e6b89 Minor adjustments. 2002-12-18 02:03:46 +00:00
curt
746313f650 Lee Elliott:
Updates to a10 yasim model.
2002-12-17 22:39:37 +00:00
david
110f233514 Some basic performance info for the PA-28-161. 2002-12-12 19:24:26 +00:00
david
f30f9e7430 Preliminary draft of a PA28-161 (Piper Warrior II). Right now it uses
a simple YASim aero model, the Cessna 2D panel, and an unanimated,
untextured 3D model.
2002-12-12 18:55:58 +00:00
david
fe975e78a5 Some minor cleanups. Propeller RPM should be more reasonable now, and
approach speed isn't ridiculously low.
2002-12-12 18:17:19 +00:00
jimw
adee24603d Adjusted gear compression so that aircraft sits more level. 2002-12-09 02:38:30 +00:00
curt
3a71945920 Lee Elliott:
Initial revision of a10.
2002-12-06 18:41:03 +00:00
aross
e7c4d83bce Misc tweaks. I honestly forget the reasoning behind some of these changes. 2002-11-30 07:20:41 +00:00
aross
11b583b54e Document the new "idrag" attribute on wing objects. 2002-11-30 03:24:27 +00:00
curt
79463103ae Lee Elliott:
I've taken the liberty of attaching a .tar.gz file containing a .3ds model of
a BAC-TSR2, a yasim config file based on the correct figures (where I could
find them) and the -set.xml and model.xml files to fly it.

I'm primarily a 3d'er and originally did the TSR2 for a picture I'm working
on but when I got fgfs running (Debian Linux) I couldn't resist loading it in
and trying to get it to fly.  The model was created in Realsoft3D and
exported as .3ds.

I've been able to tag the various sub-objects, to animate them but the export
process appears to 'flatten' any object hierarchy I set up and I'm guessing
this is necessary for sequential animations - I couldn't set up the correct
sequential rotations to properly bring the main u/c in.  Also, in real life,
there are several other u/c doors that should open and close in sequence to
get the gear in and apparently the sequence was quite complex.

On the ground though, it is as shown (so I didn't need to model the extra
doors for my picture anyway;)

It could do with some airbrakes too, both for the model and for the fdm.  As
with the extra u/c doors, I didn't need them for the picture and they haven't
been modelled.

As well as not being able to preserve object hierarchies when I export from
Realsoft3D's native object format to .3ds, I'm not able to preserve textures
or colour-mapping either, so the aircraft appears all white.

Hopefully, someone might like to add the extra doors and airbrakes, which
shouldn't be too difficult, and put some texturing on it - mostly white
anyway, for the prototypes, or a contemporary RAF scheme if someone wants to
pretend that it entered service.

The yasim fdm model, as said, cannot be regarded as accurate.  However, while
it is based on the specs for the real aircraft, where I could find them, the
measurments are probably only accurate to about 1 metre.  That's assuming I
was measuring the right things in the first place;)  Other bits that I wasn't
sure about i.e. flaps, ailerons etc. have been hacked out of the a4 or the
747.

It could do with some 'refinment' by people who know what they're doing, but
it seems to fly about right, or rather, as I'd imagine:)  (me want a
forward-looking ski-toe terrain avoidance radar:)

Anyway, I'm happy for the whole lot to be released under the same licence and
conditions as the rest of the fgfs stuff, either as a part of fgfs or by
anyone else who will also follow those same licence and condition terms.

I've also got a reasonable yasim b52 flying but no moveable bits on the model
yet, a vulcan with a similar simple 3d model using a grossly hacked c310
jbsim fdm (right numbers where I could find them but powered by a couple of
XLRs) and a Saunders-Roe SR45 Princess flying boat model and yasim fdm (can't
get it into the air with propellors but substituting equivilent jets (2.5x
factor) got it flying.  I've started on a EE/BAC Lighting FMk6 model but I'll
probably be doing a Fairchild A-10 and an Antonov An-225 first.

I figure this is the best way I can contribute to the fgfs project, and l'd
like to be able to offer something.
2002-11-27 21:35:06 +00:00
aross
a42a06cc9e Move the origin on the A-4 and 747 to coincide with the existing 3D models.
Added property-controlled pylons to the A-4, for external stores modelling.
The harrier now has working auto-stabilization, making it *vastly* easier
to control in hover and slow flight.
2002-11-10 20:17:05 +00:00
aross
d0734a2a2b Add "spring" and "damp" tunables to the documentation, and use them to
fix the 747's nose gear bounce.
2002-11-09 21:09:33 +00:00
aross
62ed113f21 Typo. The propeller definitions have to match, dummy. 2002-11-04 17:33:45 +00:00
aross
c70491368a More updates from Dave Perry. Fix the tank location to be in the wing (this
is the same "wrong sign" issue that affected the wing location).  Adjust
the ballast accordingly.  Tune the surfaces a little bit.  Also adjust the
location of the tail wheel, presumably to get the on-ground orientation right.
2002-09-03 17:12:33 +00:00
david
399574e6e9 Initial performance data for the J3 Cub. 2002-08-31 20:19:16 +00:00
david
ec15f9f581 Increased rudder, vstab, and hstab effectiveness as recommended by
Dave Perry.  The tail comes up a little faster now, and the plane is
slightly easier to control on takeoff roll.
2002-08-31 18:43:19 +00:00
aross
6c931cef21 Fix from Dave Perry. The wing Z coordinate was inverted in the original
version.  This is a low wing aircraft. ;)
2002-08-30 18:28:52 +00:00