space_ex v0.8.0 SpaceEx.InfernalRobotics.ServoGroup
A group of servos, obtained by calling SpaceEx.InfernalRobotics.servo_groups/2
or SpaceEx.InfernalRobotics.servo_group_with_name/3.
Represents the “Servo Groups” in the InfernalRobotics UI.
Link to this section Summary
Functions
Whether the group is expanded in the InfernalRobotics UI
The key assigned to be the “forward” key for the group
Moves all of the servos in the group to the center
Moves all of the servos in the group to the left
Moves all of the servos in the group to the next preset
Moves all of the servos in the group to the previous preset
Moves all of the servos in the group to the right
The name of the group
The parts containing the servos in the group
The key assigned to be the “reverse” key for the group
Returns the servo with the given name from this group,
or nil if none exists
The servos that are in the group
Whether the group is expanded in the InfernalRobotics UI
The key assigned to be the “forward” key for the group
The name of the group
The key assigned to be the “reverse” key for the group
The speed multiplier for the group
The speed multiplier for the group
Stops the servos in the group
Link to this section Functions
Whether the group is expanded in the InfernalRobotics UI.
Returns: true or false
The key assigned to be the “forward” key for the group.
Returns: a string
Moves all of the servos in the group to the center.
Returns: :ok
Moves all of the servos in the group to the left.
Returns: :ok
Moves all of the servos in the group to the next preset.
Returns: :ok
Moves all of the servos in the group to the previous preset.
Returns: :ok
Moves all of the servos in the group to the right.
Returns: :ok
The name of the group.
Returns: a string
The parts containing the servos in the group.
Returns: [part, ...], where part is a reference to a SpaceEx.SpaceCenter.Part object
The key assigned to be the “reverse” key for the group.
Returns: a string
Returns the servo with the given name from this group,
or nil if none exists.
name— Name of servo to find.
Returns: a reference to a SpaceEx.InfernalRobotics.Servo object
The servos that are in the group.
Returns: [servo, ...], where servo is a reference to a SpaceEx.InfernalRobotics.Servo object
Whether the group is expanded in the InfernalRobotics UI.
Returns: :ok
The key assigned to be the “forward” key for the group.
Returns: :ok
The name of the group.
Returns: :ok
The key assigned to be the “reverse” key for the group.
Returns: :ok
The speed multiplier for the group.
Returns: :ok
The speed multiplier for the group.
Returns: a low-precision decimal
Stops the servos in the group.
Returns: :ok