SpaceCenter#

Provides functionality to interact with Kerbal Space Program: vessels and their parts, celestial bodies and orbits, flight control, maneuver nodes and the auto-pilot.

Example#

The following example prints the name of the active vessel:

local krpc = require 'krpc'

local conn = krpc.connect('SpaceCenter Example')
print(conn.space_center.active_vessel.name)

Mods#

The SpaceCenter service supports several mods, such as Ferram Aerospace Research. The mods guide lists them, with the versions kRPC is tested with.