# ServoGroup¶

class ServoGroup

A group of servos, obtained by calling servo_groups() or servo_group_with_name(). Represents the “Servo Groups” in the InfernalRobotics UI.

name

The name of the group.

Attribute: Can be read or written str Flight
forward_key

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

Attribute: Can be read or written str Flight
reverse_key

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

Attribute: Can be read or written str Flight
speed

The speed multiplier for the group.

Attribute: Can be read or written float Flight
expanded

Whether the group is expanded in the InfernalRobotics UI.

Attribute: Can be read or written bool Flight
servos

The servos that are in the group.

Attribute: Read-only, cannot be set list(Servo) Flight
servo_with_name(name)

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

Parameters: name (str) – Name of servo to find. Servo Flight
parts

The parts containing the servos in the group.

Attribute: Read-only, cannot be set list(SpaceCenter.Part) Flight
move_right()

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

Game Scenes: Flight
move_left()

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

Game Scenes: Flight
move_center()

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

Game Scenes: Flight
move_next_preset()

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

Game Scenes: Flight
move_prev_preset()

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

Game Scenes: Flight
stop()

Stops the servos in the group.

Game Scenes: Flight