InfernalRobotics

class InfernalRobotics : public krpc::Service

This service provides functionality to interact with Infernal Robotics.

InfernalRobotics(krpc::Client *client)

Construct an instance of this service.

bool available()

Whether Infernal Robotics is installed.

Game Scenes:

Flight

bool ready()

Whether Infernal Robotics API is ready.

Game Scenes:

Flight

std::vector<ServoGroup> servo_groups(SpaceCenter::Vessel vessel)

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

Parameters:

Game Scenes:

Flight

ServoGroup servo_group_with_name(SpaceCenter::Vessel vessel, std::string 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.

Parameters:
  • vessel – Vessel to check.

  • name – Name of servo group to find.

Game Scenes:

Flight

Servo servo_with_name(SpaceCenter::Vessel vessel, std::string 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.

Parameters:
  • vessel – Vessel to check.

  • name – Name of the servo to find.

Game Scenes:

Flight