Servo¶
- class Servo¶
Represents a servo. Obtained using
ServoGroup.Servos
,ServoGroup.ServoWithName
orInfernalRobotics.ServoWithName
.- SpaceCenter.Part Part { get; }¶
The part containing the servo.
- Game Scenes:
Flight
- Single MinConfigPosition { get; }¶
The minimum position of the servo, specified by the part configuration.
- Game Scenes:
Flight
- Single MaxConfigPosition { get; }¶
The maximum position of the servo, specified by the part configuration.
- Game Scenes:
Flight
- Single MinPosition { get; set; }¶
The minimum position of the servo, specified by the in-game tweak menu.
- Game Scenes:
Flight
- Single MaxPosition { get; set; }¶
The maximum position of the servo, specified by the in-game tweak menu.
- Game Scenes:
Flight
- Single ConfigSpeed { get; }¶
The speed multiplier of the servo, specified by the part configuration.
- Game Scenes:
Flight
- Single Speed { get; set; }¶
The speed multiplier of the servo, specified by the in-game tweak menu.
- Game Scenes:
Flight
- void MoveRight ()¶
Moves the servo to the right.
- Game Scenes:
Flight
- void MoveLeft ()¶
Moves the servo to the left.
- Game Scenes:
Flight
- void MoveCenter ()¶
Moves the servo to the center.
- Game Scenes:
Flight
- void MoveTo (Single position, Single speed)¶
Moves the servo to position and sets the speed multiplier to speed.
- Parameters:
position – The position to move the servo to.
speed – Speed multiplier for the movement.
- Game Scenes:
Flight
- void Stop ()¶
Stops the servo.
- Game Scenes:
Flight