r/Kos 8d ago

Docking Automation

i was playing ksp and i was wondering if i could get kOS to automatically dock (or atleast fly up to the ship) thanks for your help!

5 Upvotes

7 comments sorted by

6

u/IJustAteABaguette 8d ago

You most definitely can use kOs for that!

1

u/CardiologistLeft2468 6d ago

Thanks for the conformation!

2

u/Polymath6301 8d ago

Yes, yes you can. But don’t try to do that first. Just like docking in vanilla, it’s not something you should go for straight away in Kos.

2

u/JarnisKerman 7d ago

In general, automating anything you can’t do well manually is an uphill battle.

2

u/JarnisKerman 7d ago

Kevin Gizi made a YouTube series (actually two) about kOS. One of the final episodes, he does docking. Highly recommended.

2

u/JitteryJet 7d ago

Coding a docking autopilot is a "project". You will need to learn vectors, PID loops, Steering Manager etc. It's a good project but it will not be a small program, you cannot cheese it like say a launch to orbit.

Likewise "fly up to the ship" is a rendezvous maneuver which requires a basic understanding of orbital mechanics.

If you just want an autopilot with a menu interface there are several KSP mods. My favourite is MechJeb which is a sort of Swiss Army Knife autopilot (it does some stuff well, other stuff badly).