Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MechJeb2/LandingAutopilot/FinalDescent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public override AutopilotStep Drive(FlightCtrlState s)
}
else
{
//if we're above 200m, point retrograde and control surface velocity:
//if we're above 300m, point retrograde and control surface velocity:
Core.Attitude.attitudeTo(Vector3d.back, AttitudeReference.SURFACE_VELOCITY, null);

Core.Thrust.Tmode = MechJebModuleThrustController.TMode.KEEP_SURFACE;
Expand All @@ -91,7 +91,7 @@ public override AutopilotStep Drive(FlightCtrlState s)
else
{
// last 300 meters:
float desiredSpeed = -Mathf.Lerp(0, (float)Math.Sqrt((VesselState.limitedMaxThrustAccel - VesselState.localg) * 2 * 200) * 0.90F, (float)minalt / 200);
float desiredSpeed = -Mathf.Lerp(0, (float)Math.Sqrt((VesselState.limitedMaxThrustAccel - VesselState.localg) * 2 * 300) * 0.90F, (float)minalt / 300);
if (VesselState.speedSurfaceHorizontal < 5)
{
if (desiredSpeed < VesselState.speedVertical && !_finalThrottleUpTriggered)
Expand Down