Service#

Provides functionality to interact with Infernal Robotics Next.

InfernalRobotics.getAvailable()#

Whether Infernal Robotics is installed.

Property:

Read-only, cannot be set

Return type:

boolean

InfernalRobotics.servoGroups(vessel)#

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

Arguments:
Return type:

Array of InfernalRobotics.ServoGroup

Game Scenes:

Flight

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.

InfernalRobotics.servoGroupWithName(vessel, name)#

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

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

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

Return type:

InfernalRobotics.ServoGroup or null

Game Scenes:

Flight

InfernalRobotics.servoWithName(vessel, name)#

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

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

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

Return type:

InfernalRobotics.Servo or null

Game Scenes:

Flight