1
0
Fork 0
Commit graph

7262 commits

Author SHA1 Message Date
Anton Gomez Alvedro
7b46de3e27 Code review comments and bugfixes
- Making run_tests accept a target namespace as an argument.
 - Fixed asynchronous trigger callback mechanism.
   MCBF triggers working again.
 - Fixed numerical problems when calculating standard deviation
   for rand triggers.
2014-06-06 21:41:13 -05:00
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
Anton Gomez Alvedro
8b16a71d50 Adds assert() for Nasal and fixes io.include internal marking
- A simple assert() function is added to the globals namespace.

 - io.include() marks the target namespace to avoid dependency loops.
   If the namespace is marked before the script to be included is
   compiled, a parse error leaves the target namespace marked while
   the script has not been loaded. This patch fixes this problem.
2014-06-06 21:41:10 -05:00
Philosopher
501f8ba881 MapStructure: a few WPT/RTE bugfixes 2014-06-06 21:19:12 -05:00
Philosopher
807062d0b6 Misc. Nasal cleanup 2014-06-06 21:19:11 -05:00
Philosopher
ddcb543c10 debug.nas: use argument to disable/enable color
(on top of the normal color setting -- i.e. this overrides that)
2014-06-06 21:19:10 -05:00
Thomas Geymayer
f91d439ac0 canvas.gui: Update ScrollArea for layouting system. 2014-06-05 17:33:44 +02:00
BARANGER Emmanuel
1db2300263 Merge branch 'master' of gitorious.org:fg/fgdata 2014-06-05 00:34:43 +02:00
Thomas Geymayer
c226e171ca canvas.gui: tweaking and testing widget/layout stretch. 2014-06-04 17:53:52 +02:00
Thomas Geymayer
c3a65442b1 canvas.gui: Update for core changes and use new layouting system 2014-06-03 19:30:30 +02:00
Hyde Yamakawa
e0fc737820 Merge branch 'topics/canvas-push-test' of gitorious.org:fg/canvas-hackers-fgdata 2014-06-03 08:21:46 -04:00
Clément de l'Hamaide
b04ca4609a GPSmap196: work on page panel 2014-06-01 01:14:48 +02:00
BARANGER Emmanuel
dac185414a Merge branch 'master' of gitorious.org:fg/fgdata 2014-06-01 00:44:53 +02:00
Philosopher
f0d44ae8fe Lots lots more MapStructure changes
Fix the main bugs, add features and convert most of the layers.
Move/refactor some things as well. Add a canvas map dialog next to the
built-in one -- it's not 100% functional but it's quite close actually.

As before, the excitement has been taking place at our team clone.
https://gitorious.org/fg/canvas-hackers-fgdata/commits/0b4cc84
(topics/canvas-map-dialog branch this time, current HEAD in above URL.)
2014-05-25 14:27:11 -05:00
Hal V. Engel
715ab90261 Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-21 20:23:35 -07:00
Hal V. Engel
bc120bd37e Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-19 22:27:05 -07:00
BARANGER Emmanuel
91b8ea1bcf Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-19 21:16:12 +02:00
BARANGER Emmanuel
061e37322e Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-18 21:22:24 +02:00
James Turner
a72b162f25 Disable tile cache by default
- also reduce inactive PagedLOD count to a small value

Committing to get feedback on increased visual popping vs
reduced memory consumption.
2014-05-18 15:06:11 +01:00
BARANGER Emmanuel
3d9cfc8c34 Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-17 13:22:11 +02:00
Hyde Yamakawa
c572c0e6d3 Add IFR symbols set based on Jeppessen IFR Glossary. 2014-05-17 06:50:29 -04:00
BARANGER Emmanuel
5f44af9639 Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-17 12:10:56 +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
Thorsten Renk
856f45b472 Alaska and Northwest Territories regional texture definitions 2014-05-16 11:35:10 +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
BARANGER Emmanuel
55f8ba60b0 Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-14 22:29:40 +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
Thorsten Renk
17799e8450 Vertically stratified noise function for ALS 2014-05-14 13:01:14 +03:00
Thorsten Renk
27438ea54c Fresnel reflection for ALS runway shader 2014-05-14 12:45:54 +03: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
BARANGER Emmanuel
0dbba6b657 Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-12 11:38:07 +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
BARANGER Emmanuel
e91fd65084 Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-10 03:35:45 +02:00
Thorsten Renk
bba99d5313 Texture reading offsets for agriculture effect 2014-05-09 09:41:41 +03:00
Thorsten Renk
dd72bbb5fa Sky irradiance reflection for ALS water shader 2014-05-09 09:06:34 +03:00
BARANGER Emmanuel
a9fe9d095f Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-08 19:25:07 +02:00
Torsten Dreyer
10474f3215 Prepare for FLITE voices 2014-05-07 22:11:16 +02:00
Torsten Dreyer
fa17d2eb0b New hts voice
Source:
http://homepages.inf.ed.ac.uk/jyamagis/software/page54/page54.html
Converted to .htsvoice with htsvconv
2014-05-07 16:33:26 +02:00
BARANGER Emmanuel
9ab1faa34a Merge branch 'master' of gitorious.org:fg/fgdata 2014-05-07 01:36:49 +02:00
Torsten Dreyer
3267320815 Move p51d resource file into aircraft's folder 2014-05-05 22:14:16 +02:00
Thorsten Renk
3970bad285 Updates to Earthview, based on work by Anton Gomez Alvedro 2014-05-05 15:27:32 +03:00
Thorsten Renk
021133e657 Agriculture de-tiling effect for ALS terrain rendering 2014-05-05 14:27:33 +03:00