1
0
Fork 0
Commit graph

229 commits

Author SHA1 Message Date
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
Torsten Dreyer
6d9346bfa0 add comm radio subsystem to generic-instrumentation 2014-02-28 11:49:44 +01:00
Emilian Huminiuc
7f183e0117 Remove intermediate quality settings from the ubershader. Fix a texture. 2014-01-15 23:30:03 +01: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
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
Gijs de Rooy
5d503e5f38 Issue #1222: one cannot use <!-- for comments in Nasal files. 2013-10-08 22:26:30 +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
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
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
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
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
Stuart Buchanan
9177ee698e AAR bug - default fuel transfer rate to 6000 lbs per minute. 2013-04-10 23:11:12 +01:00
Anders Gidenstam
df6e6f618c Updated WalkView: Updated documentation. 2013-03-23 23:03:37 +01: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
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
4f991859ca tweak random building reflections
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-07-15 00:37:32 +03:00
Alexis Bory
7eb2e158cd Merge branch 'work' 2012-07-01 23:23:59 +02:00
Alexis Bory
b83bb95cf9 Pilots: Added another fighter pilot, tweaked the first one's face. 2012-07-01 19:06:01 +02:00
ThorstenB
7d099bff28 Put power up/down messages into context 2012-07-01 16:02:23 +02:00
Alexis Bory
d51a52493f By request : Added another fighter pilot. More to come if time permits: GA pilot M/F, XML positioning, fancy dressing and animations. 2012-06-19 21:55:59 +02:00
Ryan Miller
664c55c62a New generic 3d pilot models
Signed-off-by: Anders Gidenstam <anders@gidenstam.org>
2012-06-16 15:36:24 +02:00
Anders Gidenstam
97ffa8c171 Aircraft/Generic/limits.nas: Added a missing var-keyword. 2012-06-12 22:23:03 +02:00
Anders Gidenstam
005fdadbcf Aircraft/Generic/kap140.nas: Added missing var keywords. 2012-06-12 22:22:48 +02:00
Emilian Huminiuc
d43770ab58 Effects/model-default.eff move skydome to technique 5 to provide more headroom
Effects/model-combined.eff fix techniques numbering. Make active under rembrandt too. add model-combined-deferred as a stub for now for specific
Rembrandt use.
Users of model-combined with normalmaps should change the technique number to 9, and duplicate that entry for technique 8.
Fix some longstanding png warnings. Provide null_reflectdir.png for model-combined
This should fix part of bug #726
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
2012-03-31 15:00:36 +03:00
Anders Gidenstam
1855d0f9d1 Updated DualControl: Improved initialization to avoid extra listeners on reset. 2012-03-23 22:17:47 +01:00
Anders Gidenstam
60305380be Updated DualControl: Minor update to the connect messages. 2012-03-23 22:17:37 +01:00
Torsten Dreyer
f575ec1d7e don't record serviceable properties for kx165 2011-12-21 21:44:19 +01:00
Torsten Dreyer
fddd2b6e61 Add kx165 flightrecorder component and use it for SenecaII
also downgrade double to float to save some space
2011-12-10 21:33:11 +01:00
ThorstenB
847e8a187f Fixed some file modes (non-executables) 2011-11-28 19:11:44 +01:00
Vivian Meazza
e9c37c0b74 Add runway rain effect (experimental)
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-11-27 23:12:59 +00:00
ThorstenB
bde90daa71 Replay upgrade, part III: New flight recorder configuration files.
Provide templates for various aircraft components or complete aircraft
types. Better to have this stuff available/adaptable than hard-coded
somewhere inside fgfs.
2011-10-01 23:16:48 +02:00
Vivian Meazza
b00d42350d Migrate to .dds
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-08-13 11:49:00 +01:00
Anders Gidenstam
b5424296d5 Updated DualControl: Added missing var keywords. 2011-07-11 20:27:01 +02:00
Anders Gidenstam
146530a5d0 WalkView: Fixed a bug in the polyline path constraint. 2011-05-08 21:35:50 +02:00
BARANGER Emmanuel
a2e39e79fc new version of Fuselage reflect generic by Skyop 2011-04-05 01:55:52 +02:00
Vivian Meazza
0041dea980 Add generic sample reflection map.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2011-03-31 20:00:37 +01:00
Curtis L. Olson
2b648ea118 Rescale odd texture sizes (257x257, etc.) so that the OSG texture loader
doesn't need to do this on the fly.  OpenGL requires that texture dimensions
be a power of 2 (32, 64, 128, 256, 512, 1024, 2048, etc.) so if we feed in
something else, OSG will rescale it on the fly before registering it as an
OpenGL texture.
2011-01-19 10:55:55 -06:00
ThorstenB
b85838b770 Avoid div-by-zero and NaN-property error
required for non-engine aircraft (UFO, gliders).
2011-01-12 20:13:57 +01:00
Vivian Meazza
48e2672647 Merge branch 'Work' of \New Git\fgdata 2010-12-19 23:54:39 +00:00
Anders Gidenstam
09dc9afe47 Updated DualControl: Moved everything to Aircraft/Generic/DualControl/.
- Updated all references to Aircraft/ZLT-NT/DualControl/ found.
2010-12-19 23:17:23 +01:00
Vivian Meazza
02f60e0794 Add open-circuit oxygen system.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-12-18 09:16:04 +00:00
Detlef Faber
3c44422413 fix typo 2010-11-11 20:29:24 +01:00
Anders Gidenstam
3cea00ac1f Updated WalkView: Fixed a sign error. 2010-11-05 10:02:11 +01:00
Anders Gidenstam
03e25d91cd Updated WalkView: Added a "class" for conditional constraints. 2010-11-03 20:36:10 +01:00
Anders Gidenstam
5ecdf0f878 Updated WalkView: Added a makePolylinePath convenience function. 2010-11-01 22:46:23 +01:00
Anders Gidenstam
7b08e91f7b Updated Walk View: Unified all "class"/"type" names to begin with a capital letter. 2010-11-01 21:33:24 +01:00
Anders Gidenstam
4c694b2bc2 Updated WalkView: Added a circular surface constraint. 2010-11-01 21:33:15 +01:00
Anders Gidenstam
4692db87d6 Updated WalkView: Added a more general area constraint: linePlane. 2010-10-31 22:08:55 +01:00
Detlef Faber
e00d8d30ea generic logos: add Logo of the day >:) 2010-10-31 16:36:20 +01:00
Anders Gidenstam
1ff1469fc1 Updated WalkView:
- Added a default key binding file.
- Improved the documentation.
2010-10-31 12:35:55 +01:00
Vivian Meazza
39affdc8cd Merge branch 'master' of \New Git\fgdata 2010-10-12 20:45:56 +01:00
Vivian Meazza
996a5a94ee Add generic formation selector script.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-12 20:37:10 +01:00
Vivian Meazza
1b309deda4 Add generic formations.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-10-12 20:35:47 +01:00
Anders Gidenstam
af740cd918 Updated WalkView: Added missing var keywords. 2010-10-03 19:25:46 +02:00
Frederic Bouvier
d734e32bd5 Modified reflect effect to include bumpspec. Original effect untouched 2010-09-21 08:23:13 +02:00
Detlef Faber
eaf9a96117 modified Logo System,2 new Logos 2010-09-12 21:33:20 +02:00
Vivian Meazza
4c63215780 Add "valid" filter to prevent expired MP tankers from being appended to the tanker list.
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-09-11 20:48:03 +01:00
Torsten Dreyer
6ed5d507f4 Naming of generic autopilot stage and environment reorganization
Fix a duplicate stage name of the generic autopilot (Altitude Hode Stage 2)
Move environment relevant files from into FGDATA/Environment
2010-08-23 21:46:09 +02:00
Anders Gidenstam
049d98ad8e Updated WalkView:
- Added support for additional manager objects, e.g.
  for animating a 3d model or move a JSBSim pointmass.
- Improved the documentation.
- Some bugs removed.
2010-08-16 23:12:26 +02:00
Vivian Meazza
8aa66f9788 Make persistent contrail models generic
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
2010-08-06 14:31:31 +01:00
Anders Gidenstam
82d72bf976 Updated WalkView: Improved documentation. 2010-08-01 23:21:46 +02:00
Heiko Schulz aka HHS
2fd440f551 Comit- maybe wrong, still learning ;-
Signed-off-by: Heiko Schulz aka HHS <Heiko.H.Schulz@gmx.net>
2010-07-04 14:03:38 +02:00
Heiko Schulz aka HHS
4286cac83a Add some lousy CubeMaps and CubeCrosses
Signed-off-by: Heiko Schulz aka HHS <Heiko.H.Schulz@gmx.net>
2010-07-04 14:01:00 +02:00
Heiko Schulz aka HHS
be85a87598 First comit of new CubeMaps for the reflectionshader
They are not perfect as the Equipement is not good enough, but though they works quite good!
RealLife-images, Images made in FGFS and Custom-Gimp-made.

Signed-off-by: Heiko Schulz aka HHS <Heiko.H.Schulz@gmx.net>
2010-07-04 12:45:04 +02:00
Torsten Dreyer
bafc98ee5b New autopilot subsytem implementation.
The new A/P implementation does not contain the hardcoded "helper" functions
anymore. The properties created in these helpers are now generated by
autopilot components defined in generic-autopilot-helper.xml which is
included by default in preferences.xml
2010-06-24 17:05:12 +02:00
Torsten Dreyer
7a7ac553fa Prepare for moving the hard coded A/P helpers into XML
Currently, there are some hard coded autopilot helpers.
They can (and should) easily be modeled in an external XML file.
The filter in this file produce the exact same output as the hard coded
filters.
This is just a preparation step for a smooth transition at a later time.
2010-06-11 22:05:55 +02:00
Anders Gidenstam
2603c1283f Updated WalkView.
- Added support for enter and exit events.
- Improved handling of eye height.
- Added support for side stepping.
2010-06-05 13:07:52 +02:00
BARANGER Emmanuel
c3e0425436 - move Fuselagereflect.eff in Aircraft/Generic/Effects 2010-06-03 19:30:02 +02:00
Anders Gidenstam
56a6a8a429 First public release of WalkView a system to manage walkable views. 2010-05-18 22:32:29 +02:00
vmmeazza
225633dfa9 Add reflection effects 2010-04-03 18:56:02 +00:00
vmmeazza
b33e332709 Remove incorrectly mapped cube cross. Add correct cube cross 2010-04-02 13:51:39 +00:00
vmmeazza
e7444434c5 Used with reflection effect - needs this patch ftp://ftp.abbeytheatre2.org.uk/fgfs/Shader/Reflect/cube-map.patch which will be included in Simgear soon (hopefully). 2010-03-28 11:20:09 +00:00
vmmeazza
b84c39f1c9 Add an environment map for use with shaders 2010-03-16 20:42:08 +00:00
jmt
08aca14c8a Dave Perry: smooths transition to glideslope for CenturyIII autopilot 2009-11-08 18:48:54 +00:00
jmt
69edaea2f4 Dave Perry:
Added GS out of range flag to Instruments-3d/vor.

Century III upgrades
 1.  Implemented the two 20 sec checks for GS arm documented in the autopilot POH page 30.
 2.  Fixed bug that made GS capture not work if the ALT switch was turned off for a few moments to do a step-down approach.
2009-09-18 08:58:10 +00:00
jmt
310c375ebc PA-24 and PA-26 glideslope fixes from Dave Perry, including updated autopilot gains. 2009-09-13 08:10:56 +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