1
0
Fork 0
Commit graph

18 commits

Author SHA1 Message Date
Torsten Dreyer
db38aa86e3 Add the new commradio system to the C172p 2014-03-01 20:16:38 +01:00
Torsten Dreyer
bb1443f96e c172p: magnetic compass tweaks
- add compass deviation table
- set compass "pitch" to compensate for wrong indication
2013-11-05 22:23:35 +01:00
ThorstenB
f5bfd65f72 c172p: use directional gyro for heading indicator
Also use c172-specific instrumentation list.
2012-08-23 21:54:05 +02:00
Torsten Dreyer
1fda9ca353 Adopt new EGT values to c172p and SenecaII 2011-07-21 23:01:38 +02:00
Torsten Dreyer
7f6bdf9ebd C172P: Add EGT gauge (bug#24) 2011-07-20 19:34:21 +02:00
Stuart Buchanan
e47c8d46fc Partial fix for the c172p autopilot, exposing possible textranslate bug.
See bug #340.
2011-07-04 20:26:12 +01:00
Torsten Dreyer
3c20f3b38c Fix bug #287: gyro correction ignored by autopilot
The generic-autopilot-helper computes heading-bug-error from
magnetic heading, not indicated heading. This patch corrects
this by pulling the two used generic helper filters into our
own config (so the generic-ap-helper.xml can go away).
2011-04-17 14:57:13 +02:00
Dave Perry
869ad48f28 1. Changed from nasal asin and acos to interpolation gear scisors animation for pa24 and pa28. Also changed from nasal filters to pseudo autopilot xml filters for nav0 and nav1 cdi and gs needle animations.
2.  Corrected c172p nav0 and nav1 cdi and gs needle animations by adding generic-autopilot-helper.xml per Torsten's hint.
3.  Changed main gear compression animation computation from nasal to interpolation xml.
2011-02-18 16:31:08 -07:00
Dave Perry
08463481c9 c172p updates
removed action-sim.nas
+ nose gear scissor animation computation now via interpolation xml
+ main gear rotation due to compression now via interpolation xml
+ moved NAV0 and NAV1 needle deflection filters to pseudo-autopilot xml
+ moved pannel and instrument lights control to light.nas
+ the remaining tank setlisteners are now in tank.nas

pa24-250 updates
+ landing light animation now modeled after pa22 landing lights
2011-02-13 14:19:17 -07: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
martin
3831675000 Dave Perry:
Changes:
1.  remove typo from all the /Systems/KAP140.xml files
2.  changes to put radio_stack in Instruments-3d
3.  Add "pick" to vor, alt, hi, in Instruments-3d
4.  changes to pa24-250 and pa28-161 to use 2 and 3.
5.  add "pick" and "2d text in window" in 3d OAT in pa24-250
2007-02-10 21:24:46 +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
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
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
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
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