1
0
Fork 0
Commit graph

557 commits

Author SHA1 Message Date
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