Julian Smith
e70a4c228c
Aircraft/Generic/aar.nas: open popup warning if no probe/boom specified.
...
Might help debugging when adding air-to-air refueling to an aircraft.
2020-05-01 20:13:35 +01:00
Richard Harrison
94d90fa85e
AAR: optimised engage/disgengage logic
2019-03-10 15:25:44 +01:00
Richard Harrison
dbcc7f6aee
AAR - optimisations
...
Only scan list of tankers when model added/removed; as otherwise it is a 3to10ms hit each time invoked.
2019-03-10 15:25:43 +01:00
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
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
Stuart Buchanan
9177ee698e
AAR bug - default fuel transfer rate to 6000 lbs per minute.
2013-04-10 23:11:12 +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
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
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
mfranz
6f6aef2fed
change from deprecated props.initNode() to props.Node.initNode()
2008-11-20 20:00:26 +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
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
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
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