From 1da2a154b28d4b97498a874972eef86e6cbee852 Mon Sep 17 00:00:00 2001 From: Richard Crockford Date: Wed, 16 Jun 2021 17:28:10 +0100 Subject: [PATCH] Enables some formerly debug suffixes for steering manager They are handy! --- src/kOS/Control/SteeringManager.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/kOS/Control/SteeringManager.cs b/src/kOS/Control/SteeringManager.cs index ba0f3ec9b..cf406a5f6 100644 --- a/src/kOS/Control/SteeringManager.cs +++ b/src/kOS/Control/SteeringManager.cs @@ -368,7 +368,6 @@ public void InitializeSuffixes() AddSuffix("ROLLTORQUEFACTOR", new SetSuffix(() => RollTorqueFactor, value => RollTorqueFactor = value)); AddSuffix("AVERAGEDURATION", new Suffix(() => AverageDuration.Mean)); AddSuffix("ROLLCONTROLANGLERANGE", new SetSuffix(() => RollControlAngleRange, value => RollControlAngleRange = value)); -#if DEBUG AddSuffix("MOI", new Suffix(() => new Vector(momentOfInertia))); AddSuffix("ACTUATION", new Suffix(() => new Vector(accPitch, accRoll, accYaw))); AddSuffix("CONTROLTORQUE", new Suffix(() => new Vector(controlTorque))); @@ -379,7 +378,6 @@ public void InitializeSuffixes() AddSuffix("ANGULARVELOCITY", new Suffix(() => new Vector(omega))); AddSuffix("ANGULARACCELERATION", new Suffix(() => new Vector(angularAcceleration))); AddSuffix("ENABLETORQUEADJUST", new SetSuffix(() => EnableTorqueAdjust, value => EnableTorqueAdjust = value)); -#endif } public void EnableControl(SharedObjects sharedObj)