
[KSC in the wrong place, rest of the ground stations have snapped back to starting position, but they drift as well.]
When in a flight scene in low lunar orbit, ground stations (and the KSC) will begin to change surface position when entering timewarp. RealAntennas will very occasionally correct the ground stations back to their proper location, but antenna pointing (lat/long) and the KSC location remain incorrect until scene switching back to the Tracking Station (or possibly some other conditions).
I'm not sure whether to file this as a Principia issue or a RealAntennas issue. It does seem to affect the apparent KSC location, so I'm going to file it as a Principia issue for now. If it's a RealAntennas issue (improperly setting positions) I'll move it over there.
As far as I can tell the issue starts occurring somewhere in the lunar SoI; I originally reproduced this bug while doing a crewed lunar orbit with Skopos2 active. SLA broke for half my connections and I assumed I needed a stationkeeping pass, I did a stationkeeping pass, and it immediately broke again when I switched back to the crewed craft in low lunar orbit. I then noticed that my C-band spot beams weren't routing any connections, so I tried to tweak their lat/long targeting (while still in the flight scene of the lunar craft) and noticed that the actual spot beam targets didn't match up at all with the lat/long positions. The issue (mostly) disappears once you leave the relevant craft.
Reproduction:
Install Express RP-1 and Principia (Legendre). Make a new sandbox save, and launch two vessels. One should enter a low lunar orbit (<100km sea-level altitude in my tests), and the other should enter a geostationary orbit.
I used the following procedure for setting the necessary orbits.
- Turn on Hack Gravity.
- Set the orbit of the vessel. For the lunar orbit, I used a 0km SMA and let the cheat menu kick it up to an acceptable SMA for orbit. For the geostationary orbit, I used an SMA of 42164172m. These don't need to be stable or accurate.
- Turn off Hack Gravity.
In the video, to save a few scene switches, I put the two probes on the same craft and decouple them; it doesn't particularly matter. I was able to reproduce it earlier with two separate crafts as well.
The geostationary satellite is here to demonstrate what happens to lat/lon targeting; it doesn't particularly matter where it is. Target the antenna on the geostationary satellite to any visible ground station. I used Cape Canaveral, so 28lat/-81lon.
Switch to the lunar vessel's flight scene, and enter the mapview. The KSC should have suddenly moved to the middle of the Pacific. If you start rails-warping, the ground stations will also start migrating across the surface. RealAntennas will snap them back to the correct position occasionally, but the targeting will stay at the new location (and therefore still be broken). This bug is retained for a moment when returning to the Tracking Station, but RealAntennas will eventually snap all of the stations back into the proper position.
Video of start-to-finish of the bug: https://drive.google.com/file/d/18ZbONnTK6S-yeWZ7w7IgYrM0IU-lnOVY/view?usp=sharing
[set-up ends around 5m20s into the video]
Relevant files and logs:
surface-logs.zip
When in a flight scene in low lunar orbit, ground stations (and the KSC) will begin to change surface position when entering timewarp. RealAntennas will very occasionally correct the ground stations back to their proper location, but antenna pointing (lat/long) and the KSC location remain incorrect until scene switching back to the Tracking Station (or possibly some other conditions).
I'm not sure whether to file this as a Principia issue or a RealAntennas issue. It does seem to affect the apparent KSC location, so I'm going to file it as a Principia issue for now. If it's a RealAntennas issue (improperly setting positions) I'll move it over there.
As far as I can tell the issue starts occurring somewhere in the lunar SoI; I originally reproduced this bug while doing a crewed lunar orbit with Skopos2 active. SLA broke for half my connections and I assumed I needed a stationkeeping pass, I did a stationkeeping pass, and it immediately broke again when I switched back to the crewed craft in low lunar orbit. I then noticed that my C-band spot beams weren't routing any connections, so I tried to tweak their lat/long targeting (while still in the flight scene of the lunar craft) and noticed that the actual spot beam targets didn't match up at all with the lat/long positions. The issue (mostly) disappears once you leave the relevant craft.
Reproduction:
Install Express RP-1 and Principia (Legendre). Make a new sandbox save, and launch two vessels. One should enter a low lunar orbit (<100km sea-level altitude in my tests), and the other should enter a geostationary orbit.
I used the following procedure for setting the necessary orbits.
In the video, to save a few scene switches, I put the two probes on the same craft and decouple them; it doesn't particularly matter. I was able to reproduce it earlier with two separate crafts as well.
The geostationary satellite is here to demonstrate what happens to lat/lon targeting; it doesn't particularly matter where it is. Target the antenna on the geostationary satellite to any visible ground station. I used Cape Canaveral, so 28lat/-81lon.
Switch to the lunar vessel's flight scene, and enter the mapview. The KSC should have suddenly moved to the middle of the Pacific. If you start rails-warping, the ground stations will also start migrating across the surface. RealAntennas will snap them back to the correct position occasionally, but the targeting will stay at the new location (and therefore still be broken). This bug is retained for a moment when returning to the Tracking Station, but RealAntennas will eventually snap all of the stations back into the proper position.
Video of start-to-finish of the bug: https://drive.google.com/file/d/18ZbONnTK6S-yeWZ7w7IgYrM0IU-lnOVY/view?usp=sharing
[set-up ends around 5m20s into the video]
Relevant files and logs:
surface-logs.zip