1
0
Fork 0
Commit graph

34 commits

Author SHA1 Message Date
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
Dave Luff
b8da4fddd5 Cleanup: replace some non-printable junk characters with spaces 2010-11-14 20:56:37 +00:00
stuart
44b4a4ea5f Various C172P updates
- Engine sounds copied from c182
- Disable callsign display on the default livery
- Add working pedals
- Minor model tweeks (remove gaps, fix landing light)
- Add induced drag in ground effect
- Fix carb heat animation (out for on)
2009-12-06 19:12:23 +00:00
stuart
2742e24743 Updated help text for the c172p. 2009-11-22 23:03:07 +00:00
jmt
9987224de8 Dave Perry:
The attached patch adds "Hide yoke" to the c172p menu, adjusts the gear spring forces and damping to cause a more tail low attitude sitting on the ground, optimizes vertices and surfaces in c172p.ac,  as well as cleaning up the tabs and indents in several xml files.
2009-11-19 22:35:43 +00:00
jmt
42832d3e79 From Dave Perry:
Patch goals:
1. Implement instrument and pannel lights controled by the nav-light switch.
2. Use Instruments-3d/vor which includes GS flag and filters for smooth movement of cdi and gs needles to and from parked position.
3. Adjust model and pilot view per the agreed to changes in Re: [Flightgear-devel] c172p pitch at cruise question, 12/06/2008 02:27 PM.  These changes were never committed.
2009-11-18 20:35:40 +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
stuart
997cbfc50a Split up tutorials into separate files, and add new tutorials for the c172p. 2008-12-31 16:25:45 +00:00
torsten
748ad889d4 Provide a proper(?) initialization of kma20 switches. 2008-12-12 10:58:26 +00:00
torsten
80268b4b48 - Added new intrument: ki266 dme indicator 2008-12-05 19:54:50 +00:00
martin
922a09ebcf Heiko Schulz:
-new better panel
-added lights and made them switchable
-doors can be open now (pick animation)
-added some liveries by Brett Harrison
-added paintkit by Brett Harrison
-converted liveries to png
-replaced radio stack with 3d-radios, DME and marker-lights yet missing
-minor bugfixes
-added glass shader with fresnel effect

still work on the interior to do like the seats, walls and so on...
2008-12-04 22:44:18 +00:00
mfranz
8d9eb9190e initialize /sim/model/livery/file so that it gets sent via MP 2008-11-18 18:36:20 +00:00
martin
5558852110 Unify line endings 2008-10-11 23:17:23 +00:00
martin
f30e034e55 Heiko Schulz:
A big step at bringing the default aircraft into the state it actually
deserves.

Features:
- new, accurate exterior modell, modelled with original 3-views by Cessna
- textures with shadow shading
- livery changing sytem over mp
- immatriculation over mp
- glass shader with fresnel effect
- nearly complete 3d-panel

Known Bugs:
- Radio_Stack shines through the fuselage. New 3d radio_stack has yet to be done.

To-Do:
- Suction-Instrument
- Interior with much more details and painting
- Radio_stack
- doors openable
- lights
- fully animation of the gear
- failure system by Erobo
2008-10-11 21:50:45 +00:00
torsten
e8de9bda15 Ron Jensen:
This is a patch to the c172p fdm to add pointmasses for all four
occupant positions and baggage.  The X locations were taken from the
c172 type certificate 3A12 dated September 15, 1998.  As the new
pointmasses have a weight of 0 they will not affect the current model,
however we are extending the FlightGear weight and balance dialog for
JSBSim and the pointmasses have to be defined.
2008-09-01 15:14:33 +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
7f375cf76c s,/sim/tutorial,/sim/tutorials, 2007-03-24 13:32:15 +00:00
mfranz
4762fb1db9 use self-closing tag instead of empty tags 2007-03-22 22:44:00 +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
ceeb9503f8 Stuart BUCHANAN:
Nasal/XML based tutorial system
2006-02-22 17:03:42 +00:00
curt
72e1e46116 Convert the c172p and c172r to use the new nasal electrical system. 2005-06-14 20:58:07 +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
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
jimw
7b3b826042 Author tags 2005-01-18 03:11:34 +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
ehofman
a942ce005a Add some status levels 2004-10-28 11:44:46 +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
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
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
david
c425703651 Use only two top-level configuration files:
--aircraft=c172p
  --aircraft=c172p-2dpanel
2004-03-18 03:37:14 +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