ServoGroup

class ServoGroup

A group of servos, obtained by calling InfernalRobotics.ServoGroups or InfernalRobotics.ServoGroupWithName. Represents the “Servo Groups” in the InfernalRobotics UI.

String Name { get; set; }

The name of the group.

Game Scenes:

Flight

String ForwardKey { get; set; }

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

Game Scenes:

Flight

String ReverseKey { get; set; }

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

Game Scenes:

Flight

Single Speed { get; set; }

The speed multiplier for the group.

Game Scenes:

Flight

Boolean Expanded { get; set; }

Whether the group is expanded in the InfernalRobotics UI.

Game Scenes:

Flight

IList<Servo> Servos { get; }

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 – Name of servo to find.

Game Scenes:

Flight

IList<SpaceCenter.Part> Parts { get; }

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