space_ex v0.3.0 SpaceEx.InfernalRobotics.Servo

Represents a servo.

Obtained using SpaceEx.InfernalRobotics.ServoGroup.servos/2, SpaceEx.InfernalRobotics.ServoGroup.servo_with_name/3 or SpaceEx.InfernalRobotics.servo_with_name/3.

Link to this section Summary

Functions

The current speed multiplier set in the UI

The speed multiplier of the servo, specified by the part configuration

The current speed at which the servo is moving

Whether the servos axis is inverted

Whether the servo is freely moving

Whether the servo is locked

Whether the servo is moving

The maximum position of the servo, specified by the part configuration

The maximum position of the servo, specified by the in-game tweak menu

The minimum position of the servo, specified by the part configuration

The minimum position of the servo, specified by the in-game tweak menu

Moves the servo to the center

Moves the servo to the left

Moves the servo to the next preset

Moves the servo to the previous preset

Moves the servo to the right

Moves the servo to position and sets the speed multiplier to speed

The name of the servo

The part containing the servo

The position of the servo

The current speed multiplier set in the UI

The current speed at which the servo is moving

Whether the servo should be highlighted in-game

Whether the servos axis is inverted

Whether the servo is locked

The maximum position of the servo, specified by the in-game tweak menu

The minimum position of the servo, specified by the in-game tweak menu

The name of the servo

The speed multiplier of the servo, specified by the in-game tweak menu

The speed multiplier of the servo, specified by the in-game tweak menu

Stops the servo

Link to this section Functions

Link to this function acceleration(conn, this)

The current speed multiplier set in the UI.

Link to this function config_speed(conn, this)

The speed multiplier of the servo, specified by the part configuration.

Link to this function current_speed(conn, this)

The current speed at which the servo is moving.

Link to this function is_axis_inverted(conn, this)

Whether the servos axis is inverted.

Link to this function is_free_moving(conn, this)

Whether the servo is freely moving.

Link to this function is_locked(conn, this)

Whether the servo is locked.

Link to this function is_moving(conn, this)

Whether the servo is moving.

Link to this function max_config_position(conn, this)

The maximum position of the servo, specified by the part configuration.

Link to this function max_position(conn, this)

The maximum position of the servo, specified by the in-game tweak menu.

Link to this function min_config_position(conn, this)

The minimum position of the servo, specified by the part configuration.

Link to this function min_position(conn, this)

The minimum position of the servo, specified by the in-game tweak menu.

Link to this function move_center(conn, this)

Moves the servo to the center.

Link to this function move_left(conn, this)

Moves the servo to the left.

Link to this function move_next_preset(conn, this)

Moves the servo to the next preset.

Link to this function move_prev_preset(conn, this)

Moves the servo to the previous preset.

Link to this function move_right(conn, this)

Moves the servo to the right.

Link to this function move_to(conn, this, position, speed)

Moves the servo to position and sets the speed multiplier to speed.

  • position — The position to move the servo to.

  • speed — Speed multiplier for the movement.

Link to this function name(conn, this)

The name of the servo.

Link to this function part(conn, this)

The part containing the servo.

Link to this function position(conn, this)

The position of the servo.

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

The current speed multiplier set in the UI.

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

The current speed at which the servo is moving.

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

Whether the servo should be highlighted in-game.

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

Whether the servos axis is inverted.

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

Whether the servo is locked.

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

The maximum position of the servo, specified by the in-game tweak menu.

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

The minimum position of the servo, specified by the in-game tweak menu.

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

The name of the servo.

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

The speed multiplier of the servo, specified by the in-game tweak menu.

Link to this function speed(conn, this)

The speed multiplier of the servo, specified by the in-game tweak menu.

Link to this function stop(conn, this)

Stops the servo.