1
0
Fork 0
Commit graph

183 commits

Author SHA1 Message Date
jimishol
fb6da32cec Fix in code definition of hpa.
In current code hpa is indirectly defined as 10^5 pascals.
The present commit indirectly defines it as 10^2 pascals.
2021-11-09 20:14:25 +00:00
Edward d'Auvergne
8b05c4b6e9 Removal of the unused executable bit from the single affected Aircraft XML file. 2015-04-29 17:47:05 +02:00
Hyde Yamakawa
a22b70ff87 CRJ700:Move navdisplay.xml to genelic and introduce the latest change 2014-03-25 19:22:47 -04:00
Gijs de Rooy
70a9b13f45 Issue 648: generic 2D autopilot panel bindings lead to old properties 2013-02-10 18:21:36 +01:00
ThorstenB
1d3df86609 #493: fix incorrect egt gauge scaling
Thanks to "lens".
2012-01-22 16:30:07 +01:00
ThorstenB
d6c7955f36 #493: fix incorrect egt gauge scaling
Thanks to lens@bitwisetech.com
2011-12-18 16:20:55 +01:00
ThorstenB
847e8a187f Fixed some file modes (non-executables) 2011-11-28 19:11:44 +01:00
ThorstenB
1a01f02f96 New FGPanel instrument panel: C172p Mini Cockpit
Also borrow some instruments from the SenecaII FGPanel project :)
2011-11-28 19:02:55 +01:00
ThorstenB
6760eae7b7 c172p: fix battery gauge scaling
(Preflight check - anyone? ;-) )
Also support "omit-knobs" property for HDG instrument knob
2011-10-08 11:48:01 +02:00
Dave Luff
0b84436d73 KLN89: Add action for photocell.
Let the user virtually cover the light-sensitive photocell by holding
the left mouse button down over it.
2010-12-05 23:37:31 +00:00
jmt
4678f67cb2 Initial work on standardising glideslope needle behaviour in aircraft. C172P works (including KAP140 APPR capture), and Primus-1000 based aircraft display correctly. 2009-09-09 10:49:36 +00:00
curt
dcb7d9427e Fix the glide slope unavailable/warning flag so it actually works correctly. 2009-04-22 18:15:41 +00:00
curt
6ab2bca4ef Add a variant of the high res c172 rpm gauge that includes a working
LCD hobbs meter (instead of the previous "static" hobbs meter that was pretty
but didn't ever change.)  This requires some aircraft specific nasal support
since the hobbs meter isn't implemented in the same way on every aircraft:

# initialize the hobbs meter and configure to save every 5 minutes
var hobbs = aircraft.timer.new("/instrumentation/clock/hobbs-meter-sec");
aircraft.data.save(5);
hobbs.stop();

setlistener( "/engines/engine[0]/running",
    func {
	var running = getprop("/engines/engine[0]/running");
	if ( running ) {
	    hobbs.start();
	} else {
	    hobbs.stop();
	}
    }
);
setlistener( "/instrumentation/clock/hobbs-meter-sec",
    func {
	var secs = getprop("/instrumentation/clock/hobbs-meter-sec");
	setprop("/instrumentation/clock/hobbs-meter-hours", secs / 3600);
    },
    1
);
2009-04-22 18:11:23 +00:00
curt
23e8a4004b Fixes to track recent development changes. 2008-10-30 19:20:19 +00:00
mfranz
c801bd4ab0 remove garbage 2008-08-18 09:19:25 +00:00
mfranz
04f9a0b2ea s/wxradar/radar/ 2007-07-02 06:03:45 +00:00
vmmeazza
f547f4188a Add clouds 2007-06-30 20:28:27 +00:00
vmmeazza
23bb26651d Alternative orange textures for the radar 2007-06-29 13:40:52 +00:00
vmmeazza
a28b48b294 prepare for new weather radar 2007-06-18 16:28:13 +00:00
mfranz
47ddb39e0f Roy Vegard OVESEN:
- Automatic pitch trim (use autopilot/KAP140/settings/auto-pitch-trim to turn
  on/off)
- Aural altitude alerter. Uses the same sound file as the stall warning.
- Replace custom flasher routines with nasal aircraft.light objects.
- Cleanup.
2007-04-26 18:04:51 +00:00
mfranz
66e53fb67f Csaba "Jester" HALASZ: radar fix & extension
- fix breakage due to former commit (AIManager.cxx, r1.72)
- make AI properties available in AIBase
- add <valid> property for animations/nasal scripts
- support more MP and AI targets
- add target select and altitude display
2007-04-04 09:51:39 +00:00
mfranz
813988f718 Csaba HALASZ: fix dme property name 2007-03-01 17:39:52 +00:00
mfranz
10efd065c4 Dave Perry & Roy Vegard Ovesen:
"This patch allows all the AC using the kap140 to use one kap140.nas
which includes Roy's move to "bool" values as well as the check for
power used by the pa24-250." (dp)
2007-02-04 12:55:28 +00:00
mfranz
0be35251ba add note about new dependency $FG_ROOT/Aircraft/Generic/annunciator.nas 2007-01-29 22:45:41 +00:00
curt
e7ba2d6a4b Properly line everything up visually so standard rate turns end up taking
the right amount of time.
2006-10-22 12:51:50 +00:00
vmmeazza
d6684074a3 Radar enhancement - now 'detects' the first 2 multiplayer targets. This is a temporary fix only pending a better implementation of radar. There is a known limitation: when a multiplayer conatact is dropped it will probably not be re-detected. 2006-05-16 16:37:57 +00:00
david
6e5e59be23 Updates from Dave Perry:
I missed a few things in the last patch.
1.  prop size did not match prop disc size.
2.  rescaled yoke to match measured yoke.
3.  messed up hot spots for heading indicator knobs when I tweaked the
panel last patch.
The fix that could not wait was #3, so I also re-textured the pilot head
with outdoor face photos.  Yep, that's my face.  The hair is now
textured also which looks better close up.
2006-03-27 11:50:57 +00:00
curt
a335e72a59 Fix the glideslope needles so they peg at +/- 0.7 degrees off course. 2006-03-13 20:19:06 +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
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
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
daveluff
674539a3cf Use middle click to pull/push the pull-to-scan middle knob 2006-02-03 20:58:47 +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
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
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
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
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
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
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
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