Skip to content
Success

Changes

Summary

  1. One more fix to the PVG settings window (commit: f75a7d4) (details)
  2. Make bettercontroller obey turning rate limits (commit: a3d2067) (details)
  3. Add soften tunable to better controller (commit: 2ea5399) (details)
  4. Set default for soften down to 0.7 (commit: 82629c4) (details)
  5. Slightly stiffer bettercontroller tuning (commit: 900a99c) (details)
  6. Fixes the PIDLoop2 derivative computation (commit: 0107fe5) (details)
  7. More BetterController tweaking (commit: d65f0e9) (details)
  8. v2.15.1 (commit: f22907b) (details)
Commit f75a7d4f018f9db0faf0130ce0f7e7bdce4c44cc by mrev1995
One more fix to the PVG settings window

I noticed when flying a rocket with PVG, that during the final stage's
burn the stage stats in the PVG settings window disappeared. When the
'last stage' is equal to the first stage in the Δv stats window, it
should be shown.
(commit: f75a7d4)
The file was modified MechJeb2/MechJebModuleAscentPVGSettingsMenu.cs (diff)
Commit a3d206796d2650c762deed391b30efc5fc7f5e4d by lamont
Make bettercontroller obey turning rate limits

replaces #2013

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
(commit: a3d2067)
The file was modified MechJeb2/AttitudeControllers/BetterController.cs (diff)
Commit 2ea53994e62ce4dcf42ec333d2cd7c598b4e0417 by lamont
Add soften tunable to better controller

This allows the angular velocity to overshoot the target angular
velocity (by about 10%) and still be able to decelerate to hit
the target.

Setting to 1.0 will restore the previous behavior.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
(commit: 2ea5399)
The file was modified MechJeb2/AttitudeControllers/BetterController.cs (diff)
Commit 82629c4015a7eede6067d653d4760476254b8938 by lamont
Set default for soften down to 0.7

In testing with stock, this reduces overshoot to better than the
hybrid controller, while still slewing faster and settling faster.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
(commit: 82629c4)
The file was modified MechJeb2/AttitudeControllers/BetterController.cs (diff)
Commit 900a99c123b67e490f3a3932b0cd51cc7c0db0e3 by lamont
Slightly stiffer bettercontroller tuning

By using the new soften parameter, the position PID can be a bit
stiffer, to reduce deviations during atmospheric flight, without
causing a lot of overshoot.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
(commit: 900a99c)
The file was modified MechJeb2/AttitudeControllers/BetterController.cs (diff)
Commit 0107fe531490450fbbab3ee5c5f63d87bdedebe6 by lamont
Fixes the PIDLoop2 derivative computation

It should work now to do something other than a PI controller
in the BetterController.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
(commit: 0107fe5)
The file was modified MechJebLib/MechJebLib.csproj (diff)
The file was addedMechJebLib/Control/Biquad.cs
The file was modified MechJebLib/Control/PIDLoop.cs (diff)
The file was modified MechJebLib/Control/PIDLoop2.cs (diff)
The file was modified MechJebLibTest/ControlTests/PIDLoopTests.cs (diff)
The file was modified MechJeb2.sln.DotSettings (diff)
Commit d65f0e9216c1444a7da3323f9c86eabefedec0b4 by lamont
More BetterController tweaking

Velocity PID is back to P-only and position PID has a lot more
integral action.  This is probably close to ideal performance without
gain scheduling based on the gimbal response rate.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
(commit: d65f0e9)
The file was modified MechJebLibTest/ControlTests/PIDLoopTests.cs (diff)
The file was modified MechJeb2/AttitudeControllers/BetterController.cs (diff)
The file was modified MechJeb2/Properties/AssemblyInfo.cs (diff)