Service#

Provides functionality to interact with Infernal Robotics Next.

GET /infernal-robotics/available#

Whether Infernal Robotics is installed.

Response JSON Object:
  • value (bool)

POST /infernal-robotics/servo-groups#

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.

Request JSON Object:
  • vessel (SpaceCenter.Vessel)

Response JSON Object:
  • value (list<InfernalRobotics.ServoGroup>)

POST /infernal-robotics/servo-group-with-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.

Request JSON Object:
  • vessel (SpaceCenter.Vessel) – Vessel to check.

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

Response JSON Object:
  • value (InfernalRobotics.ServoGroup?)

POST /infernal-robotics/servo-with-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.

Request JSON Object:
  • vessel (SpaceCenter.Vessel) – Vessel to check.

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

Response JSON Object:
  • value (InfernalRobotics.Servo?)