1
0
Fork 0
Commit graph

165 commits

Author SHA1 Message Date
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
ehofman
6abd14667a Updates the the kr-87 ADF. Could someone confirm this is actually correct? 2004-01-24 10:09:54 +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
david
24fe2ef1e6 Use the new ADF radio logic (unfortunately, it does not yet support
ident).
2003-11-25 19:38:57 +00:00
curt
251ce01019 Omit a couple more items when "omit-knobs" is activated. 2003-11-25 01:53:08 +00:00
ehofman
98b45006b8 Updated for the new hotspots by paul mccann 2003-09-22 08:27:30 +00:00
curt
9dc782de3d Revert to previous version. 2003-09-15 21:16:03 +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
8d592cb9cc Sharpen a bit for readability 2003-09-12 21:46:24 +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
c18a2b580a The reported breakage of the hsi was caused by wrong lower limits. 2003-06-22 08:14:32 +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
1b107b3530 Point vacamp.xml at new suction model. 2003-05-28 21:06:30 +00:00
curt
4667e2f9f1 - Make hi-res c172s instrument knobs drawn conditionally.
- HSI GS needles shouldn't disappear when they hit their limits, only when
  there is no GS signal.
- Make vac/amp gauge driven by new minimalistic amp model.
- Update digital clock face color to look more "LCD-ish" based on a real
  C172-S cockpit photo.
- Add an OAT gauge to the old C172 2d panel.
2003-05-27 19:58:52 +00:00
ehofman
6e4c38213e paul mccann wrote:
Hi I fixed the heading bug on the hsi2 and made some changes to the c310-ifr so the adf and dme work.  Just temp fix for those.
2003-04-20 10:05:20 +00:00
ehofman
7c3394b167 Some additional updates for the controls change 2003-04-01 17:51:22 +00:00
david
8118e6a482 Fix to use renamed /control properties. 2003-04-01 15:46:50 +00:00
ehofman
759d86d947 Updates to refelect the controls update of FlightGear. It could be there are a few unupdated controls left. To simplify the transisition there is a file called README.properties in the docs-mini directory of FlightGear that explains the new controls layout. 2003-04-01 12:41:12 +00:00
curt
a39895565d Tweaks to the c172 egt and hsi instruments. 2003-03-29 02:25:58 +00:00
curt
99010b1a22 Martin Dressler:
Added a new hi res bendix-king HSI.
2003-03-21 15:52:01 +00:00
j4strngs
c3500b4db9 Updated HSI from Paul Mcann 2003-03-20 01:36:52 +00:00
david
426631620a Use the new DME support under /instrumentation/ instead of the old
support under /radios/.

The display now goes dark when the switch is turned off.

The switch position is now handled entirely within the XML -- the C++
code is generic, so that other DME receiver types can also be
modelled.
2003-03-09 04:13:18 +00:00
david
b6d3f56829 Modified to work with changed "switch" layer. 2003-03-09 03:41:48 +00:00
curt
f506ea3fc3 Oops, fixed the "on" indicator to be driven electrically as well as the "off"
indicator.
2003-03-07 17:16:11 +00:00
curt
9ef922266e Martin Dressler:
New *high* fidelity C172-S ADF and VOR1 and VOR2 instruments.
2003-03-07 15:06:00 +00:00
curt
bbcd133e9a Martin Dressler:
Hi-res C172-S ADF and VOR textures.
2003-03-07 15:05:10 +00:00
curt
5f2d105e3b Lee Elliott:
Fix the AoA intruments to point to /orientation/alpha-deg instead of the
old /velocities/alpha-deg
2003-03-07 14:40:21 +00:00
curt
dafcf3416d Revert to original RPM gauge. If you want to use the new one on a panel,
refer to rpm-c172s.xml.

Curt.
2003-02-16 20:48:33 +00:00
curt
002b4be49e Missed one instrument. 2003-02-16 20:42:02 +00:00
jimw
0ca7d15aef Fixed texture mapping for needle 2003-02-16 16:46:14 +00:00
curt
4f55e5e810 Updates to the C172-S instruments and some renaming. 2003-02-10 18:45:56 +00:00
curt
7ca3a97f3d Paul Mccann:
I did simple gear handle for the c310-ifr panel if you or any-one want to use
it.  It should work on any of the 2d panels.
2003-02-07 17:33:28 +00:00
curt
bdf0f8a5af Fixes from Lee Elliott. 2003-02-06 20:42:06 +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
david
d7150e30b5 Improve viewpoint on Cessna 310.
Add ASI with decals for 310-specific airspeeds.
2003-02-03 16:48:15 +00:00
curt
f1e0041875 Added Hi-res C172-S DG, VSI, and RPM gauges. 2003-02-01 02:30:16 +00:00
curt
4fb07113e3 Updated instruments from Martin. 2003-01-30 21:28:15 +00:00
curt
41ec7fcd84 New hi-res attitude indicator and turn coordinator instruments based on
C172-S photos by Martin Dressler.
2003-01-29 15:03:29 +00:00
j4strngs
31b961fd2c Tidy up the hotspots a bit. 2003-01-27 01:32:46 +00:00
david
c4af6e3ccc Replaced /steam properties with new /instrumentation properties. 2003-01-26 16:45:41 +00:00
david
5875d5b063 Use the /instrumentation properties instead of /steam. 2003-01-25 21:15:27 +00:00
curt
191433e9b4 Lee Elliott:
Updated these instruments to point to the correct texture.
2003-01-22 19:56:51 +00:00
david
f026a4db74 Patch from Julian Foad:
OK -- thanks.  I have now fixed up all the other XML files in the base
package that use "max" and "wrap".  Those affected are all in
Aircraft/Instruments/.  In these files I have also corrected the
indentation in some places, and corrected the frequency controls in
nav3.xml (which does not seem to be in use), and corrected a few obvious
hotspot position bugs.  Where the radios used wrapping to toggle the
ident button between 0 and 1, I have changed this to use
"property-toggle" instead.
2003-01-19 22:00:08 +00:00
curt
3c779c032d Lee Elliott:
[ In support of the TSR2, SeaHawk and A-10 ]

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:31:36 +00:00
david
1452df9210 Patch from Julian Foad to fix wrapping behaviour for property-adjust
and property-multiply.
2003-01-04 18:54:25 +00:00
j4strngs
7038d5dd13 . 2002-12-30 21:59:43 +00:00
david
f051bfcc49 Modified so that the integer and decimal parts of frequencies are
controlled separately, and COM uses the correct range.
2002-12-30 19:48:04 +00:00
david
754cca868d Changed to use the new mod-up support for panel mouse actions. Now,
you simply click with the left mouse button to advance to 'both';
after that, if you click again, the start engages until you let go of
the mouse button, at which point the knob snaps back to 'both'.
2002-12-28 19:10:41 +00:00
j4strngs
84d494fa94 New HSI from Paul McCann 2002-12-28 00:48:31 +00:00
j4strngs
056dff7dee Fixes from Julian Foad:
- makes instrument knobs turn at a realistic rate
- removes redundant <min> and <max> specifications*
- corrects the indentation to reflect nesting depth
- corrects some descriptive names

* E.g. if the gyro compass heading is 365, there's no point clamping the
value to 360 before drawing it.  Just using the given value is more
likely to be right - or, if it's wrong, at least we won't hide the bug.
2002-11-10 20:44:17 +00:00
j4strngs
4da258be05 The adjusting knob has slow (left mouse button) and fast (right mouse
button) modes.  Due to a typo in altimeter.xml, one direction of
adjustment with the left mouse button was giving fast changes.

Simple patch attached.

- Julian
2002-11-05 00:24:01 +00:00
j4strngs
7d224e6820 The new led font is now antialiased (`a la Andy) and has
twice the design size (character height) of the old one.
Advantages:
- displays . and : correctly with less space around, and digits
  with more space around (using Andy's improvements to plib)
- small text becomes much more legible (-> clock, AP-altitude)
- the font contains pretty much every character that can be
  displayed on a seven segment display, so it might be more
  useful for future instruments.
2002-11-02 00:23:46 +00:00
david
d1596cd80e Make knobs work on the standby frequency rather than the active
frequency.
2002-10-25 22:16:57 +00:00
curt
d4d5ad1d5d Set aileron trim to 0.0
Rescale TC ball movement for hi res instrument.
2002-10-16 03:17:19 +00:00
david
47ce58e5d4 New pitot system and airspeed indicator. 2002-09-28 20:49:56 +00:00
david
1d1770c43f Modifications to support new VSI and HI models in FlightGear. 2002-09-27 22:00:02 +00:00
david
3b85be3398 Modifications to support new altimeter and static port models in
FlightGear.
2002-09-27 18:26:42 +00:00
curt
da20738864 Update the hi-res attitude indicator to also use David's new vacuum driven
system.
2002-09-25 21:58:20 +00:00
david
9979de52f5 Support new attitude indicator with spin-down. 2002-09-24 16:39:53 +00:00
curt
a6eca0a3e9 Make adf power on/off a seperate property. 2002-08-29 02:18:36 +00:00
curt
c3c953a070 Hi-res versions of altimeter and airspeed indicators from Martin Dressler.
Use Martin's needle for hi-res rpm and vsi gauges.
2002-08-22 17:38:35 +00:00
curt
771cba4a0f Hi-res attitude indicator from Martin Dressler. 2002-08-22 16:57:36 +00:00
curt
1a7d04f303 Working on creating some hi-res version of the basic instruments. 2002-08-22 16:28:11 +00:00
j4strngs
e08a89a37c King KR-87 ADF radio markup
It's a little funky to use right now because
the FRQ and timer buttons should be momentary action.
As it stands you need to do 2 clicks to send on/off.
If anybody can think of a workaround, we could use one.

For now the ADF and BFO buttons just toggle the
annunciators. For ANT mode, I just need to wire up the
ADF needle.

Two clicks on FRQ flip flops the selected and standby
freqs.
Two clicks of FLT/ET will change the standby display
to timer mode and another two will flip between
FLT and ET. If you click and the annunciator flashes
briefly but the display does not change, you need
to click FRQ -one time- to get the button in phase.

ET mode has a count down mode, this is where it really gets tricky.
On the real thing, you hold the SET/RST button for 2 seconds.
Here you must click one time, wait for the display to flash then
click one more time. Now you can set the time to count down.
Right clicking the dial will set minutes, middle click (I know,
I'll make it a keyboard modifier later) sets hours. As usual
the left side decreases and right side increases.
Once you have the desired time set, click the SET/RST button
twice in rapid succession. Two rapid clicks will reset the
elapsed timer when it's counting down, but also while you are
setting it (when display is flashing).
When the count down timer reaches zero, it starts counting up again.
It -should- flash for 15 seconds and set off a warning tone, but
for now it doesn't.

The unit is also equipped with an on/off/volume knob. Whne the
unit is powered down the timers are reset.

TODO:

Add labeling
Wire up ADF needle
Prettier face
2002-07-30 04:03:36 +00:00
j4strngs
b0e9bebdfc King KR-87 ADF radio texture 2002-07-30 03:42:41 +00:00
curt
60e61d8cac Updated glide slope neede so full deflection corresponds to +/- 0.7 degrees
of the glide slope.
2002-07-09 22:41:12 +00:00
curt
e5a77ccdb5 Updated adf property name. 2002-07-03 21:39:56 +00:00
curt
f4fc7844df Various property name changes corresponding to adf overhaul in code. 2002-07-03 21:38:14 +00:00
curt
c4e573ec58 Updates to adf property names. 2002-07-03 19:53:30 +00:00
curt
142df2295c Minor property name changes reflecting changes on the source code side. 2002-06-30 20:48:53 +00:00
aross
911b2e15ef Added an AoA indexer to the A-4 cockpit 2002-06-29 06:58:00 +00:00
aross
497056c36d Added max L/D, approach, and stall indications to the gauge face, and
rotated the background to put the approach AoA at the 3 o'clock position,
where the Navy says it should go.
2002-06-20 04:09:28 +00:00
aross
e21cb8ee04 An N1 tachometer, accelerometer, and AoA indicator intended for the A-4 cockpit. 2002-06-20 02:05:59 +00:00
jimw
bd67394792 asi 590 knot for a4c using Andy Ross's face texture 2002-06-20 01:48:21 +00:00
jimw
72c3e59a3e fixed compass rose rotation. 2002-06-18 02:05:51 +00:00
david
0b5fc21dcc Renamed property /steam/vertical-speed-fpm to /steam/vertical-speed-fps. 2002-06-05 20:41:32 +00:00
j4strngs
2e34702365 bound brake indicator to parking brake 2002-04-11 23:47:08 +00:00
j4strngs
27591fed86 New c310u3a panel by Jim Wilson 2002-03-22 01:23:34 +00:00
j4strngs
b49abb2b79 new turn coordinator tube n' ball 2002-02-22 00:26:13 +00:00
curt
246bd8f7db This one should use the LED font as well. 2002-02-20 04:07:56 +00:00
curt
20d0f8ea7d Update clock to use LED font now that Melchior has added a ":" to the
font.
2002-02-19 12:27:22 +00:00
curt
b3a6290fab Converted to LED font. 2002-02-19 04:20:06 +00:00
curt
64155f6531 Specify LED font for radio displays. 2002-02-19 02:43:28 +00:00
david
14680a0c80 Patch from Melchior Franz:
Since a while I get a line of black pixel garbage below the labels "WL" and
"ALT" on the autopilot. Does anybody else see this? (Or is it a feature of
my graphics card? :-)  The following patch fixes this for me.
2002-02-18 18:16:00 +00:00
j4strngs
ae0fd9eee1 toggle action on gear and brake indicators. Not realistic, but useful nonetheless 2002-02-14 06:09:47 +00:00
j4strngs
db2fd09489 Recrop button tops for floating gap at large resolutions 2002-02-09 06:20:03 +00:00
j4strngs
1318011737 Tighten up buttons 2002-02-09 06:14:05 +00:00
j4strngs
9c71600d1f Addition from Jim Wilson
Jim sez:

This file contains the xml and updated rgb for an APR button on the
 autopilot.  It can be used to lock on to the glide slope on an
 ILS aproach.
  As it stands now the NAV locks onto the NAV1 localizer and the APR locks
  on to the NAV1 GS (if it exists).  I think (and I'm not quite sure) that on a
  real autopilot (like the KAP-140) the NAV button will lock on to VOR signals
  and the APR is used for locking to localizer/ils for both axiis.  But without
   having a manual and knowing exactly how this should work, and making further
    changes to the autopilot code, this slight modification will make it easier to
     lock onto a glideslope on approach.
2002-02-09 03:18:52 +00:00
david
4b07041d15 Recalibrated to a more realistic range. Right now, JSBSim seems to be
outputting values that are far too high, but that can be fixed.
2002-01-19 14:47:46 +00:00
j4strngs
869702c4c5 Added visual morse ident status and volume indication 2002-01-19 05:23:22 +00:00
david
80b83ef603 Started new C182 panel with propeller knob and different-coloured
background.  It needs trim wheels (including rudder trim), etc. etc.,
and a different number plate.  Also modified 182 model to use a
different engine.
2002-01-14 23:02:41 +00:00
j4strngs
7d0324db2c 6kfpm Vertical speed indicator, suitable for 747 2001-12-28 03:32:47 +00:00
david
632ac25426 Starting a new instrument, Bendix/King KT 76C Class 1A transponder.
This is a typical transponder for a Cessna 172R.

So far, only the background exists, but it's useful for filling in the
empty slot on the panel.
2001-12-23 14:14:05 +00:00
j4strngs
670def1746 finish Dual EGT 2001-12-18 10:34:06 +00:00
j4strngs
f2d1cb5f27 Removed action for rudder trim. Mainly because there is no visual
feedback for trim position.
2001-12-18 09:07:45 +00:00
j4strngs
91de5d1cdb Clean up cropping on handle 2001-12-18 09:04:56 +00:00