Menu

#2256 FGCom doesn't handle COM failure

2020.2
Started
Low
2024-07-29
2020-05-28
No

Hello,
i played around a little with FGCom and noticed, that it seems to ignore the serviceable and the power-btn property of the selected radio.
Shouldn't FGCom cease to function once the radio is out of order or has no power/turned off?

I think this might easily be implemented: in fgcom.cxx in function FGCom::setupCommFrequency there should be a check for the selected radios properties as mentioned above. If its not "on", then it should be treaten as disconnect?

Discussion

  • James Turner

    James Turner - 2020-05-29

    FGCom is currently unmaintained, if you want to submit a patch to handle these issues, it would be most welcome.

     
  • Benedikt Hallinger

    :( i think i'm not good enough to code that in c unfortunately.
    Besides that, i seem to have issues with my FGCom installation or my hardware, i cannot hear me with the echo server, so have no idea ho i would test this.

     
  • Benedikt Hallinger

    So.... four years later I finally think I got this implemented.

    Repo: https://beni.hallinger.org/git/flightgear.git
    Branch: SF-2256_FGCom-handleFailure

     
  • Benedikt Hallinger

    • status: New --> Started
    • assigned_to: Benedikt Hallinger
     

Log in to post a comment.

MongoDB Logo MongoDB