Open jd284 opened 8 years ago
+1. I support this. I really miss this feature. Now I have to use my eye to find out when to launch.
I would appreciate this too. However generally the new release has performed perfectly for me so far and thanks for the efforts to date!
On Thu, 20 Oct 2016, 18:54 Péter Szabados, notifications@github.com wrote:
+1. I support this. I really miss this feature. Now I have to use my eye to find out when to launch.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CYBUTEK/KerbalEngineer/issues/108#issuecomment-255015593, or mute the thread https://github.com/notifications/unsubscribe-auth/AFwVhq2ezBN4HL31-96GexAFp2efK83Hks5q1wH6gaJpZM4KM5a8 .
I've noticed since posting this that Kerbal Alarm Clock has such a feature, and given its MIT license there should be no problem integrating the code. The code is in MechJebAscentAutopilot.cs which suggest that it was originally lifted from MechJeb...
I've added this and it's amazing. I tried getting my head around a way to distinguish 'ascending' (northward) or 'descending' (southward) launches but I'm just not familiar enough with KSP's frames of reference and calculations available to come up with a solution to that in a reasonable amount of time.
So when landed and targeting something within the same SOI the time to AN/DN will be replaced with the same time. It looks like "(Launch) 2h 41m 00s" .
I made some adjustments, the AN readout will always be the next intercept and the DN readout the one after that. The AN readout will go negative up to 1/4 rotation period since it's nicer to know the intercept was 3 minutes ago instead of 2hrs 57 minutes from now.
For landed (or splashed) vessels, it would be nice to have a readout in the "rendezvous" category that shows when the planet will have rotated so that the vessel is under the target orbit, i.e. when we can launch directly into the target orbit.
Either:
Maybe the new readout could be "Time to Intersect", showing time to launch when landed and time to nearest AN/DN otherwise.