Fixed c172p and pa28-161. Zlin50 has not been fixed, but appears to have the same issue.
Clean-up of the KAP140s required - none use the Instruments-3D version of the model!
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).
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.
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
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.
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.
-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...
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
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.
- 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.
"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)
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.)