TURNING KERBAL space PROGRAM into A proper space SIMULATOR

Posted On
Posted By bqwwu

Kerbal space Program – the game of freakin’ space Lego and incompetent little green men – has seen a lot of popularity since it was on the steam summer sale. Now, in a bid to out do the flight sim aficionados who build 737 cockpits in their garage, a few enterprising Kerbalnauts are building custom controllers for this wonderful introduction to [Tsiolkovsky], [Goddard], and [Evel Kinevel].

[vladoportos] thought KSP could use custom gaming controllers to provide switches for staging, attitude hold, and reaction control system commands. In the game, these are toggled by keyboard input, but this unfortunately destroys the immersion of being a rocket-powered angel of death for your Kerbal volunteers. He rigged up an Arduino Leonardo to send USB HID commands to his computer whenever he pressed one of the buttons connected to his breadboard controller. It’s a work in progress, but [vladoportos] has some big plans that include a physical nav ball to show his ship’s orientation in space.

USB input is one thing, but that’s only half the problem. If you want to build a real Kerbal ship simulator, you’ll need to get data out of the game, and into your glass or analog displays. [voneiden] over on the KSP subreddit has the solution for you. He’s been working on a ‘mission control’ app that runs in Python, connects to a Kerbal space Program plugin over TCP, and displays flight information such as speed, altitude, longitude, latitude, apoapsis, and periapsis.  The code is up on his git, ready for some individual to bring this over to a Raspi and a character LCD display.

leave a Comment