Skip to content

Distant launch site not clear despite no nearby landed crafts #44

@throw3278away

Description

@throw3278away

KSP.log: KSP.log

Steps to reproduce:

  1. New KSP 1.12.5 with KK and Promised Worlds installed through CKAN. PW is there to provide a planet to build a launch site at interstellar distance from KSC. I suspect this will happen to any launch site at interstellar distance.
  2. Start a new sandbox save. Built a very simple craft: probe core + RTG. Launch craft.
  3. Turn unbreakable joints and ignore crash damage on. Cheat craft to Lapat lat = 0, lon = 0.
  4. Call up KK menu. Create a new group. Place down Level 3 Launchpad. Make it a launch site with very large maximum limits. Save before closing the KK window.
  5. Cheat the craft to orbit Lapat. Go back to space center. Double check the craft is indeed orbiting Lapat.
  6. Go into VAB. Open the new launch site. Try to launch the same craft from the drop down menu from the Green launch button.
  7. Get the not clear warning, despite the craft it claimed to be at the launch site is in fact orbiting the planet.
Image
  1. Click the clear launch site button. The new craft launches successfully, but on the map screen the orbiting craft is in fact recovered.

Additional Information
It seems that the distance check ran into issues at interstellar distance, as I saw the following lines in the log

KK: [LaunchSiteChecks] FindVesselsLandedAtKK: Found Vessel at Launchsite with distance: 0
[Pre-Flight Check]: Checking for LaunchSiteClear: FAIL!

The distance being 0 seems to suggest a possible a float point precision problem in FindVesselsLandedAtKK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions