Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attitude control overhaul #118

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Commits on Jan 30, 2023

  1. Attitude control overhaul, 4 new patches :

    - [BugFix] GetPotentialTorqueFixes : Rewrite of the stock ITorqueProvider.GetPotentialTorque() implementations for the reaction wheels, rcs, gimbal and control surface stock partmodules. Fix various issues with the stock implementations, ranging from "minor" to "completely broken". Also add in-flight available torque readouts in the PAW for gimbals and control surfaces.
    - [Perf] NoLiftInSpace : Disable control surfaces updates and actuation when the part isn't submerged or in an atmosphere
    - [QoL] RCSLimiter : Add two extra tweakables in the RCS module "Actuation Toggles", giving the ability to define a separate angle threshold for linear and rotation actuation. This allow to optimize efficiency of multi-nozzle RCS parts that are impossible to fine-tune with only the actuation toggles. This also add a potential torque/force readout to the actuation toggles PAW items, both in editor and in flight.
    - [QoL] BetterSAS : Slightly improves the stock SAS precision and implement an optional alternate attitude controller called "PreciseController" (derived from the MechJeb PID controller), more stable and precise for in-space operations but not well suited for atmospheric operations.
    - Added an EditorPhysics support class that provide in-editor data about CoM and reference part, as well as the state of the stock delta-v app situation selector. Used by the RCSLimiter patch to provide in-editor torque readouts.
    
    New modding patch : BaseFieldListUseFieldHost, allow BaseField and related features (PAW controls, persistence...) to work when a custom BaseField is added to a BaseFieldList (ie, a Part or PartModule) with a host instance other than the BaseFieldList owner. Allow to dynamically add fields defined in other classes to a Part or PartModule.
    gotmachine committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    58280bb View commit details
    Browse the repository at this point in the history
  2. Removed the ReactionWheelsPotentialTorque patch (superseded by the Ge…

    …tPotentialTorqueFixes patch)
    gotmachine committed Jan 30, 2023
    Configuration menu
    Copy the full SHA
    c19113e View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    5f36f6a View commit details
    Browse the repository at this point in the history