MaraRinn / My-KSP-kOS-scripts

My collection of random junk for Kerbal OS.
0 stars 1 forks source link

Arrange relay satellites neatly #25

Open MaraRinn opened 3 years ago

MaraRinn commented 3 years ago

Goals:

Special Cases:

MaraRinn commented 3 years ago

Forgot the special cases!

MaraRinn commented 3 years ago

Since this is the station-keeping script I'll work with the assumption that the vessel has been deployed in close to the right position.

MaraRinn commented 4 months ago

So many special cases. Current station-keeping script tries to move away from a too-close neighbour but really it should probably try to optimise movement for the whole constellation.

See branch relay-work for current progress.

MaraRinn commented 3 months ago

New case: Neighbours are -111 and +123

Should try to close the gap from 123 to 120 instead of opening the gap from -111 to -120, look for the smallest change rather than the closest neighbour

MaraRinn commented 3 months ago

How to handle Ike?

  1. If one of the neighbours is a Body instead of a Vessel
    1. If both neighbours are in the same direction always open up the angle to the closest neighbour
    2. If both neighbours are in opposite directions always open up the angle to the body, with the change in angle capped by distance to the other neighbour

There's also the "ignore the problem" approach of launching the relay satellites to a higher or lower orbit than Ike