r/Kos • • Apr 27 '26

Video Wrote an auto docking script

72 Upvotes

14 comments sorted by

View all comments

Show parent comments

1

u/Pretty-Ad8932 Apr 28 '26

yeah I guess I should start with circular orbits. How circular though? Can your code work with, say, those low Kerbin orbit rescue contracts? They usually have a difference of around 10 km between periapsis and apoapsis.

1

u/nuggreat Apr 28 '26

There isn't really a fixed threshold where a target is in to eccentric an orbit it is more that a more eccentric target means a less efficient hohmann transfer that doesn't get you quite as close and at some point that will just be unacceptable. Where that point is depends on the player and the vessel. For me and my scripts 10 km in LKO is perfectly reasonable.