1
0
Fork 0
Commit graph

201 commits

Author SHA1 Message Date
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
tat
ceb41118fe Removed: fcs.nas; Renamed to helicopter-fcs.nas 2009-06-13 15:42:35 +00:00
tat
0fdd5ba0f4 Updated: to the latest fcs.nas; fcs.nas will be removed since it is only for helicopters (not a generic fcs) 2009-06-13 15:38:27 +00:00
tat
51f0a7897a Fixed: wrong usage of _setlistener 2009-06-12 18:00:53 +00:00
helijah
6ca37b3a42 *** empty log message *** 2009-06-11 22:55:36 +00:00
tat
41407b9448 Moved from OH-1/Nasal/fcs.nas, with the following updates:
Added: Comments and explanations
Added: Backup FCS to fcs.nas
Modified: fcs for switching attitude / rate hold mode on CAS
2009-06-11 11:52:20 +00:00
helijah
a131434679 - fcs.nas generic by Tat 2009-06-09 17:07:47 +00:00
dfaber
98bead93b7 Some Logos and a generic Logo Submodel 2009-05-06 19:10:14 +00:00
vmmeazza
aa96adf5a0 Remove leading "/" 2009-01-16 17:02:41 +00:00
vmmeazza
e27e1a73d8 Add Alexis Bory's nice glass shader texture for general use 2009-01-05 17:31:58 +00:00
mfranz
6f6aef2fed change from deprecated props.initNode() to props.Node.initNode() 2008-11-20 20:00:26 +00:00
mfranz
0b453c6da3 - drop cmdarg() usage in listener functions
- use var keyword
2008-10-12 18:50:06 +00:00
vmmeazza
5a642cc2e6 Update parameters 2008-10-08 17:30:37 +00:00
vmmeazza
ee515582d0 Add rain spray effect 2008-10-08 16:51:40 +00:00
vmmeazza
0f0ac568d4 Add generic tyre smoke 2008-10-05 22:53:41 +00:00
abory
3600255914 - Alexis Bory: radardist.nas radardist.xml have nothing to do here.
Moved permanently to Aircraft/Instruments-3d/radardist/.
2008-10-05 14:32:44 +00:00
abory
ac84c93b68 - Alexis Bory: minor fixes. 2008-09-27 20:33:29 +00:00
mfranz
c23971dcca aar.nas: minor cleanup 2008-08-14 21:38:32 +00:00
mfranz
2e6ffd34e6 s/system/type/ ... that's more consistent with the rest and less confusing 2008-08-13 22:56:21 +00:00
mfranz
2e6a1dc224 - make sure that aircraft can only refuel from tankers which support the
appropriate system ("probe" or "boom")
- use props.initNode()
- cosmetics
2008-08-13 22:03:59 +00:00
abory
f951225d81 Removed pointless creation of a geo.Coord . 2008-08-02 14:58:42 +00:00
abory
ea43922437 - Alexis Bory: use io.read_properties() instead of fgcommand(load). 2008-07-17 21:06:29 +00:00
abory
5eaebdb728 - Alexis Bory (and Melchior):
- Changed properties name in the XML: radardist -> radar-performance.
- Corrected spelling of data.
- Shortened the init message.
This doesn' change the way to call radardist.nas functions.
2008-07-11 21:10:48 +00:00
abory
dde3389421 - Alexis Bory: radardist.nas now reads its datas from $FG_ROOT/Aircraft/Generic/radardist.xml. 2008-07-08 10:16:38 +00:00
abory
5c054b5afc - Alexis Bory: radardist.nas now reads its datas from this XML file. 2008-07-08 10:08:51 +00:00
abory
166f5c8b96 - Alexis: oops, should better test before committing. 2008-06-05 21:10:43 +00:00
abory
ba83e856cf - Alexis: ooops I forgot Jettoo's last additions in the tables. 2008-06-05 19:44:09 +00:00
abory
40d9b0e400 - Jettoo (glazmax) and Alexis: Radar Visibility Calculator. 2008-06-05 19:37:32 +00:00
mfranz
f8f63fcd8d use props.initNode() & simplification 2008-06-04 20:52:09 +00:00
mfranz
52ed2de4c3 Roy Vegard OVESEN: add "var" keywords 2007-11-28 20:09:59 +00:00
mfranz
5d26f635bf Dave PERRY: 'adds "var" for local variables' 2007-11-25 20:43:43 +00:00
mfranz
7253f8633b Dave PERRY:
"I have been working with Torsten Dryer to model
these three autopilots that are very common in aircraft manufactured in
the 1960s through the late 1980s.  The Altimatic IIIc in the SenecaII is
a variation on the Century III and uses the same nasal model."

mf: these should be in cvs since a while; somehow I missed them, sorry
2007-10-14 07:24:35 +00:00
mfranz
ecb335ddb5 - use var keywords on functions to avoid module name collisions
- drop some braces
2007-10-01 22:31:30 +00:00
mfranz
3cdf961214 s/wxradar/radar/ 2007-06-24 19:58:20 +00:00
mfranz
6a7dc46bd2 - s/aircraft/tanker/ (patch inspired by Alexis BORY :-)
- add support for /systems/refuel/serviceable flag  (can be set to false
  by the aircraft as long as the door over the boom entry is closed, etc.)
2007-06-16 00:44:44 +00:00
mfranz
a41ba9f403 suppress output ...
- in replay mode
- when trying to raise the flaps, but they are already fullly up
- when trying to retrace the gear, but it is already retracted

more cleanup later ... much later  :-)
2007-06-13 20:49:11 +00:00
mfranz
47ddb39e0f Roy Vegard OVESEN:
- 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.
2007-04-26 18:04:51 +00:00
mfranz
663b382b7d John DENKER, Dave PERRY, Roy VEGARD OVESEN: altimetry fixes 2007-03-31 09:38:18 +00:00
mfranz
3139f01083 use new vector concatenation feature :-) 2007-03-30 20:27:07 +00:00
mfranz
f236a438b8 Fix redundant elsif, fix and simplify broken fill-up code.
(Pointed out by Csaba HALASZ)
2007-03-29 18:25:48 +00:00
mfranz
137f1cef4a fix out-of-fuel bug 2007-03-29 14:46:00 +00:00
mfranz
3a3ee3a5d0 - work around broken props.Node.getBoolValue()
- simplification & cleanup
2007-02-04 22:09:43 +00:00
mfranz
43435d1077 - reset engines' consumed fuel
- change variable name
2007-02-04 20:20:45 +00:00
mfranz
10efd065c4 Dave Perry & Roy Vegard Ovesen:
"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)
2007-02-04 12:55:28 +00:00
mfranz
e9d645170f comment out fuel of generic panel. This is included by preferences.xml and
includes Instruments/fuel.xml. And *that* one creates tank[0] and tank[1]
for *all* aircraft, which is quite annoying. A generic panel should display
fuel numerically (like Lee's panels do) or as %.
2007-01-30 20:41:49 +00:00
mfranz
410950b7b2 Nasal version of former src/Instrumentation/annunciator.[ch]xx 2007-01-29 22:24:05 +00:00
mfranz
bb0b01d0e6 Roy Vegard Ovesen:
- finish cleanup/optimization of instrumentation system (started by mfranz)
- improve configuration of special properties by
  addressing them directly
2006-12-06 22:15:01 +00:00
mfranz
79fea79cae use correct max_gear value 2006-12-06 13:19:56 +00:00
mfranz
0e62263eaf generate some nodes if they don't exist yet (this was left out on purpose,
as missing nodes should point to more serious problems elsewhere, but this
state can happen in normal situations, too)
2006-11-25 17:49:23 +00:00
mfranz
115b4a04ea replace cheesy wait_for_fdm() loop by a reliable signal callback 2006-10-26 09:23:53 +00:00
mfranz
2d2674d952 don't set nil values with props.setDoubleValue() 2006-10-17 20:33:02 +00:00
mfranz
f6c6eaf5b7 minor cleanup & optmization
aar.nas disables $FG_ROOT/Nasal/fuel.nas' main loop, as it should be able
to fully replace it. Ideally, there would be no aar.nas at all, and fuel.nas
would do the job for YASim & JSBSim. Unfortunately, there's a problem with
fuel.nas that's not easy to fix ...
2006-08-27 13:38:29 +00:00
mfranz
8994a4df3f - merge YASim fuel management parts in (should still work with JSBSim as
far as this supports air refueling at all)
- make listeners keep variables up-to-date (for better performance)
- remove the ugly initialization stuff in the main loop, but wait in
  an extra loop for the FDM to come up

This script works now with the a4f, too. The vulcan2 is *supposed* to
work, but there's apparently a bug in it that prevents it.
/systems/refuel/contact is correcly set, and that should be enough for it.
2006-08-27 12:25:43 +00:00
mfranz
5011ae6ca4 generic aar.nas (air-to-air-refueling). Meant to replace all the files
lying around everywhere. Used by the vulcan2 already. Cleanup pending.
2006-08-26 17:47:53 +00:00
fredb
026a2bb4b0 Jean-Yves Lefort :
I have implemented a Honeywell MK VIII EGPWS emulation for FlightGear.
The MK VIII is an Enhanced Ground Proximity Warning System aimed at
regional turboprop and small turbofan aircrafts such as the Citation,
Citation Bravo, B1900D, Beechcraft 99 and L410.

Frederic Bouvier:
make the MSVC compilation possible. Rearrange base package directories.
2006-03-04 20:29:50 +00:00
mfranz
92c5097250 Stuart BUCHANAN: update; replace screenPrint with screen.log.write(); ... 2006-02-15 22:53:23 +00:00
ehofman
dfd4d87c8a Ron Jensen: energize the TACAN. 2006-02-03 08:44:26 +00:00
ehofman
7f11bb92db Stuart Buchanan:
- Provide generic Nasal code to check if a pilot is abusing their aircraft
  by extending their gear/flaps above the maximum allowed speed, exceeding
  Vne, or pulling excessive G-forces.
- Implement limits within the C182.
2006-01-06 09:47:58 +00:00
ehofman
fec91079ae Harald JOHNSEN: Add a (test) WxRadar instrument. 2005-10-08 12:13:43 +00:00
ehofman
f2fe8fbe39 Vivian Meazza:
This adds a TACAN instrument to the inventory. Range and bearing are calculated
to the TACAN or VORTAC beacon selected by means of the Channel Selector in the E
quipment/Radio pull-down menu.

A TACAN beacon has also been added to the aircraft carrier Nimitz (channel #029Y
).
2005-10-01 09:56:18 +00:00
curt
c77949a11d Specify a default generic electrical system model here rather than in the
aircraft-set.xml files.
2005-06-14 18:01:34 +00:00
ehofman
5999a302a9 Reference Aircraft/Generic instead of Aircraft/c172 2005-02-19 12:58:39 +00:00
ehofman
d71f743d62 First step towards untiing the c172/c182 knot 2005-02-19 10:03:53 +00:00
curt
69956c445c Missed some instrumentation overall changes. 2004-12-04 20:08:37 +00:00
curt
789560ea22 Roy Vegard Ovesen:
I've finished the emigration of the radiostack, and I've also removed it
completely. It turned out that the comm radio is completely implemented in
the ATC subsystem. I've changed the affected ATC files to point
to /instrumentation/com, but I guess that the maintainer of the ATC code
should decide wether to make it configureable, and how.

I also had to change some files in Network and Main. The changes in network
should be obvious, but the changes in Main were a bit suspect. The files
included radiostack.hxx, but they weren't directly depending on
radiostack-hxx. They were depending on other files that were included by
radiostack.hxx. I got it to compile, but I'm not sure if I included the
correct directly depending file.

For the data directory I changed every occurrence of /radios/
with /instrumentation/ with this simple one-liner that I found on the net:

find -name '*.xml' -type f | xargs perl -pi -e
's/\/radios\//\/instrumentation\//g'

Instead of me sending all the files that got changed by this I suggest that
you execute the one-liner yourself. Of course I can not guarantee that this
will work perfectly, but I considered hand editing to be not an option (I'm
lazy). I don't want to test every aircraft to see if everything still works,
I think it's better to wait and see if anyone complaints about broken nav
radios/instruments.
2004-12-03 21:25:48 +00:00
curt
c93544468d Changes to match Roy Ovesen's instrumentation code and property name changes. 2004-11-19 23:05:07 +00:00
ehofman
661617a94e Roy Vegard Ovesen:
I've made an encoder and a transponder. The transponder gets C-Mode altitude
information from the encoder. These two might not be very usefull right now,
but I think they might come in handy when the ATC network gets going.
2004-10-26 12:06:13 +00:00
ehofman
ff4e599eb0 Roy Vegard Ovesen:
Instrumentation and systems are now configureable from xml files. The two
generic configurations generic-systems.xml and generic-instrumentation.xml
configures the systems and instrumentation as it was hardcoded. You can
override the generic configurations in a similar way as you override the
autopilot configuration.
2004-10-16 12:37:46 +00:00
curt
dc1197e2b2 Update various electrical system configurations to reflect code changes
supporting a per engine master alt/bat switch.
2004-04-02 16:22:55 +00:00
jimw
882c740c8f Add a generic vertical speed control. Power up the gps. 2004-03-21 22:17:09 +00:00
curt
29dbe6d379 So far I haven't been able to make the new PID algorithm work well for
tasks that should be purely proportional.  So I added support for my old
ultra-simplistic PI controller.  This does wonders for stage #1 of the
altitude and AGL hold.
2004-02-23 02:05:21 +00:00
curt
a180a0d659 Default autopilot tweaks. 2004-02-07 21:48:39 +00:00
curt
92f12971c1 Fixes to altitude and AGL hold modes. 2004-02-04 16:22:36 +00:00
curt
0edffe03ab Fix a small oops that didn't actually affect operation. 2004-02-03 19:28:39 +00:00
curt
9250e42c8a Initial revision. 2004-02-01 04:58:15 +00:00
curt
76a08b6467 Autopilot overhaul. 2004-01-31 19:55:13 +00:00
curt
ce50896308 Electrical system configuration updates. 2003-11-17 21:09:40 +00:00
david
8118e6a482 Fix to use renamed /control properties. 2003-04-01 15:46:50 +00:00
curt
e583e70d24 Updates to the "Generic" electrical system to make it current with recent
electrical system code changes.
2003-03-01 19:46:48 +00:00
j4strngs
7d3371137c Add directory for generic configs for subsystems 2002-10-24 03:31:00 +00:00