1
0
Fork 0
Commit graph

714 commits

Author SHA1 Message Date
mfranz
9934ee29d3 5 is a bit too small. And now I'm *really* done. :-) 2006-03-11 12:20:49 +00:00
mfranz
09a284358e reverse flaps up/down (this feels more naturally for an UFO ;-) 2006-03-11 12:01:24 +00:00
mfranz
7b3ef800cc remove redundant function 2006-03-11 11:10:58 +00:00
mfranz
d43853763d use fixed speed values (prettier and more consistent) 2006-03-11 11:04:59 +00:00
mfranz
c86cd8c013 "flaps down" -> decrease maximum speed
"flaps up"   -> increase maximum speed
2006-03-11 09:52:51 +00:00
mfranz
a51165f775 This code was correct (apart from the doubled binding). The problem is
that the --dme option sets the switch position correctly, but the
preferences.xml file is read after that and sets the switch back to 1.
And then we do *correctly* get nav1. Ideally, we would only let
preferences set the switch position if it wasn't set before, but
for now lets just comment that out there.
2006-03-10 15:36:17 +00:00
david
ff83826bfc Remove setup action -- it overwrites a DME frequency specified on the
command line.
2006-03-10 14:41:50 +00:00
daveluff
c635f08dc7 Jean-Yves Lefort: The attached patch restores normalized control surface positions on the c172p 2006-03-06 21:12:52 +00:00
fredb
026a2bb4b0 Jean-Yves Lefort :
I have implemented a Honeywell MK VIII EGPWS emulation for FlightGear.
The MK VIII is an Enhanced Ground Proximity Warning System aimed at
regional turboprop and small turbofan aircrafts such as the Citation,
Citation Bravo, B1900D, Beechcraft 99 and L410.

Frederic Bouvier:
make the MSVC compilation possible. Rearrange base package directories.
2006-03-04 20:29:50 +00:00
david
61eef54dac Changes from Dave Perry:
I put 3 patches and a sound file in this tar.  The c172p... patch
removes an unnecessary patch I submitted to the c172p.  It has no affect
on performance.  The Instruments-3d... patch adds a working skid ball to
the tc and switches the vor xmls to using params so it is easier to
edit.  It also constrains the glide-slope needle to -32 to 32 degrees.
The pa24-250... patch fixes an edit error (corrects a misnamed switch
"click", no change in performance) and adds a "squish" sound to the
primer pump action.
2006-03-04 13:29:30 +00:00
curt
947b816042 Lee Elliott:
Remove spam trap contact address.
2006-03-02 22:40:56 +00:00
david
5da3e4c18b Changes from Dave Perry:
Here is a patch that included the changes in my 2/22/06 posting plus the
3d-instrument light "emission" animations.  I also added a magnetic
compas mount and moved it forward and down to better match the real ac
and make it easier to read when adjusting the hi.  Ignore the "?" flaged
files at the beginning.  none are required.  I noticed that there is a
backup copy of pa24-250.ac in the pa24-250 folder in cvs.  It can be
deleted.  The only copy of that file required is in pa24-25/Models.

I "flew" a shake down instrument XC from 2v2 (Longmont, CO) to KLVN
(Airlake, just south of Minneapolis, MN).  Even the fuel management is
realistic.  The autopilot on the menu bar works well.  Give the changes
a try and enjoy!
2006-02-25 18:16:54 +00:00
curt
cdfa61f112 Syd Adams:
Here are the latest updates.

- Most of the changes involve moving instruments / animation / hotspot files
  to instruments-3d.

- Some re-texturing.

- Finished Aerostar gear animation.

- I tried adding a LONG variable to the nav radio property tree,
  but the conversion kept coming out wrong. Multiplying frequencies
  by 100 and outputing that to another DOUBLE worked, but I cant find
  the Comm frequencies property updating for the life of me ..... oh
  well Nasal works.
2006-02-23 19:06:03 +00:00
mfranz
ceeb9503f8 Stuart BUCHANAN:
Nasal/XML based tutorial system
2006-02-22 17:03:42 +00:00
mfranz
92c5097250 Stuart BUCHANAN: update; replace screenPrint with screen.log.write(); ... 2006-02-15 22:53:23 +00:00
david
8ab3d99a88 Changes from Dave Perry:
I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias  pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the change
points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 17:34:59 +00:00
david
be1a0a1c9e I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias  pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the change
points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 17:31:21 +00:00
david
c6669dd751 PA-24-250 (Comanche) changes from Dave Perry:
I made a minor change to one file in the c172p that accommodates a
feature I added to the navcom-kx155.xml and the dme.xml in the
Instruments folder.  I wanted to leave the frequencies, etc. on these
dark until there was voltage applied to
/systems/electrical/outputs/nav.  This was accomplished by adding a
param and property alias pointing to the appropriate value.  Since the
c172p "always" applies 28 volts, this made no change in the c172p, but
allowed me to model the avionics master and battery master realisticly
in pa24-electrical.nas.  I put in comments explaining this at the
change points.

There is a useful  "help > aircraft help" that walks you through the
start procedure and lists the key bindings as well as the key to "light
up" the hot spots.
2006-02-12 15:44:12 +00:00
daveluff
674539a3cf Use middle click to pull/push the pull-to-scan middle knob 2006-02-03 20:58:47 +00:00
ehofman
dfd4d87c8a Ron Jensen: energize the TACAN. 2006-02-03 08:44:26 +00:00
mfranz
5a12cd5d22 before the big instrumentation rewrite dme.cxx cared for the initial
mode according to the switch position. Now dme.cxx is more generic
and can't make these settings any more -- and doesn't. So the dme
didn't display anything even if the knob was on.

The initialization has now to be done in the dme.xml file.
(Button-less actions are fired at init time and then thrown away.)
2006-02-02 00:07:11 +00:00
mfranz
12b58fa989 fix "from" flag 2006-02-01 22:16:53 +00:00
mfranz
f4704aed46 ac3d syntax 2006-01-30 19:43:18 +00:00
curt
c16aa2cd25 Syd Adams:
3d instrument updates, especailly the primus-1000.
2006-01-30 19:33:23 +00:00
ehofman
97752847ef Dave Perry:
I have modeled N7764P, the comanche 250 I co-own with 2 other Seagate engineers.
In the process of doing this model, I have also improved, worked on, or added
instruments, etc. to Instruments-3d.

* I fixed the adf so the azimuth card is tied to the correct property
* Added TO, From, and out-of range indicators to the 3d vor.
* Also added a manifold pressure gage and a pa24-250 asi (using digital photos
  of the actual asi as the starting textures.

Affects on other AC.  As far as I know, this will add to-from to the vor and
correct the adf behavior for pa28-161.  It would be a trivial edit to the
pa28-161.xml to give the same vor performance to that AC.
Now both VORs act as one.
2006-01-24 10:26:16 +00:00
ehofman
f6cd3d54d8 sync. with JSBSim v. 2.0 2006-01-12 15:03:25 +00:00
curt
601366f717 Syd Adams:
3d instruments for Piper Aerostar.
2006-01-09 15:45:12 +00:00
curt
eb783b46aa Syd Adams:
Initial revision.
2006-01-09 14:55:52 +00:00
ehofman
7f11bb92db Stuart Buchanan:
- Provide generic Nasal code to check if a pilot is abusing their aircraft
  by extending their gear/flaps above the maximum allowed speed, exceeding
  Vne, or pulling excessive G-forces.
- Implement limits within the C182.
2006-01-06 09:47:58 +00:00
ehofman
fef63c1b05 Stuart Buchanan:
Updates to the generic yoke and added a generic set of pedals and a throttle
quadrant.
2005-12-27 13:14:49 +00:00
daveluff
c765031835 And following on from the last bug, I need to revert the actual texture to the one I tested with for the indicies into it to be correct... 2005-11-30 02:00:48 +00:00
daveluff
46268bbf56 Melchior found the first bug... 2005-11-30 01:49:48 +00:00
daveluff
a08c2e07c7 Rearrange the 2d c172 panel to add a kln89 GPS unit and md41 annunciator and gps/nav switch 2005-11-30 01:10:31 +00:00
daveluff
b4dc9ca967 KLN89 GPS instrument - this only handles the switches, dials and providing a background - the logic and display is handled by a special c++ instrument 2005-11-30 01:05:40 +00:00
daveluff
7b875227e1 KLN89 background - could probably do with adding a lower res version of this as well 2005-11-30 01:04:38 +00:00
mfranz
36a69cd891 /instrumentation/adf/heading-deg doesn't exist any more; use the
"heading-indicator" instrument
2005-11-12 18:24:06 +00:00
ehofman
4440f87a3b Add the missing generic instruments that are required by the new C182. 2005-11-10 17:23:10 +00:00
ehofman
fec91079ae Harald JOHNSEN: Add a (test) WxRadar instrument. 2005-10-08 12:13:43 +00:00
daveluff
4e27c93836 MD41 GPS annunciator and NAV-GPS switch unit 2005-10-02 18:08:49 +00:00
ehofman
f2fe8fbe39 Vivian Meazza:
This adds a TACAN instrument to the inventory. Range and bearing are calculated
to the TACAN or VORTAC beacon selected by means of the Channel Selector in the E
quipment/Radio pull-down menu.

A TACAN beacon has also been added to the aircraft carrier Nimitz (channel #029Y
).
2005-10-01 09:56:18 +00:00
curt
08e0ffece0 Off indicator when volts drop below 20. 2005-08-23 02:34:03 +00:00
ehofman
801edaf448 Torsten Dreyer:
Add a radar altimeter (like the King KRA-10A)
2005-07-31 08:31:08 +00:00
curt
72e1e46116 Convert the c172p and c172r to use the new nasal electrical system. 2005-06-14 20:58:07 +00:00
curt
c77949a11d Specify a default generic electrical system model here rather than in the
aircraft-set.xml files.
2005-06-14 18:01:34 +00:00
ehofman
ec8742bd65 Melchior FRANZ:
Implement simple help system with global and aircraft specific dialogs:

The gui.nas changes have been discussed with Andy. All ac have a help dialog,
but some are empty. (This wouldn't have been necessary, as the system falls
back to the "Common Aircraft Keys" if an aircraft has no help defined, but an
empty dialog is less confusing and encourages to be filled with interesting
information.   :-)    I scanned all aircraft files for interesting performance
data and added some to the dialogs (stall speed, etc.) The Concorde and the
p51d have (over?)complete dialogs and can serve as examples. The format is
documented in $FG_ROOT/Nasa/gui.nas.

There is also a couple of other, minor fixes.

The following files have ugly MSDOS line endings:

  $FG_ROOT/Aircraft/Hunter/hunter{-2tanks,}-set.xml
  $FG_ROOT/Aircraft/A380/A380-set.xml


The Concorde-jsbsim.nas file is a useless copy of the real */nas file, which is
in Nasal/. I'was debugging the Concorde and wondered why changes to this file
had no effect ...
(Fixed Concorde in the help-ac.diff patch: don't use "interpol" keyword as
variable.)
2005-04-19 13:43:44 +00:00
ehofman
34648bb1f9 Remove some unused texures and re-install the 2d panel. 2005-02-22 18:25:00 +00:00
ehofman
5999a302a9 Reference Aircraft/Generic instead of Aircraft/c172 2005-02-19 12:58:39 +00:00
ehofman
8cc903dfe6 Reinstall the c172p, 3d cokcpit only for now 2005-02-19 10:51:46 +00:00
ehofman
2c8aaa35ee Remove the c172p, there will be an updated version shortly. 2005-02-19 10:48:48 +00:00
ehofman
d71f743d62 First step towards untiing the c172/c182 knot 2005-02-19 10:03:53 +00:00
ehofman
cc51e4b9eb Melchior FRANZ:
The comm radio knobs are screwed. Left half increase, right half decrease.
Fixed that. (I wonder since when this is broken. Does nobody use it?)

To reproduce:  $ fgfs --aircraft=c310
2005-02-11 15:33:21 +00:00
ehofman
3e168d205c Melchior FRANZ:
The c310's adf needle (HSI) doesn't work. The hsi.xml instrument does
still use the old property. The fix didn't have negative effects on
other a/c that I had tested.
2005-01-28 15:11:56 +00:00
jimw
144eef5ce7 Thumbnail 2005-01-18 06:05:24 +00:00
jimw
7b3b826042 Author tags 2005-01-18 03:11:34 +00:00
curt
abb934ebdb Initial revision. 2005-01-18 01:42:35 +00:00
curt
57ab0333db Updates to author tags. 2005-01-18 01:27:18 +00:00
curt
0a1edc2d53 Add a missing texture file. 2004-12-29 20:03:35 +00:00
curt
73a9cb2849 Dave Martin:
Changes made 19/12/2004

Panel re-oriented
3d Compass shows through windows.
Wing-tips slightly altered.

Changes made 18/12/2004

Prop spinner shortened and widened
Nose area slightly remodelled to fit silouette
Nose texture altered to place lower intake correctly

Nose wheel reduced in size.
Nose leg Oleo guide added (does not rotate - is this correct with real ac?)
Nose wheel Axle added.
Nose wheel fixed to rotate about it's shaft axis.

Windscreen / panel mesh changed so that panel no longer protrudes thru dash
Panel instruments moved to represent the geometries of the real cockpit.
Pilot / Copilot Yokes moved inboard to represent the geometries of the real cockpit.
Alpha layer added to interior texture to prevent panel showing through seats / yokes.
Interior texture duplicated and mapped to panel only to allow panel to show.
Front seats moved slightly inboard.

Landing light pair added to port wing texture.
Alpah layer added to wing texture to prevent panel showing through.
Texture remapped to Flaps (no shows ribs again).
Wing strut outer joins brought inboard to point of wing taper to match real aircraft geometries.
Wing struts thinned in front profile and thickened in side profile.
VHF aerials moved aft to their usual position.
Maingear legs altered so they now join with the fusealage (previously, 20cm gap)
Rear window altered slightly to match silouette.

Rear (white) Navigation Light made to translate with the rudder.


Not yet done: independant landing and taxi lights on port wing
2004-12-25 16:47:14 +00:00
curt
a355aa410d More /radios -> /instrumentation property name changes. However, we are still
missing something because the nav1 and nav2 are still inop.
2004-12-04 20:37:04 +00:00
curt
69956c445c Missed some instrumentation overall changes. 2004-12-04 20:08:37 +00:00
curt
789560ea22 Roy Vegard Ovesen:
I've finished the emigration of the radiostack, and I've also removed it
completely. It turned out that the comm radio is completely implemented in
the ATC subsystem. I've changed the affected ATC files to point
to /instrumentation/com, but I guess that the maintainer of the ATC code
should decide wether to make it configureable, and how.

I also had to change some files in Network and Main. The changes in network
should be obvious, but the changes in Main were a bit suspect. The files
included radiostack.hxx, but they weren't directly depending on
radiostack-hxx. They were depending on other files that were included by
radiostack.hxx. I got it to compile, but I'm not sure if I included the
correct directly depending file.

For the data directory I changed every occurrence of /radios/
with /instrumentation/ with this simple one-liner that I found on the net:

find -name '*.xml' -type f | xargs perl -pi -e
's/\/radios\//\/instrumentation\//g'

Instead of me sending all the files that got changed by this I suggest that
you execute the one-liner yourself. Of course I can not guarantee that this
will work perfectly, but I considered hand editing to be not an option (I'm
lazy). I don't want to test every aircraft to see if everything still works,
I think it's better to wait and see if anyone complaints about broken nav
radios/instruments.
2004-12-03 21:25:48 +00:00
curt
71bfe3a4db Move the kr-87 adf from /radios to /instrumentation 2004-11-19 23:56:47 +00:00
curt
c93544468d Changes to match Roy Ovesen's instrumentation code and property name changes. 2004-11-19 23:05:07 +00:00
ehofman
93433d7c56 Roy Vegard Ovesen:
The KAP140 Autopilot is now fairly complete. I've added altitude arm, moved
the FPM number display and cleaned up the code a bit.
2004-11-01 09:34:16 +00:00
ehofman
a942ce005a Add some status levels 2004-10-28 11:44:46 +00:00
ehofman
661617a94e Roy Vegard Ovesen:
I've made an encoder and a transponder. The transponder gets C-Mode altitude
information from the encoder. These two might not be very usefull right now,
but I think they might come in handy when the ATC network gets going.
2004-10-26 12:06:13 +00:00
ehofman
8ee606eea8 Roy Vegard Ovesen:
Here are some updates to the KAP140 autopilot in the default c172. It now uses
ailerons and elevator instead of aileron-trim and elevator-trim. I've started
to "upgrade" it to the "two axis altitude preselect" version. Vertical speed
select rounds to nearest 100 fpm.

I've also modified the c172 electrical configuration to turn on the gps
instrument.

Perhaps the most important change is that the nasal script for the KAP140 has
moved from data/Nasal to the c172p aircraft subdir. So it is important that
you delete data/Nasal/kap140.nas. Having the kap140.nas script as a global
script was not a good solution. Now it is aircraft specific, and thus
included in the c172p-set.xml file. Ideally I would like it to be instrument
specific, so that it would be included whenever the KAP140*.xml instruments
where included on the panel.
2004-10-17 17:41:05 +00:00
ehofman
ff4e599eb0 Roy Vegard Ovesen:
Instrumentation and systems are now configureable from xml files. The two
generic configurations generic-systems.xml and generic-instrumentation.xml
configures the systems and instrumentation as it was hardcoded. You can
override the generic configurations in a similar way as you override the
autopilot configuration.
2004-10-16 12:37:46 +00:00
ehofman
f6891e780a Frederic Bouvier:
the crease patch by Mathias has a negative impact on the adf present in the piper pa28-161 and the bo105.
2004-10-14 09:24:34 +00:00
ehofman
d57e589fde Melchior FRANZ:
All necessary elements for an ADF gauge had been migrated from
Cockpit/kr_87.cxx to Instrumentation/adf.cxx. Migrating the sound
related elements was apparently planned, but not done yet. This
intermediate state broke the ident morse sound: it couldn't get
turned off and it always indicated "SF", regardless of the tuned-in
frequency. The following patches continue the migration:


adf-radio.diff     => Base/Aircraft/Instruments/adf-radio.xml:
---------------------------------------------------------------
* sets maximum volume to 1 (rather than 2); Not only is 1
  loud enough (and 2 unpleasantly noisy), it also prevents
  the knob from being turned to non-existant positions.  :-)
* fixes wrong use of /instrumentation/adf/ident
* the voice/ident selector(?) remains unchanged, but as it's
  not switched to "IDENT", there'll be no ident sound by default
  this is consistent with other sounds and DME.


radiostack.diff    => src/Cockpit/radiostack.[ch]xx:
---------------------------------------------------------------
* comment out use of FGKR_87 class. kr_87.[ch]xx is now no
  longer used. kr-87adf.xml would no longer work, either, but
  isn't used anywhere, anyway. Future adf radios have to use
  the adf instrument, using xml/Nasal for specific hardware
  implementation details.


adf.diff           => src/Instrumentation/adf.[ch]xx:
---------------------------------------------------------------
* adds ident morse sound capability using two new input
  properties:
  - /instrumentation/adf/volume-norm  (double)
  - /instrumentation/adf/ident-audible  (bool)
2004-08-19 11:55:18 +00:00
ehofman
0b4ffa7117 Reorganize the 172 types a bit so they all reside in the proper directory. This solves some problems for JSBSim which couldn't find it's configuration files in the right places (which was temporarely solved by duplicating the file) and fixes some refferences to other files (at least, that's the idea). 2004-08-17 09:23:52 +00:00
ehofman
0e228261dc Some updated files per request of David Culp. 2004-07-03 11:13:09 +00:00
curt
db86fe1efd Slightly enlarge annunciator background size. 2004-06-23 16:18:46 +00:00
ehofman
e8adb7d0c8 Sync w. JSBSim CVS 2004-06-14 11:41:36 +00:00
ehofman
d6467f3ad4 Okay, maybe it was a good idea to assume that not all targets are target[0]. 2004-06-11 17:19:59 +00:00
ehofman
36abb08074 Revert to the previous version, after one target disappeared, they all disappeared. This version doesn't have that problem. 2004-06-11 13:59:40 +00:00
ehofman
ec8b3e7c14 Make use of the new radar/in-range property 2004-06-10 19:14:42 +00:00
curt
5f3a956f82 Electrical system output to hsi is a floating point value, not a boolean. 2004-06-05 03:51:33 +00:00
ehofman
f1a61549a5 David Culp:
Here's some new AI stuff.

1)  AI objects must now be defined in a scenario file, not in preferences.xml
or a *-set file.  (Of course this doesn't prevent objects from being created
dynamically, as with Durk's traffic manager).

2)  A new demo_scenario file is attached.  It creates 3 aircraft, a sailboat,
and a thunderstorm.

3)  Objects without flightplans live forever.

4)  FGAIShip::ProcessFlightplan() is not yet implemented.

5)  preferences.xml should now define only <enabled> and <scenario>
2004-05-29 11:41:20 +00:00
curt
2af0a69765 Property /sim/sound/audible renamed to /sim/sound/pause
Individual aircraft -set.xml files shouldn't set global sound/volume
properties for the entire application.
2004-05-14 15:54:22 +00:00
david
72777e70cc Light AI (again). 2004-05-08 02:17:38 +00:00
curt
8ab947db84 Roy Vegard Ovesen:
Here is the KAP140 Two Axis Autopilot update.

I think it's fairly complete now, all the modes are working. I tested the
localizer and glideslope hold and it was pretty stable all the way down to
the middle marker.

In the pilot guide for backcourse hold (REV) mode it says to reset the heading
bug to the _front course_. I haven't figured out how to implement this so for
the time beeing one should reset the heading bug to the _backcourse_. Apart
from this the panel should operate identical to the way the pilot guide
describes.
2004-04-16 22:14:00 +00:00
curt
0dda4feaa0 Roy Vegard Ovesen:
Here is the KAP140 Two Axis Autopilot.

Aircraft/Instruments/KAP140TwoAxis.xml
Is of course the instrument config file.

Aircraft/Instruments/Textures/KAP140.rgb
The texture.

Nasal/kap140.nas
Most of the work is done here. Without Nasal I don't see how I could implement
the NAV-ARM modes and the flashing annunciators.

Aircraft/c172p/Systems/KAP140.xml
The autopilot PID controllers configuration file. Maybe this file should be in
a more accessible directory and not hidden deep inside c172p!?

I've also attached the changes to the default C172 to include this autopilot
in the 3d-cockpit panel and the 2d vfr panel. Or at least I hope that I've
managed to include all that is needed.
2004-04-16 21:59:51 +00:00
ehofman
a3381b7e41 Oops, follow the default naming convention 2004-04-07 11:56:33 +00:00
ehofman
82addb59e1 Move the switches to the controls subdirectory and add some default knobs 2004-04-07 11:54:11 +00:00
ehofman
41eb331912 Frederic: Real ufo are spinning, aren't they? I am sure they are. 2004-04-03 09:01:45 +00:00
curt
dc1197e2b2 Update various electrical system configurations to reflect code changes
supporting a per engine master alt/bat switch.
2004-04-02 16:22:55 +00:00
ehofman
85cb214a18 Frederic Bouvier:
this one missed the release  The right aileron animation of the
c172p is inverted.
2004-03-30 08:32:42 +00:00
ehofman
61b688906f Add a missing file. 2004-03-22 10:04:48 +00:00
jimw
882c740c8f Add a generic vertical speed control. Power up the gps. 2004-03-21 22:17:09 +00:00
ehofman
c789b13e23 David Culp:
Add a "minimize" button to the radar screen.  It will default maximized.
2004-03-20 22:34:30 +00:00
david
c85990a796 Fix the AI a bit, and move it forward in the Warrior panel. 2004-03-20 16:40:17 +00:00
ehofman
05125e7a38 Add a bunch of 3d switches. 2004-03-19 09:57:01 +00:00
david
c425703651 Use only two top-level configuration files:
--aircraft=c172p
  --aircraft=c172p-2dpanel
2004-03-18 03:37:14 +00:00
ehofman
b3600801da The result of being bored for 15 minutes. Lets call it an easter ufo. 2004-03-17 15:32:53 +00:00
david
b5006ad7c6 Convert from grayscale to RGB so that alpha transparency will work
with plib.
2004-03-13 02:44:32 +00:00
ehofman
217dcb38fa David Culp:
Add clickable range selection for the radar and wxradar.  Right
now it is clickable only between 20 and 40 mile ranges, which should work for
most uses.
2004-03-12 15:06:04 +00:00
ehofman
b8eebf3e0c David Culp:
OV10-jsbsim-set.xml  has many changes.  It creates a thunderstorm over
woodside VOR.  It removes the lowest cloud layer so that the storm can be
seen.  It sets the surface wind speed to zero, which may help stop the
"drifting left" complaints. It sets the radar range to 40 miles.


The weather radar instrument is corrected.
2004-03-12 10:15:51 +00:00
david
c706eedf11 Illuminate the VOR heads and the ADF needle. 2004-03-11 14:37:03 +00:00
david
5f815ff011 Added a 3D EGT gauge, calibrated from 0 to 500 degF (for now).
Lightly lit.
2004-03-04 22:22:53 +00:00
ehofman
26761349ae Restore the pa28-fuel-oil directory again 2004-03-03 22:32:33 +00:00
ehofman
b1f694cec0 Add a weather radar display instrument which treats every AIAircraft as a thunderstorm right now. 2004-02-28 12:17:00 +00:00
david
779116ab4f Lower the resolution of the textures (they were gratuitously high,
sometimes up to 512x512).
2004-02-27 18:49:08 +00:00
ehofman
b5b60a65d7 Add support for a storm blib 2004-02-27 13:48:24 +00:00
ehofman
e4faabff78 David Culp:
The radar instrument uses the above three items, and applies a scale factor to
the x-shift and y-shift in order to match the instrument's scale.  Changing
the display scale can be done entirely in the XML code for the instrument.
Right now it's set up only to display a 40 mile scale.

The radar is an AWACS view, which is not very realistic, but it is useful and
demonstrates the technology.  With just a little more work I can get a HUD
marker.  All I need to do there is make a bank angle adjustment to the
current values.

This works great with one target.  For two or more targets the radar
instrument will have to know the numbering of the aircraft model properties.
This isn't implemented yet.

David Culp:
I couldn't stop.  Here's a better radar instrument.  It has:

1)  range select knob 20 and 40 nm (not clickable.. yet)
2)  target altitude readout at lower right
3)  target disappears when range exceeds 43 nm
4)  range ring values now are read from instrumentation/radar/range
5)  instrumentation/radar/range is preset in the *-set.xml file to 40 nm

The next step would be a clickable range selection.  The problem here is that
the instrument currently displays the "blip" only if the target's range is
less then 43 nm.  If the range scale is decreased to 20 nm, then the "blip"
will show past the edges of the instrument.  I might need to make another
instrument for the 20 nm scale to make that work.
2004-02-27 10:22:23 +00:00
david
cb2acf8724 The VOR head is now mostly functional: the needles and the outer ring
move properly, but the flags are not yet implemented.  Currently, the
head is hardwired to the NAV1 radio.
2004-02-24 03:14:08 +00:00
curt
29dbe6d379 So far I haven't been able to make the new PID algorithm work well for
tasks that should be purely proportional.  So I added support for my old
ultra-simplistic PI controller.  This does wonders for stage #1 of the
altitude and AGL hold.
2004-02-23 02:05:21 +00:00
david
94efbd6fad Standalone internal 3d mag compass unit (may be fit into different
casings).
2004-02-22 19:30:34 +00:00
david
a45edc154d Fix alpha problems. 2004-02-22 17:50:23 +00:00
david
208f900de8 Fix texture name. 2004-02-21 22:25:17 +00:00
david
3df160072f Added a KX170B (King NavComm) faceplate; nothing else, yet. 2004-02-21 18:28:11 +00:00
david
0c6719165e Added more detail to the ADF, including face markings. 2004-02-21 18:27:38 +00:00
david
30dfcfe1e3 Animate the analog clock. 2004-02-20 17:39:41 +00:00
david
a251221a63 Add the tilting plane. Unfortunately, it is having some kind of alpha
problem.
2004-02-20 17:37:27 +00:00
david
39b7c1ddbd Start an analog clock (face only for now; not functional). 2004-02-20 03:00:42 +00:00
david
eb5c30bee5 Make instruments slightly emissive, for night flight. 2004-02-18 02:37:19 +00:00
david
9d0bba9848 Make instrument slightly emissive, for night flight.
Add front markings.
2004-02-18 02:36:54 +00:00
david
0644fdc4cd The AI is now fully function, except that the position bezel isn't
user-adjustable yet.
2004-02-16 18:29:51 +00:00
david
67da88632c Added altimeter needles (100's, 1,000's, and 10,000's).
TODO:

- Kollsman window and adjustment knob
- texture redesign
2004-02-15 13:46:48 +00:00
david
1f580c8abc Start on some basic 3D panel instruments. For now, just reuse
textures that are already sitting around for the 2D panel.

Many of the instruments are not yet functional.
2004-02-15 01:03:07 +00:00
ehofman
a724d92bd4 Add support for a Visual Reference Point 2004-02-14 10:19:25 +00:00
curt
a180a0d659 Default autopilot tweaks. 2004-02-07 21:48:39 +00:00
curt
92f12971c1 Fixes to altitude and AGL hold modes. 2004-02-04 16:22:36 +00:00
curt
0edffe03ab Fix a small oops that didn't actually affect operation. 2004-02-03 19:28:39 +00:00
curt
9250e42c8a Initial revision. 2004-02-01 04:58:15 +00:00
curt
76a08b6467 Autopilot overhaul. 2004-01-31 19:55:13 +00:00
ehofman
6abd14667a Updates the the kr-87 ADF. Could someone confirm this is actually correct? 2004-01-24 10:09:54 +00:00
ehofman
d8adde1657 Use relative paths for the animations rather than absolute paths 2004-01-23 20:10:03 +00:00
ehofman
5d230c227b Use the new controlls property layout for external lights 2004-01-17 10:33:18 +00:00
ehofman
a409f14df0 Synchronize the JSBSim aircraft directory and FlightGear's Aircraft directory. 2004-01-15 09:56:37 +00:00
curt
f7c276944e 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:49:33 +00:00
curt
f38dc5c544 Remove several unneeded files. 2004-01-05 16:02:03 +00:00
ehofman
a628733581 Get back to normal life 2004-01-04 15:32:20 +00:00
ehofman
485d0d92d2 Add an appropriate splash screen 2003-12-24 15:12:45 +00:00
ehofman
e259a2589a Some small updates to the engine animation code 2003-12-24 14:56:17 +00:00
ehofman
741a659bfc Loosen up the engine a bit 2003-12-24 14:43:03 +00:00
ehofman
9048df30c6 Remove an unwanted 'S' 2003-12-10 10:51:30 +00:00
ehofman
0fbc35dd0e Adjust the maximum speed and chase-view distance 2003-12-10 08:53:37 +00:00
ehofman
3834bc4f96 Get ready for animations (if ever) 2003-12-08 20:50:05 +00:00
ehofman
4a20340e8e Add an appropriate engine sound effect 2003-12-08 18:06:15 +00:00
ehofman
14ad64676d Updates 2003-12-07 11:12:09 +00:00
david
24fe2ef1e6 Use the new ADF radio logic (unfortunately, it does not yet support
ident).
2003-11-25 19:38:57 +00:00
david
228f05d0a5 Remove the deprecated "INVERT" keyword. 2003-11-25 17:09:16 +00:00
curt
251ce01019 Omit a couple more items when "omit-knobs" is activated. 2003-11-25 01:53:08 +00:00
curt
ce50896308 Electrical system configuration updates. 2003-11-17 21:09:40 +00:00
david
90ee11dc27 Lit compass for night flying. 2003-10-17 01:20:00 +00:00
david
f3134efbc7 Lose the 2D mag compass, and use a new, 3D one instead.
Warning: this may look like crap without a plib patch.
2003-10-05 20:13:46 +00:00
david
f0623d893c 3D glareshield-mounted wet compass (typical mounting position for
single-engine Cessnas).

TODO: add support for dip.
2003-10-05 20:13:05 +00:00
ehofman
98b45006b8 Updated for the new hotspots by paul mccann 2003-09-22 08:27:30 +00:00
ehofman
8b726485c4 paul mccann:
I added some more hotspots to Davids c172p since he already had done all the animation. Also I tried making the throttle and mixture knobs into hotspots even when they are moving adding extra hotspots for them.  Also you can click on the trim wheel to trim now.

I added a directory for the labels for the white toggle switches, but there is probably better way to do the labels then I came up with.  There is a short readme file which gives the path for the new directory.
2003-09-22 08:26:32 +00:00
curt
98804a6793 Move *-set.xml and Aircraft-yasim/*.xml into their individual aircraft
subdirectories in yet another step towards making aircraft more self
contained rather than potentially spread out.
2003-09-20 03:57:12 +00:00
curt
788adc9e6b Move *-set.xml and Aircraft-yasim/*.xml into their individual aircraft
subdirectories in yet another step towards making aircraft more self
contained rather than potentially spread out.
2003-09-20 03:34:19 +00:00
ehofman
bd18398034 T-38 animation updates by Innis Cunningham 2003-09-19 11:53:15 +00:00
ehofman
a36046e73f Add contact points and reposition the 3d model a bit 2003-09-17 09:51:18 +00:00
curt
7598aca09f Bartosz Kosiorek:
Initial revision of a c182 with a 3d cockpit.
2003-09-16 16:04:14 +00:00
curt
ba40b30c8c Nudge the viewpoint forward just a bit which seems a little more realistic
relative to the position of the seat back.
2003-09-16 16:00:51 +00:00
curt
9dc782de3d Revert to previous version. 2003-09-15 21:16:03 +00:00
curt
93b035b0b0 Paul Mcann:
I added some hot spots to the default c172p-3d.
2003-09-15 15:40:26 +00:00
curt
a059fa0119 Paul Mcann:
Also I made some changes to the nav-com radio because I could not change
frequencies with it?
2003-09-15 15:39:48 +00:00
ehofman
26db1f002a Move the configuration files of the F-104, F-15, F-16, Fokker 100 and Fokker 50 into their own subdirectories 2003-09-15 14:27:45 +00:00
ehofman
bccd7d7f90 Add a missing file 2003-09-13 08:32:34 +00:00
ehofman
8d592cb9cc Sharpen a bit for readability 2003-09-12 21:46:24 +00:00
ehofman
7611338be3 Add blending animation 2003-09-05 13:58:54 +00:00
ehofman
72e8063d31 Add moving parts, 3d cockpit improvements, geometry changes and add a canopy 2003-09-03 13:03:47 +00:00
curt
31cdccdecf Lee Elliott:
Updates ...
2003-08-28 15:34:01 +00:00
ehofman
b20513a99a Add a 3D cockpit and some cosmetic updates 2003-08-26 14:42:17 +00:00
ehofman
3e825bf336 Add aircraft animations created by Innis Cunningham 2003-08-26 09:11:29 +00:00
ehofman
acfea63591 Add the J-22 from Matevz Jekovec 2003-08-25 16:50:33 +00:00
ehofman
ee0d1ce2f0 A first stab at an F-104 Starfighter model 2003-08-20 09:37:05 +00:00
curt
4a1761de5d Lee Elliott:
I've added reheat to the engines to simulate water injection and then tweaked
it so that it's just about possible to take off with the full fuel load/ferry
configuration (a little under the mtow - 420,000lbs vs 450,000lbs).

It's interesting to note that the normal combat tow for the F model was
291,570lbs - equivilent to a fuel load of about 0.46 (this would actually
leave you with more fuel than in real life because some of that weight would
be the weapons load but here it's fuel)

Anyway, I've added all this info to the readme and explained some of the
reasoning behind the fdm there.

It still doesn't reach the correct altitudes, and certainly not with a full
fuel load, but it starts getting into the right ball park at combat tow.

I've also replaced the transparent instruments on the mini panel with some
text/digital ones.  I wanted more accurate numbers when I was monitoring the
effects of fdm changes and the dials just didn't give the detail.  They
aren't perfect and be difficult to see against certain backgrounds and in
certain lighting conditions but what the hey - nearly everything I do is a
bit of an experiment;)

Something I've noticed is that since I've started identifying flight surfaces
and gear components individually I've noticed some problems with the flaps
and gear in replay.  I address the left and right flaps independently so they
have left&right-flap-pos-norms and don't get controlled by the replay
mechanism which must refer to the single flap-pos-norm.  There's a similar
thing with the gear - I have to identify them individually so I can animate
them properly so on the b52 there're six gear elements but only the first
three are actioned in replay.

Personally, I think that the only way around this will be to provide
control-overrides for all these items, much like there're the AP control
overrides for throttle etc.
2003-08-14 18:59:57 +00:00
ehofman
7fdfcb19dc Add movin surfaces 2003-07-29 09:58:31 +00:00
ehofman
0ba771b580 New twin engine turbo prop commuter aircraft: Fokker 50 2003-07-27 12:46:16 +00:00
curt
5c5e7c7689 Lee Elliott: b52 reorg. 2003-07-24 16:30:43 +00:00
curt
3cdcff8ee8 Lee Elliott:
The base a10 yasim config wasn't working because of the control structure
changes so I've fixed that.  The other yasim configs are also included
because I forgot to omit them from the archive but they're not updated or
changed.

All the a10 stuff needs badly re-doing though and it's a bit of a mess - the
yasim configs are all similar but I don't know which ones had Andy Ross's
mods.  I've also got to either forget the weapon load version or get it
working with weight entries so that the rest of the configs can be
indentical.
2003-07-24 16:25:24 +00:00
ehofman
22a5e23482 Commit a file that I missed last time 2003-07-24 15:22:30 +00:00
curt
49ac2602c3 Use a cub specific electrical system rather than a generic electrical system. 2003-07-24 03:12:38 +00:00
ehofman
aca03e374e Add some instrumentation 2003-07-23 16:50:10 +00:00
ehofman
35f16b50da Add a 3D cockpit. No instrument though. 2003-07-23 08:35:03 +00:00
curt
daf9ef0836 I've tried to organise everything that the yf23 uses into it's Aircraft
folder.  This has meant duplicating most of the instruments it uses but it
should be easier to maintain and once I've worked through all the other a/c
you'll be able to remove a lot of the cruft I'm responsible for in the
generic instrument folders.

The only files that now don't reside in the yf23 folder are the 'set' file and
the yasim config.

The stuff in this archive should replace the entire existing yf23 folder and
the two 'set' and yasim files (unless I've screwed up somewhere;)

There are some small changes to the fdm.

I also had this rather silly idea, so I had to give it a go;)  Have a look at
the ground below the a/c.

It doesn't track the Sun, of course, so it stays directly below the a/c.  It
just uses a couple of rotations to keep it flat, and a translation to keep it
on the ground.  It seemed strange curious that I had to use a translation
factor of 0.3 instead 1.0 to keep it in the right place.
2003-07-22 18:17:46 +00:00
jimw
7d8a00d069 Adjusted elevator adjustment factor in autopilot settings 2003-07-21 02:19:31 +00:00
jimw
e084d7e2a4 Autopilot adjustment. HUD off by default. 2003-07-19 21:41:11 +00:00
ehofman
242652e737 First Fokker 100 releae 2003-07-19 12:55:27 +00:00
jimw
017941c6c2 autopilot and view adjustments 2003-07-18 12:20:21 +00:00
ehofman
b607f3a135 Add David Culp's paraglider model 2003-07-12 13:17:57 +00:00
ehofman
cb58c64016 Use a common z-offset definiton for all external views 2003-07-12 13:10:56 +00:00
ehofman
d4520fd1e1 Add David Culp's SGS-126 sailplane model 2003-07-04 17:22:54 +00:00
ehofman
c300d98fc8 Use the right property 2003-06-28 21:46:15 +00:00
ehofman
4d4fef591b 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.
2003-06-27 08:45:35 +00:00
ehofman
c9ab961f68 The current heading mark is severely off. The AP's HDG Lock doesn't fly in this direction. 2003-06-22 08:29:40 +00:00
ehofman
249fe3fccb Add Frederic Bouvier's A320 model 2003-06-22 08:22:17 +00:00
ehofman
c18a2b580a The reported breakage of the hsi was caused by wrong lower limits. 2003-06-22 08:14:32 +00:00
ehofman
ce753093a2 Melchior FRANZ:
I'm not sure if I connected adf and dme to the correct bus, but it's time that c310s have them working. There was a temporary workaround in c310-ifr-set.xml, but not for the c310-3d (= c310u3a-3d), the plain c310 and eventually others.
2003-06-22 08:11:55 +00:00
ehofman
54d29a4a4f Fix the marker control light 2003-06-22 08:08:49 +00:00
ehofman
e367da16d2 Fix the path 2003-06-22 08:07:13 +00:00
curt
88b3a553d4 Lee Elliott:
Here's an update to the yf23.  I've added a couple of small details to the
model and played with the textures a bit:)  Still no response from the chap
at NASA about sticking their logos on it yet.

I've also been fiddling with the fdm.  It had been bugging me that I couldn't
find any sign of air/speed brakes but just recently I found that braking is
done by moving the ailerons up and the flaps down, in opposition to each
other, which I thought was pretty neat really.

This was actually pretty easy to mimic - although there are no spoiler
surfaces defined in the YASim wing entry I was still able to map the spoiler
control input to the ailerons and flaps, and once I'd got the directions
right it seems to work - hit the spoilers and the ailerons move up, the flaps
drop and the energy worm shows that I'm losing speed.

The downside is that the flaps and the ailerons have to have similar lift and
drag characteristics, to balance each each other, and this means that it ends
up with the flaps not giving much lift and the brakes not having much affect
at low speeds.  If I could change the deflection rates then I could balance
them that way (and improve the rudder control too) - as it is, the deflection
for the flaps and ailerons is the same, just in opposite directions.  This
sounds like a job for interpolation tables but I haven't tried them yet and I
don't know if I can use them in this way in YASim.

The opposing flap/aileron techique is also used for manuevering e.g. by using
it on just one side but I haven't tried to incorporate that yet;)

Landing it is proving to be tricky - it gets down smoothly to about 20ft then
what I presume is ground effect kicks in and upsets the trim.  The only
answer appears to be to force the nose down at this point.  What's more, it
needs to be held down untill you trim the elevator out otherwise it'll
happily roll along on it's main gear, with it's nose in the air:)  There's
definitely not enough drag either.
2003-06-12 02:27:15 +00:00
mselig
f8dcdaf8ca Changes chase view to look in the direction of flight, not the heading 2003-06-08 22:50:34 +00:00
mselig
033afdd627 Changes chase view to look in the direction of flight, not the heading 2003-06-08 22:39:28 +00:00
ehofman
dd18220d95 David Culp:
For the base package I have some more files for the JSBSim airplanes.  All of the main configuration files now have a rudder aerosurface scale component, so that rudders can be animated.  This was not on my earlier models.  I also put fuel in the tanks, even though this seems not to work yet.

Also attached are the -set files for all the airplanes.  They now all specify  a fuel load.
2003-06-08 11:13:52 +00:00
jimw
201e4c953b Changed to standard config file layout. Also default first stage booster
on for p51d-yasim.
2003-06-04 21:53:09 +00:00
curt
9b1e230b87 Lee Elliott:
I've been messing with the yf23 some more.  I think it flies a bit better now
and has more reasonable auto-pilot take-off characteristics - just apply full
power and go, and it doesn't go into such a steep climb.

Out of curiosity, I've also taken the rudder control input and linked it to
the stabilators/elevators and ailerons.  Now, with some slick joystick
manipulation it's possible to fly it at about 30 deg off-axis in more or less
level flight (actually, with full 'rudder' input, it looks nearer to 40 deg
to me and you end up tracing a very long curve).

If no rudder input is used it flies 'normally'.

I'd like to be able to 'tune' it so that it's more stable while transitioning
but I'm not sure if that's going to be possible.  It's also high-lighted some
problems I'm having with my Sidewinder joystick - when I use the rudder
control, the engine No.2 throttle jumps to 50% unless auto-throttle is
engaged (this also happens with the b52 too), and there seems to be some
interaction between the different axis if all three (roll, pitch and rudder)
are changed at the same time - difficult to be sure on that one though.

I'll probably un-map the throttle control from the joystick as I tend to use
the keyboard for engine control anyway, especially for landing.
2003-06-04 17:54:08 +00:00