From 6e80132ae8cd1573efe714c15c830c65329f835d Mon Sep 17 00:00:00 2001 From: DBooots Date: Wed, 18 Feb 2026 22:46:29 -0600 Subject: [PATCH] Make ACTUATION suffix available in release Multiple commenters on Reddit, and my own current project, require access to the output of the SteeringManager. This is already available under the ACTUATION suffix of SteeringManager, but only in DEBUG builds. This makes it available in release builds as well. See: https://www.reddit.com/r/Kos/comments/lx5nb6/get_steering_output_values/ and https://www.reddit.com/r/Kos/comments/a4qer7/getting_yawpitchroll_control_deflections_when/ --- src/kOS/Control/SteeringManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kOS/Control/SteeringManager.cs b/src/kOS/Control/SteeringManager.cs index 10dfd63fe..3938b6200 100644 --- a/src/kOS/Control/SteeringManager.cs +++ b/src/kOS/Control/SteeringManager.cs @@ -368,9 +368,9 @@ 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)); + AddSuffix("ACTUATION", new Suffix(() => new Vector(accPitch, accRoll, accYaw))); #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))); AddSuffix("MEASUREDTORQUE", new Suffix(() => new Vector(measuredTorque))); AddSuffix("RAWTORQUE", new Suffix(GetRawTorque)); @@ -1567,4 +1567,4 @@ Vessel IFlightControlParameter.GetResponsibleVessel() return shared.Vessel; } } -} \ No newline at end of file +}