Service#

Provides functionality to interact with Infernal Robotics Next.

InfernalRobotics.available: boolean#

Whether Infernal Robotics is installed.

Attribute:

Read-only, cannot be set

staticmethod InfernalRobotics.servo_groups(vessel: SpaceCenter.Vessel): List#

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

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.

staticmethod InfernalRobotics.servo_group_with_name(vessel: SpaceCenter.Vessel, name: string): InfernalRobotics.ServoGroup | nil#

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 – Vessel to check.

  • name – Name of servo group to find.

staticmethod InfernalRobotics.servo_with_name(vessel: SpaceCenter.Vessel, name: string): InfernalRobotics.Servo | nil#

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 – Vessel to check.

  • name – Name of the servo to find.