HHS81 / c182s

Cessna C182S (1996 model) for FlightGear
GNU General Public License v2.0
26 stars 9 forks source link

Issue564 avionics fan #566

Closed hbeni closed 6 months ago

hbeni commented 7 months ago

C182t specific


hbeni commented 7 months ago

Tested and looking all good

(edit: also the failure manager addition from 3e05722)

hbeni commented 7 months ago

Have seen on the C172, that the GPUs power should only be available with the master switch on. -> Need to verify if that is the case for the C182 too; but I suspect, it is.

EDIT: Verified, 7-37 tells us this. grafik

Edit2: See also the research here: https://github.com/HHS81/c182s/issues/565#issuecomment-1975983154

hbeni commented 7 months ago

~Also, the annunciator panel has power even without power :)~

Edit: If the battery supplies 12 volts, the panel can still work.

hbeni commented 7 months ago

Hi @wlbragg, Maybe this "combined rocker switch" implementation is of interest for the C172 master switch. This implementation here has the possibilities: a) to make the split-behaviour user choosable via an option in the aircraft menu b) in the combined mode, always both switches are toggled together c) adds shift-click mode to change the clicked single rocker switch in the "combined- mode"; and "switch both" in "split-mode". The current behavior is indicated in the tooltip.

Currently the C172 rocker switch is a little "erratic" in my opinion:

So to switch on both, you need to click ALT, to switch off both, you need to click BAT. This is "logical" if you follow a flow from left to right to switch on, and right to left to switch off. But it is not documented somewhere, and not obvious from the simulator state (unless you play with it). Maybe a more consistent approach would be sensible, like "always operate both, regardless which button you click; unless you press shift", and to gibe the user the choice to change to a "single operations mode".

If you like to change the behavior, let me know and I file a PR.

TheFGFSEagle commented 7 months ago

A little off-topic, I know, but - does anyone know how to add newlines in tooltips ? Are they supported at all ? If I use a \n linefeed it is shown as-is, instead of producing a newline.

hbeni commented 7 months ago

Eagle, you need to make the tooltip via nasal, there the \n is parsed. See the tooltip of the master switch in this very pr

TheFGFSEagle commented 7 months ago

… or use a literal newline - it's because FG doesn't interpret node text, thanks for the tip ! :D

hbeni commented 6 months ago

Long test flight at wednesday was OK