Gimbal¶
Many engines in KSP have thrust vectoring gimbals which are handled by their own module
-
structure
Gimbal¶ Suffix Type (units) Description All suffixes of PartModuleLOCKBooleanIs the Gimbal locked in neutral position? PITCHBooleanDoes the Gimbal respond to pitch controls? YAWBooleanDoes the Gimbal respond to yaw controls? ROLLBooleanDoes the Gimbal respond to roll controls? LIMITScalar(%)Percentage of the maximum range the Gimbal is allowed to travel RANGEScalar(deg)The Gimbal’s Possible Range of movement RESPONSESPEEDScalarThe Gimbal’s Possible Rate of travel PITCHANGLEScalarCurrent Gimbal Pitch YAWANGLEScalarCurrent Gimbal Yaw ROLLANGLEScalarCurrent Gimbal Roll
Note
Gimbal is a type of PartModule, and therefore can use all the suffixes of PartModule. Shown below are only the suffixes that are unique to Gimbal.
Gimbal can be accessed as Engine:GIMBAL atribute of Engine.
-
Gimbal:
LOCK¶ Type: BooleanAccess: Get/Set Is this gimbal locked to neutral position and not responding to steering controls right now? When you set it to true it will snap the engine back to 0s for pitch, yaw and roll
-
Gimbal:
PITCH¶ Type: BooleanAccess: Get/Set Is the gimbal responding to pitch controls? Relevant only if the gimbal is not locked.
-
Gimbal:
YAW¶ Type: BooleanAccess: Get/Set Is the gimbal responding to yaw controls? Relevant only if the gimbal is not locked.
-
Gimbal:
ROLL¶ Type: BooleanAccess: Get/Set Is the gimbal responding to roll controls? Relevant only if the gimbal is not locked.
-
Gimbal:
LIMIT¶ Type: Scalar(%)Access: Get/Set Percentage of maximum range this gimbal is allowed to travel
-
Gimbal:
RANGE¶ Type: Scalar(deg)Access: Get only The maximum extent of travel possible for the gimbal along all 3 axis (Pitch, Yaw, Roll)
-
Gimbal:
PITCHANGLE¶ Type: ScalarAccess: Get only The gimbals current pitch, has a range of -1 to 1. Will always be 0 when LOCK is true