1
0
Fork 0
Commit graph

213 commits

Author SHA1 Message Date
Richard Harrison
0200041d74 Fix slowdown when flying with fuel freeze.
Caused by AAR creating a timers that don't get fired and clag up the system.
2018-12-15 16:29:07 +01:00
Anders Gidenstam
0900c9907a JSBSim hydrodynamics: Updated to support JSBSim moments. 2018-11-27 13:52:58 +01:00
Richard Harrison
40ff13b65b Reposition slowdown settimer fixes.
Definitely problems in aar.nas, seaport.nas; as these were hanging off a fdm-initialized.

The others have timers that are started from a listener and as such are more suited to use maketimer rather than settimer

The modules that use the loopid technique are probably fine, but these are also more suited (and easier to understand) using a maketimer
2018-09-14 22:50:47 +02:00
Thorsten Renk
7552c2921e ALS: Add display effect - dust overlay texture provided under GPL 2+ by Martin Litzenberger 2018-09-01 09:54:42 +03:00
Richard Harrison
588bdcd580 Add flightrecord components for escort ships and refuelling tankers.
These need to be included aircraft model side to work;

e.g.
                <signals include="/Aircraft/Generic/flightrecorder/components/ai-models-carrier.xml">
                    <count type="int">4</count>
                </signals>
                <signals include="/Aircraft/Generic/flightrecorder/components/ai-models-escorts.xml">
                    <count type="int">12</count>
                </signals>
                <signals include="/Aircraft/Generic/flightrecorder/components/ai-models-tanker.xml">
                    <count type="int">4</count>
                </signals>
2018-07-28 00:39:21 +02:00
Richard Harrison
7860c2c761 Added flightrecorder for carrier. 2018-07-28 00:39:20 +02:00
Anders Gidenstam
c610f6911c JSBSim airship_added_mass system: Updated to support JSBSim external moments. 2018-04-08 21:53:07 +02:00
Richard Harrison
dcc4f1ede5 Walker; fix duplicate parachute and spoiler/speedbrake keyboard by making it conditional on the view 2017-11-18 12:51:16 +01:00
Anders Gidenstam
bb73817c42 Fixed a problem in the roll channel of the JSBSim hydrodynamic-planing-floats system.
Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2017-03-18 23:57:06 +01:00
Thorsten Renk
d1dc65a207 g-force simulation script links to ALS g-force shaders (Nikolai Verner Christensen) 2017-03-18 11:10:26 +02:00
Anders Gidenstam
275c425623 Replaced the property hydro/hull-length-ft with metrics/hydro-length-ft in the generic JSBSim hydrodynamics system.
Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2017-03-12 09:53:14 +01:00
Richard Harrison
d1d3ff80aa Added default texture (functional mask) for hud glass.
ref: http://wiki.flightgear.org/ALS_technical_notes#Functional_masks
2017-02-24 10:53:31 +01:00
Thorsten Renk
a27a82b4ad Tentative fix for accelerometers using YaSim properties in JSBSim or optionally generated properties 2016-11-23 15:34:04 +02:00
Thorsten Renk
52e5592442 Replacement of blackout/redout implementation with a sophisticated model developed for military simulators - research and implementation by Nikolai Verner Christensen 2016-11-21 10:06:35 +02:00
Anders Gidenstam
09cdc04e91 Fixed some FPE prone spots in the generic JSBSim hydrodynamics systems.
Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2016-10-23 00:11:40 +02:00
Richard Harrison
56f6e4fd15 Remove debug and tidy up messages 2016-05-16 22:49:56 +02:00
Richard Harrison
4ed25ac361 Emesary mp support
Add support for transfer string
Change Type to NotificationType as Type can be confusing
2016-04-12 23:25:47 +02:00
Richard Harrison
1ec48a966c Added Emesary Multiplayer bridge 2016-04-09 21:39:57 +02:00
Richard Harrison
54165c213f Added Emesary and AN/SPN-46 ACLS
Emesary is a simple and efficient class based interobject communcation system to allow decoupled disparate parts of a system to function together without knowing about each. It allows decoupling and removal of dependencies by using notifications to cause actions or to query values.

Emesary is all about decoupling and removing dependecies, and improving the structure of code. Using Emesary you can more easily define the what rather than the how. By using what is essential an event driven system it is easy to add or remove modules, and also for extra modules to be inserted that the rest of the aircraft knows nothing about (e.g. FGCamera or the Walker).

see: http://chateau-logic.com/content/emesary-nasal-implementation-flightgear

The AN/SPN-46 is an ACLS implementation using Emesary. ACLS is the Navy's version of ILS.
2016-04-02 00:13:35 +02:00
Torsten Dreyer
8f5e1bd626 Move marker.xml, marker.ac to Aircraft/Generic
also adjust (hopefully) all references to the old location
2016-03-23 11:00:18 +01:00
Anders Gidenstam
47b4c1db3d WalkView: Hardened against a missing view property. 2016-03-13 23:48:02 +01:00
Edward d'Auvergne
3bf57db6b4 Fixes for all PNG files with corrupted ICC color profiles.
The files were identified using the pngcrush software and repaired by stripping
out the PNG header including the ICC profile using the command:

$ pngcrush -fix -force old.png new.png; mv -f new.png old.png

Each file was manually checked in an image viewer to look for any corruptions.

This follows from the threads
http://thread.gmane.org/gmane.games.flightgear.devel/79895 and
http://thread.gmane.org/gmane.games.flightgear.devel/79898 .
2016-01-06 21:38:13 +01:00
Anders Gidenstam
9020bda565 Updated the generic JSBSim hydrodynamics system.
- Small update to the main hydrodynamics system.
- Added initial versions of two systems for modelling hydrodynamic planing.

Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2015-11-15 15:10:13 +01:00
Thorsten Renk
2d18c748ee Fix for walker/reposition interference suggested by DFaber 2015-08-10 11:12:09 +03:00
James Turner
563c098452 Change some Nasal logging to use logprint()
- avoids console output at default (WARN) log level from the C172P
2015-06-08 10:33:31 +01:00
Thorsten Renk
44f8e5f672 Procedural thruster flames, work in progress 2015-05-21 11:28:21 +03:00
Anders Gidenstam
5b6a913b80 Aircraft/Generic/JSBSim/Systems: Added a generic airship mooring system. 2015-05-20 22:55:09 +02:00
Torsten Dreyer
f707629fa3 Merge commit 'd4e0c7515e8e708baca99ef1018cdd939d8228a1' into next
This was https://sourceforge.net/p/flightgear/fgdata/merge-requests/15/
2015-05-19 12:05:18 +02:00
Richard Senior
707d2101eb Autochecklist: Create property to allow testing for expedited starts 2015-05-07 08:23:29 +01:00
Thomas Albrecht
d4e0c7515e renamed to DampedOscillator 2015-05-02 14:31:18 +10:00
Richard Senior
152872eae0 Checklists: Script for automated checklist execution, e.g. autostart 2015-04-23 09:09:28 +01:00
radi
31e08b83fb initial import of wingflexer.xml 2015-04-07 11:03:38 +02:00
Thorsten Renk
87c3bf5772 Interior glass effect with dynamic environment response for ALS 2015-03-10 13:43:08 +02:00
Hyde Yamakawa
15c6160c05 Fix: Systems that have mcbf triggers by default (flaps, gear & speedbrake) fail when first operated. from galvedros 2015-02-28 18:15:04 -05:00
Torsten Dreyer
3da71879fa Merge commit 'refs/merge-requests/277' of https://gitorious.org/fg/fgdata into merge-requests/277 2015-02-22 21:52:58 +01:00
Torsten Dreyer
53dfd54beb Merge commit 'refs/merge-requests/265' of https://gitorious.org/fg/fgdata into merge-requests/265 2015-02-22 21:44:41 +01:00
Thomas Albrecht
0d7f4692d6 initial import of wingflexer.nas 2015-01-14 19:13:01 +11:00
Anton Gomez Alvedro
c108f3b988 Bugfixes and improvements to the Failure Manager
- Fix: runtime exception in remove_failure_mode()
  - Fix: keep failure & trigger status on teleport.
  - Fix: allow random failures from the gui to be enabled/disabled multiple times.
  - Fix: mcbf/mtbf are set to zero when they fire, so they can be reactivated from the gui.
  - Fix: string casts of several trigger types had syntax errors.
  - Usability: screen messages related to failures now use positive logic:
         "condition 100%" instead of "failure level 0%"
  - Performance: Time triggers now use internal timers, instead of requiring being polled.
  - Reviewed Trigger interface for more rational usage. reset() is replaced by arm()/disarm()
  - Added a subscription interface to listen to FailureMgr events.
  - Added an internal log buffer to keep a record of relevant events and present them to gui elements.
  - Several usability improvements to the FailureMgr Nasal API.
2014-12-21 12:39:52 +01:00
Anton Gomez Alvedro
1bae213eb9 Reinit revisited, added an option to ignore fdm-initialized and cleaned up the doc. 2014-12-12 21:50:35 +01:00
Anton Gomez Alvedro
60d806be6b Rename to updateloop.nas 2014-12-04 21:14:22 +01:00
Anton Gomez Alvedro
4edcf7c7a0 Renaming the "Component" interface to "Updatable". "Component" is just too generic and inspecific to be used as a public interface.
Also, making sure the looper is disabled when destruction is requested.
2014-11-30 10:46:26 +01:00
Anton Gomez Alvedro
f92a2217de Factoring out the soaring-sdk's update loop into a generic update-loop.nas that can be reused by other modules. 2014-11-29 12:11:33 +01:00
Hal V. Engel
5f02bc765e P-51D New external 3D model project. 3.2 release candidate. 2014-08-03 12:43:00 -07:00
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
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
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