Skip to content

isHome =/= is a ground station, add eventvoid hook to signal when the network updates#70

Open
periodically-makes-puns wants to merge 2 commits intoKSP-RO:masterfrom
periodically-makes-puns:even-more-skopos-fixes
Open

isHome =/= is a ground station, add eventvoid hook to signal when the network updates#70
periodically-makes-puns wants to merge 2 commits intoKSP-RO:masterfrom
periodically-makes-puns:even-more-skopos-fixes

Conversation

@periodically-makes-puns

Fixes for Skopos, and the hook needed for mockingbirdnest/Skopos#70.

This formally distinguishes between "ground stations" and "homes". Checks that appear to apply to all ground stations (and not just "homes") now check the isGroundStation flag, which checks if ParentBody is not null.

Two non-trivial usages of CommNode.isHome are currently left unmodified:

  • RealAntenna.LoadFromConfigNode: I am not confident that the ParentNode is fully initialised when we call this function.
  • RATools.HighestGainCompatibleDSNAntenna: The function name appears to imply it is intended for "home" antennas, though it is currently unused in the code (?).

I don't think replacing the isHome usages in Physics.cs actually changed any calculations? When I checked a link with low antenna elevation and high beamwidth (GEO sat to Bering Sea ship), it had no impact on the calculated noise temperature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant