
I found and followed a fantastic tutorial by TAPE Gaming which helps you with setting up Python on your operating system and configuring Kerbal Space Program in order to properly run the kRPC mod. Clients, made by others, are also available for Ruby and Haskell.
KERBAL SPACE PROGRAM KOS MOD
The mod that allows you to do this is called kRPC and it is reminiscent of an older mod for KSP called kOS (Kerbal operating System), but what makes kRPC superior to kOS is that instead of using its own unique language it comes with client libraries for many popular languages including C#, C++, Java, Lua and Python. Kerbal Space Program (KSP) is a space flight simulation video game developed by Mexican developer Squad for Microsoft Windows, macOS, Linux, PlayStation 4, and Xbox One.In the game, players direct a nascent space program, staffed and crewed by green humanoid aliens known as 'Kerbals'. This is also the home of our Flight Tracker/Crew Roster repository. For larger scripts dedicated to complex operations we have combined them into projects. 'steer' is the variable used to store target direction, using many functions in the form of set steer to heading (90, 90).

I ran the command print steer (pitch) at (0, 3). One of my favorite games to learn with and pass the time is Kerbal Space Program, and a computer language that I have been learning recently is Python It should be no surprise that I immediately looked for a way to integrate the two and lucky for me there was a mod that could interpret the Python language and use it to conduct your space missions for you: learn to code and launch rockets? YES PLEASE. We continuously experiment with scripts for kOS and share all of our code via Github. Im writing a kOS script to launch and land a booster, and Im currently working on the display. It allows you write small programs that automate specific tasks. LaserDist 1.3.1 for KSP 1.6.

Adds a Laser distance measuring part intended for use with kOS and other autopilot mods.

OhScrap 1.0 for KSP 1.12.3 History of Spaceflight Stock A contract pack recreating almost all real-life. My favorite that does exactly as you mention is KOs (Kerbal OS). kOS is a scriptable autopilot Mod for Kerbal Space Program. Using ScrapYard for Kerbal Space Program.
KERBAL SPACE PROGRAM KOS HOW TO
There you will find details about commands and how to use them. Some of my favorite hobbies are the ones that involve playing games and picking up practical skills, and it’s even better when I can enjoy both at the same time. There are a lot of mods that allow you to do exactly that. Once you know how kOS generally works the wiki is really the most important site.
