InfernalRobotics#

This service provides functionality to interact with Infernal Robotics.

available: boolean#

Whether Infernal Robotics is installed.

Attribute:

Read-only, cannot be set

Return type:

boolean

ready: boolean#

Whether Infernal Robotics API is ready.

Attribute:

Read-only, cannot be set

Return type:

boolean

static servo_groups(vessel)#

A list of all the servo groups in the given vessel.

Parameters:

vessel (SpaceCenter.Vessel)

Return type:

List

Note

Works for any loaded vessel, not just the active one. Groups on a non-active vessel support movement and per-servo control, but not preset, key, speed-factor or expanded state, which are only tracked by Infernal Robotics for the active vessel.

static servo_group_with_name(vessel, name)#

Returns the servo group in the given vessel with the given name, or nil if none exists. If multiple servo groups have the same name, only one of them is returned.

Parameters:
  • vessel (SpaceCenter.Vessel) – Vessel to check.

  • name (string) – Name of servo group to find.

Return type:

InfernalRobotics.ServoGroup

static servo_with_name(vessel, name)#

Returns the servo in the given vessel with the given name or nil if none exists. If multiple servos have the same name, only one of them is returned.

Parameters:
  • vessel (SpaceCenter.Vessel) – Vessel to check.

  • name (string) – Name of the servo to find.

Return type:

InfernalRobotics.Servo