ServoGroup#

public class ServoGroup#

A group of servos, obtained by calling servoGroups(SpaceCenter.Vessel) or servoGroupWithName(SpaceCenter.Vessel, String). Represents the “Servo Groups” in the InfernalRobotics UI.

String getName()#
void setName(String value)#

The name of the group.

Game Scenes:

Flight

String getForwardKey()#
void setForwardKey(String value)#

The key assigned to be the “forward” key for the group.

Game Scenes:

Flight

String getReverseKey()#
void setReverseKey(String value)#

The key assigned to be the “reverse” key for the group.

Game Scenes:

Flight

float getSpeed()#
void setSpeed(float value)#

The speed multiplier for the group.

Game Scenes:

Flight

boolean getExpanded()#
void setExpanded(boolean value)#

Whether the group is expanded in the InfernalRobotics UI.

Game Scenes:

Flight

java.util.List<Servo> getServos()#

The servos that are in the group.

Game Scenes:

Flight

Servo servoWithName(String name)#

Returns the servo with the given name from this group, or null if none exists.

Parameters:
  • name (String) – Name of servo to find.

Game Scenes:

Flight

java.util.List<SpaceCenter.Part> getParts()#

The parts containing the servos in the group.

Game Scenes:

Flight

void moveRight()#

Moves all of the servos in the group to the right.

Game Scenes:

Flight

void moveLeft()#

Moves all of the servos in the group to the left.

Game Scenes:

Flight

void moveCenter()#

Moves all of the servos in the group to the center.

Game Scenes:

Flight

void moveNextPreset()#

Moves all of the servos in the group to the next preset.

Game Scenes:

Flight

void movePrevPreset()#

Moves all of the servos in the group to the previous preset.

Game Scenes:

Flight

void stop()#

Stops the servos in the group.

Game Scenes:

Flight