1
0
Fork 0
Commit graph

1376 commits

Author SHA1 Message Date
Anton Gomez Alvedro
081602633a Basic unit tests for the failure management framework
Includes a simple automated testing framework for Nasal
(Aircraft/Generic/Systems/Tests/test.nas) and a collection of unit tests
for the failure manager, mostly for the different triggers.
2014-06-06 21:41:12 -05:00
Anton Gomez Alvedro
5df7a784e5 Failure Management Framework (1st milestone)
Replaces existing Nasal/failures.nas script with a programmable failure
manager. The failure manager allows dynammic creation and removal of
failure modes, on demand activation and a flexible set of triggers.
The public interface can be found in Nasal/FailureMgr/public.nas

Aircraft/Generic/Systems/failures.nas provides a library of triggers and
failure actuators ready to use for programming the failure manager.

A compatibility layer is included under
Aircraft/Generic/Systems/compat_failure_modes.nas.
This compatibility layer is currently loaded on startup and programs the
FailureMgr to emulate the former behavior (same set of failure modes and
compatible interface through the property tree).

This first milestone is only intended to replace the failure management
engine underneeth with minimum visible changes, and hopefully no aircraft
breakages. Future milestones will build upon this to add a Canvas based
procedural GUI and example integration on aircrafts.
2014-06-06 21:41:11 -05:00
Clément de l'Hamaide
b04ca4609a GPSmap196: work on page panel 2014-06-01 01:14:48 +02:00
Clément de l'Hamaide
ad83d7eff1 GPSmap196: add init helper 2014-05-16 21:16:07 +02:00
Clément de l'Hamaide
7606f2e285 GPSmap196: new panel SVG + improve 3D display 2014-05-16 20:18:25 +02:00
Clément de l'Hamaide
4422420a95 GPSmap196: working on Panel page 2014-05-16 11:14:28 +02:00
Clément de l'Hamaide
dab1cde0e9 GPSmap196: move Nasal from xml to nas file and use io.include() 2014-05-14 23:11:36 +02:00
Clément de l'Hamaide
2095d57971 GPSmap196: widget is working as expected and also 3d model 2014-05-14 19:58:59 +02:00
Clément de l'Hamaide
ce69c03793 GPSmap196: new version of svg widget 2014-05-14 11:01:37 +02:00
Clément de l'Hamaide
0180967468 GPSmap196: change canvas backgorund color 2014-05-14 10:48:41 +02:00
Clément de l'Hamaide
607e76e347 GPSmap196: work on the widget 2014-05-14 08:30:02 +02:00
Clément de l'Hamaide
9ac2fe4bad GPSmap196: more work on the widget 2014-05-13 12:34:28 +02:00
Clément de l'Hamaide
c08190919e GPSmap196: a sketch of garmin196 using canvas 2014-05-12 21:15:12 +02:00
Clément de l'Hamaide
5a5f02ca62 Garmin196: replace tab by space 2014-05-10 17:10:26 +02:00
Clément de l'Hamaide
84da078e69 Garmin196: use airportinfo() instead of hardcoded XML 2014-05-10 17:10:25 +02:00
Hal V. Engel
534d7d3b05 Lead computer updates. Mostly documentation improvements. 2014-04-29 13:18:03 -07:00
dfaber
6c826feb44 Walker: Milestone 4, selectable Equipment, more Characters, Non-Player Characters 2014-04-26 19:29:16 +02:00
Vivian Meazza
0a2702c375 Fix broken code
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2014-04-16 21:34:23 +01:00
Hyde Yamakawa
a22b70ff87 CRJ700:Move navdisplay.xml to genelic and introduce the latest change 2014-03-25 19:22:47 -04:00
Clément de l'Hamaide
798dad2549 Cap10B/C: move engine/prop to Generic/JSBSim/Engines 2014-03-12 21:04:52 +01:00
Anders Gidenstam
41965a8631 Moved two generic JSBSim systems from their aircraft into the shared directory. 2014-03-05 23:02:04 +01:00
Torsten Dreyer
db38aa86e3 Add the new commradio system to the C172p 2014-03-01 20:16:38 +01:00
Torsten Dreyer
6d9346bfa0 add comm radio subsystem to generic-instrumentation 2014-02-28 11:49:44 +01:00
Clément de l'Hamaide
28a983c0ad Update Help for UFO 2014-01-25 23:20:13 +01:00
Clément de l'Hamaide
346103ba22 Fix conflict Tab key vs cycle mouse mode 2014-01-16 19:11:58 +01:00
Emilian Huminiuc
7f183e0117 Remove intermediate quality settings from the ubershader. Fix a texture. 2014-01-15 23:30:03 +01:00
Stuart Buchanan
3922c8c449 Various bug fixes to the C172p tutorials. 2014-01-12 19:57:27 +00:00
BARANGER Emmanuel
b9f0dd0466 RadarDist : Fixed a problem onboard radar happens automatically when you are in range of an mp gamer that uses "OpenRadar" by 5H1N0B1 2014-01-05 21:23:18 +01:00
Hal V. Engel
68bbe3674e Remove debugging print statement. 2013-12-17 22:28:52 +00:00
Hal V. Engel
408ec1b334 Computing gun sight code with USAAF K-14A sight. 2013-12-17 22:28:21 +00:00
dfaber
0f3788d1b0 Walker: fix a Bug while walking in southern Hemisphere, include file now
loadable via commandline for inclusion in every Aircraft
2013-12-16 21:12:30 +01:00
dfaber
fee546b0f3 Walker: fix Copilot Outfit error, Generalization 2013-12-09 18:55:38 +01:00
Anton Gomez Alvedro
ff071bd858 Integrates existing soaring instruments with the soaring sdk
All reviewed aircraft now support total energy compensated variometers and
reuse a common implementation. The following issues have been addressed, either
explicitly or as a benefit from the integration:

 + Fixed incorrect variometer readouts at sim/speed-up values != 1
 + Fixed erratic instrument behavior after pause and reinit
 + Reworked all vario needle animations to be smoother.
 + Fixed ASK13 yaw string. Now it deflects to the correct side.
 + Added temperature and (fake) battery readings to ILEC SC7 digital variometer.
 + Fixed ILEC SC7 sign readout (didn't show the minus sign).

Note: The ASK21 models have not been integrated, as they will need a more
profound cockpit overhaul.
2013-12-08 11:53:57 -06:00
Anton Gomez Alvedro
db995cc8ee Soaring instrumentation library for Nasal
A Nasal library for implementing instruments that are specific for soaring.
This version supports:

 + Total Energy compensated variometers
 + Netto variometers
 + Relative (aka Super-Netto) variometers
 + Configurable dampener for simulating mechanical needles
 + Averager
 + Speed to fly computer
 + Speed Command variometer
 + Yaw string (it's an instrument, isn't it?)
2013-12-08 11:53:18 -06:00
dfaber
ab235c4477 Walker: smaller textures 2013-12-04 21:27:52 +01:00
dfaber
ca5cb99a4c Walker: initial commit of the Walker, Pilot and Copilot Models 2013-12-01 21:47:42 +01:00
Clément de l'Hamaide
eb1a2ad623 KX165: fix nav power-btn action 2013-11-30 17:22:53 +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
janodesbois
403ca2f439 bug #202 fgdata correction: velocities/u,v and wbody-fps are now only ECEF velocities in body axis, yasim planes using this as TAS were changed to use instrumentation/airspeed-indicator/true-speed-kt, with the according factor change. 2013-10-27 13:50:44 +01:00
Torsten Dreyer
326d2044a5 global turn coordinator instrument: add the OFF flag 2013-10-21 22:04:05 +02:00
Gijs de Rooy
5d503e5f38 Issue #1222: one cannot use <!-- for comments in Nasal files. 2013-10-08 22:26:30 +02:00
Clément de l'Hamaide
0a93f65beb KT76A: Fix typo reported by F-OJAC 2013-10-05 00:45:23 +02:00
janodesbois
c65fe6333c following the bug 901 being addressed,
the sign of "orientatio/side-slip-deg" as reported by yasim is now inverted.
    here are the corrections to yasim affected planes (.xml and .nas)
2013-09-04 19:42:11 +02:00
Clément de l'Hamaide
74ea8ac7e3 KX165: fix volume knob animation 2013-08-26 20:02:10 +02:00
Clément de l'Hamaide
e974c7d274 Honor new <params> for KX165 2013-08-26 19:39:12 +02:00
Clément de l'Hamaide
e51d452f27 KX165: emission color is customizable with <params> 2013-08-26 19:39:12 +02:00
Clément de l'Hamaide
68c2ecc40d lowercase kt76a files and clean list of <object-name> 2013-08-24 18:59:00 +02:00
Clément de l'Hamaide
70c6f4004c KT76A: cleaning <params> 2013-08-22 15:06:32 +02:00
Clément de l'Hamaide
0e0af99445 KT76A: fix Rembrandt transparency and remove a file dependence 2013-08-20 23:38:20 +02:00
Clément de l'Hamaide
22fa017403 Remove osgText for Comm/Nav because KX165 provide them since commit 613578e12dfb8c7478ecd8dbc05eaa3bd361e1eb who use the shared KX165 2013-08-20 23:11:33 +02:00
Clément de l'Hamaide
ec1fa978dd KX165: add a "set-tooltip" command for Comm and Nav volume 2013-08-20 22:50:42 +02:00
Clément de l'Hamaide
2c37cde633 KX165: honnor <dimming> params adding a <emission> animation 2013-08-20 22:41:30 +02:00
Clément de l'Hamaide
750d198562 KT76A: Add <params> + fix Rembrandt blur + custom texture available 2013-08-20 22:32:53 +02:00
Clément de l'Hamaide
8ad5b39f68 Upgrade KT-70 for new transponder properties working over network
Thanks to Kiiyohito AOKI for report
2013-08-20 01:59:26 +02:00
James Turner
92611fdcd7 Fix warning with the KAP-140, now the
altitude encoder is part of the altimeter
2013-07-03 16:47:58 +01:00
James Turner
476c5fcb5f Map KT-70 mode to tooltip using an array. 2013-06-01 10:47:09 +01:00
Anders Gidenstam
8ae971de3f Aircraft/Generic/DualControl/Instruments/ADF-462: Converted to knob animations and added panel lighting. 2013-05-19 22:33:15 +02:00
Anders Gidenstam
90c1b982de Aircraft/Generic/DualControl/Instruments/VIR-32: Converted to knob animations and added panel lighting. 2013-05-19 22:33:15 +02:00
Anders Gidenstam
99a2d02c48 Aircraft/Generic/DualControl/Instruments/VHF-22: Converted to knob animations and added panel lighting. 2013-05-19 22:33:15 +02:00
Vivian Meazza
24dc108363 Add material animation to allow switchable faces by Clement de l'Hamaide
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-05-14 17:44:37 +01:00
Vivian Meazza
23ba1b3a56 New instrument by Clement de l'Hamaide
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-05-13 22:42:28 +01:00
James Turner
2e45b5424e Update TDR-94/CTL-92 for revised transponder.
Add knob animations and make the code selection cover the
entire code range.
2013-05-12 13:32:29 +01:00
James Turner
3ed1ffe7c2 No generic KT-70 or encoder.
Transponder is still present, and will do all that's needed.
2013-05-12 11:35:55 +01:00
James Turner
112b41b851 Update to use tooltips, knobs and new instrument. 2013-05-12 11:35:05 +01:00
Stuart Buchanan
658b1fe6ce Add support for <binding> tags on checklist items.
These are then attached to buttons on the checklist dialog allowing
the user to ask the computer to execute the checklist step, which
they can observe.
2013-05-01 22:41:15 +01:00
Vivian Meazza
fa19905cce Add consolidated Fresnel and Rainbow look-up textures
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2013-04-26 23:48:35 +01:00
Hyde Yamakawa
e06b519e8e Add record /velocities/mach for IAS display of flight recorder 2013-04-25 15:02:22 -04:00
James Turner
f9da4387e6 Initial work on a KLN-94 GPS.
Not functional yet, patience.
2013-04-14 16:04:56 +01:00
Stuart Buchanan
9177ee698e AAR bug - default fuel transfer rate to 6000 lbs per minute. 2013-04-10 23:11:12 +01:00
James Turner
7e0a45c798 Tooltips and knobs for the C172P.
This is proof of concept, not a complete conversion.
2013-04-06 17:36:25 +01:00
James Turner
ccfdd519ae Fix frequency range on the kx165. 2013-04-02 18:08:05 +01:00
Anders Gidenstam
5be5106bc2 Updated RAF_Mk9_bubble_sextant:
- Added night lighting.
- Added tooltips.
- Switched to knob animations.
2013-03-23 23:03:48 +01:00
Anders Gidenstam
df6e6f618c Updated WalkView: Updated documentation. 2013-03-23 23:03:37 +01:00
James Turner
dc25a3e7b7 KX165 updates.
Make the common KX165 Rembrandt-compatible, and use it in the C172P.
2013-03-20 16:55:41 +00:00
Anders Gidenstam
8b4393735d RAF_Mk9_bubble_sextant: Adapted to the new mouse movement handling. 2013-03-13 22:05:07 +01:00
James Turner
92bfb39f50 More metadata for the UFO and Seneca.
(Working on the basis that Torsten will forgive me for using his baby as a guinea-pig. Err, not his real baby obviously)
2013-03-02 17:49:40 +00:00
James Turner
1971f036a4 Extend C172P meta-data.
Experimenting with extended meta-data required for aircraft catalogs. Not finalised yet, still evolving.
2013-03-02 17:35:31 +00:00
Stuart Buchanan
5491f952ca Add optional <page> and <marker> tags to checklists
Checklists may now be split into individual sections made up
of <pages> containing the <item> tags.  Each page is displayed
individually with Previous/Next buttons to allow navigation.

Checklists items also support <marker> tags.  These display
a marker when a ? button is pressed next to the checklist item.
The format is identical to that of the tutorial system.
2013-02-27 22:28:44 +00:00
Stuart Buchanan
0fc2bf56fb Air-to-air refueling enhancements
- Support selectable tankers
- allow configuration of refueling radius, speed
- add optional reporting of contact
2013-02-24 22:34:11 +00:00
Gijs de Rooy
e9b433c184 Fix G-force limits for YASim aircraft by making use of available accelerations property. 2013-02-24 18:54:52 +01:00
Gijs de Rooy
70a9b13f45 Issue 648: generic 2D autopilot panel bindings lead to old properties 2013-02-10 18:21:36 +01:00
Emilian Huminiuc
355af4e72e Adapt model-combined effect templates provided with the documentation to latest developments (new technique for ligthfield shader).
Adapt a couple of aircraft effects to latest effect state too.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2013-02-01 13:22:29 +02:00
Stuart Buchanan
b339ff1358 Enhancement to the checklists function to support <condition>.
Checklist items now support a <condition> element that evaluates
when the checklist item is complete, and is used to provide color
coding in the checklist dialog.
2013-01-29 22:38:39 +00:00
Stuart Buchanan
8cc5fc24ea Add auto-start option to aircraft menu to set up aircraft for immediate take-off. 2013-01-24 21:45:01 +00:00
Anders Gidenstam
ce19ff1dd2 RAF_Mk9_bubble_sextant: Fixed some initialization problems. 2013-01-03 00:15:12 +01:00
BARANGER Emmanuel
2c3e0d3298 New entry in radardist.xml by 5H1N0B1
Fairey Gannet : New FDM with two turboprop, adding a droppable bomb, livery improved and more other details.
2012-12-17 00:32:47 +01:00
F-JJTH
6be5e731f6 garmin196: fix the chmod and EOL issues and comment the line 2981 of garmin196.nas waiting a solution from James 2012-12-07 12:43:18 +01:00
Gijs de Rooy
e76112801e C172P: typo 2012-12-07 12:18:36 +01:00
Stuart Buchanan
3dbe249685 Add Ctrl+Alt+click operation to display the lat/lon/alt and landclass of point. 2012-10-06 22:21:17 +01:00
ThorstenB
04618e2a3e c172p: translatable custom menu 2012-09-21 23:59:27 +02:00
Stuart Buchanan
0fe2007cb5 Check in c172 checklists - missing from previous commit. 2012-09-18 14:08:53 +01:00
Stuart Buchanan
602ae34af4 Add support for a Aircraft Checklists GUI item. 2012-09-18 11:29:17 +01:00
ThorstenB
ebcfc739bd c172p: fix electrical system
Most control switches used with mismatching names.
Make effects depend on electric power, not just switch state.
Calculate some (more) meaningful electric load.
2012-09-16 23:19:36 +02:00
Emilian Huminiuc
e184642e87 Adjust reflection strength on random buildings; add and use a new cubemap for the random buildings.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-14 00:12:49 +03:00
BARANGER Emmanuel
255d7f362f Improved management of jets and turbopropellers YASim by Ryan Miller 2012-09-11 12:37:42 +02:00
Emilian Huminiuc
2c058f9c1f New effect: Effects/model-combined-transparent
Switch c172p and concorde glass effects to the new effect.
Docs/model-combined.eff/: Updated transparent effect template.

From now on Effects/model-combined should not be inherited from directly.
Use either Effects/model-combined-deferred
or Effects/model-combined-transparent

Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-09 22:28:45 +03:00
Emilian Huminiuc
023c6bc97a c172p: adapt local effects to the change in model-combined and model-combined-deferred
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-09-09 14:39:26 +03:00
Thomas Geymayer
d5cdf29342 Fix c172p-canvas crashing fgrun and update description 2012-09-05 23:18:24 +02:00
Thomas Geymayer
220702e8b1 Canvas: Add a canvas demonstration using the c172p
- Add new type of c172p (c172p-canvas) demonstrating the usage of
    the Canvas system.
2012-09-04 23:23:40 +02:00
ThorstenB
f5bfd65f72 c172p: use directional gyro for heading indicator
Also use c172-specific instrumentation list.
2012-08-23 21:54:05 +02:00