space_ex v0.4.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

Link to this function expanded(conn, this)

Whether the group is expanded in the InfernalRobotics UI.

Link to this function forward_key(conn, this)

The key assigned to be the "forward" key for the group.

Link to this function move_center(conn, this)

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

Link to this function move_left(conn, this)

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

Link to this function move_next_preset(conn, this)

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

Link to this function move_prev_preset(conn, this)

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

Link to this function move_right(conn, this)

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

Link to this function name(conn, this)

The name of the group.

Link to this function parts(conn, this)

The parts containing the servos in the group.

Link to this function reverse_key(conn, this)

The key assigned to be the "reverse" key for the group.

Link to this function servo_with_name(conn, this, name)

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

  • name — Name of servo to find.
Link to this function servos(conn, this)

The servos that are in the group.

Link to this function set_expanded(conn, this, value)

Whether the group is expanded in the InfernalRobotics UI.

Link to this function set_forward_key(conn, this, value)

The key assigned to be the "forward" key for the group.

Link to this function set_name(conn, this, value)

The name of the group.

Link to this function set_reverse_key(conn, this, value)

The key assigned to be the "reverse" key for the group.

Link to this function set_speed(conn, this, value)

The speed multiplier for the group.

Link to this function speed(conn, this)

The speed multiplier for the group.

Link to this function stop(conn, this)

Stops the servos in the group.