Michael
2017-01-26 10:55:00 UTC
Hi,
This follows the thread started on the forum [*], which confirmed that
there was a problem with almost every aircraft model regarding the MP prop
for selected XPDR mode.
[*] https://forum.flightgear.org/viewtopic.php?f=4&t=31492
<QUOTE>
prop 1503 never reflects any cockpit setting. It is mostly fixed to a value
1 or 2, and never changing. ACFT dev's mostly update plane-specific knob
properties but seem not to bother with what eventually ends up in MP
traffic. As I said, this problem has been around for years, and I have been
relying on other XPDR-related prop's to decide on how to deal with the
planes, mostly using what seemed like common (though undocumented---I
suspect mere copy-paste propagation) practice among dummy property values.
E.g. rules like "if 1501 is < -999, consider this mode A" or "if 1500 is <
0, consider XPDR off". Basically, discarding 1503 since it was consistently
UN-reliable.
The problem with this non-solution is that some planes are still not
covered (most 777s do not ever fill an altitude), and modes C and C+S are
technically undistinguishable. So I would love to clear that up if possible.
</QUOTE>
To help cleaning this up, I proposed the following spec for FGMS property
1503:
- int 0: off
- int 1: ground mode
- int 2: mode A (prop 1500 should contain a valid XPDR code)
- int 3: mode C (id. prop 1500 + prop 1501 should contain a valid std
pressure-alt)
- int 4: mode S (id. properties 1500 and 1501)
and created an ATC-pie Git branch "xpdr" implementing this clarified
behaviour. This way aircraft developers have a way to check their changes
in an actual MP set-up if they wish.
Does everybody agree on calling this an official requirement for the future?
Of course, some corrections will be needed on aircraft whose maintainers
will not respond. I have had some volunteering for this, and well-informed
people seemed to say it was not too bad. But we can also remove the prop
all together if it is easier. Up to the radar clients then to decide what
to do and show.
This follows the thread started on the forum [*], which confirmed that
there was a problem with almost every aircraft model regarding the MP prop
for selected XPDR mode.
[*] https://forum.flightgear.org/viewtopic.php?f=4&t=31492
<QUOTE>
prop 1503 never reflects any cockpit setting. It is mostly fixed to a value
1 or 2, and never changing. ACFT dev's mostly update plane-specific knob
properties but seem not to bother with what eventually ends up in MP
traffic. As I said, this problem has been around for years, and I have been
relying on other XPDR-related prop's to decide on how to deal with the
planes, mostly using what seemed like common (though undocumented---I
suspect mere copy-paste propagation) practice among dummy property values.
E.g. rules like "if 1501 is < -999, consider this mode A" or "if 1500 is <
0, consider XPDR off". Basically, discarding 1503 since it was consistently
UN-reliable.
The problem with this non-solution is that some planes are still not
covered (most 777s do not ever fill an altitude), and modes C and C+S are
technically undistinguishable. So I would love to clear that up if possible.
</QUOTE>
To help cleaning this up, I proposed the following spec for FGMS property
1503:
- int 0: off
- int 1: ground mode
- int 2: mode A (prop 1500 should contain a valid XPDR code)
- int 3: mode C (id. prop 1500 + prop 1501 should contain a valid std
pressure-alt)
- int 4: mode S (id. properties 1500 and 1501)
and created an ATC-pie Git branch "xpdr" implementing this clarified
behaviour. This way aircraft developers have a way to check their changes
in an actual MP set-up if they wish.
Does everybody agree on calling this an official requirement for the future?
Of course, some corrections will be needed on aircraft whose maintainers
will not respond. I have had some volunteering for this, and well-informed
people seemed to say it was not too bad. But we can also remove the prop
all together if it is easier. Up to the radar clients then to decide what
to do and show.