space_ex v0.8.0 SpaceEx.InfernalRobotics.Servo
Represents a servo.
Obtained using
SpaceEx.InfernalRobotics.ServoGroup.servos/1,
SpaceEx.InfernalRobotics.ServoGroup.servo_with_name/2
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
The current speed multiplier set in the UI.
Returns: a low-precision decimal
The speed multiplier of the servo, specified by the part configuration.
Returns: a low-precision decimal
The current speed at which the servo is moving.
Returns: a low-precision decimal
Whether the servos axis is inverted.
Returns: true or false
Whether the servo is freely moving.
Returns: true or false
Whether the servo is locked.
Returns: true or false
Whether the servo is moving.
Returns: true or false
The maximum position of the servo, specified by the part configuration.
Returns: a low-precision decimal
The maximum position of the servo, specified by the in-game tweak menu.
Returns: a low-precision decimal
The minimum position of the servo, specified by the part configuration.
Returns: a low-precision decimal
The minimum position of the servo, specified by the in-game tweak menu.
Returns: a low-precision decimal
Moves the servo to the center.
Returns: :ok
Moves the servo to the left.
Returns: :ok
Moves the servo to the next preset.
Returns: :ok
Moves the servo to the previous preset.
Returns: :ok
Moves the servo to the right.
Returns: :ok
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.
Returns: :ok
The name of the servo.
Returns: a string
The part containing the servo.
Returns: a reference to a SpaceEx.SpaceCenter.Part object
The position of the servo.
Returns: a low-precision decimal
The current speed multiplier set in the UI.
Returns: :ok
The current speed at which the servo is moving.
Returns: :ok
Whether the servo should be highlighted in-game.
Returns: :ok
Whether the servos axis is inverted.
Returns: :ok
Whether the servo is locked.
Returns: :ok
The maximum position of the servo, specified by the in-game tweak menu.
Returns: :ok
The minimum position of the servo, specified by the in-game tweak menu.
Returns: :ok
The name of the servo.
Returns: :ok
The speed multiplier of the servo, specified by the in-game tweak menu.
Returns: :ok
The speed multiplier of the servo, specified by the in-game tweak menu.
Returns: a low-precision decimal
Stops the servo.
Returns: :ok