-
Posts
30 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by Kampfsanni
-
The Docking Autopilot has a glitch that let him lock up right before the final push from time to time. Switching it off and directly on again normaly solves that and will dock immediately. https://forum.kerbalspaceprogram.com/topic/154834-112x-anatid-robotics-mumech-mechjeb-autopilot-2143-4th-march-2023/page/168/#comment-4247646
-
For me switching the Docking Autopilot off and on again solved the problem every time, I have seen this behavior in every version of MechJeb so far. It happens sometimes, i can't force it to happen. Here is a Savefile, the ship is the "Docking Trainer S" , Only Mech Jeb and Modulemanager in this install. Hope this helps.
-
Looks like the problem was on my KSP install. Kerbal Engineer Redux (the only mod installed besides Mechjeb and Module Manager of course ) was causing the problems with Mechjeb somehow. After deinstallation of Kerbal Engineer Mechjeb was working fine. I have reinstalled Kerbal Engineer after that and again everything was working fine ( both versions of Mechjeb, normal and latest Dev version tested ) So you can stop chasing ghosts now. And thanks for this great mod, without it KSP would not be the same!
-
Tested KSP 1.10 with Mechjeb 2.10.0.0 and Mechjeb DEV 2.10.0.0-992 When activating Landing Guidance it warps to the planechange, stops and starts throwing exeptions again Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00476] in <ad22cbc127004f0c8e46e5a0419a670d>:0 at MuMech.MechJebModuleAttitudeController.Drive (FlightCtrlState s) [0x00008] in <ad22cbc127004f0c8e46e5a0419a670d>:0 at MuMech.MechJebCore.Drive (FlightCtrlState s) [0x00048] in <ad22cbc127004f0c8e46e5a0419a670d>:0 [ERR 18:10:13.441] MechJeb module MechJebModuleAttitudeController threw an exception in OnFixedUpdate: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00476] in <ad22cbc127004f0c8e46e5a0419a670d>:0 at MuMech.MechJebModuleAttitudeController.attitudeAngleFromTarget () [0x00019] in <ad22cbc127004f0c8e46e5a0419a670d>:0 at MuMech.MechJebModuleAttitudeController.OnFixedUpdate () [0x00000] in <ad22cbc127004f0c8e46e5a0419a670d>:0 at MuMech.MechJebCore.FixedUpdate () [0x00139] in <ad22cbc127004f0c8e46e5a0419a670d>:0 Version 2.9.2.0-990 on Ksp 1.9.1 is working. looks like something in there is playing peakaboo.
-
Dev Build 988 , Landing Guidance is broken again . When activated with Land at target or Land somewehre nothing happend and the log is flooded with this: [ERR 19:20:40.362] MechJeb module MechJebModuleAttitudeController threw an exception in Drive: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00476] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebModuleAttitudeController.Drive (FlightCtrlState s) [0x00008] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebCore.Drive (FlightCtrlState s) [0x00048] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 [EXC 19:20:40.365] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0) MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) MuMech.MechJebModuleAttitudeController.attitudeReferenceToWorld (Vector3d vector, MuMech.AttitudeReference reference) (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) MuMech.MechJebModuleAttitudeController.attitudeTo (Vector3d direction, MuMech.AttitudeReference reference, System.Object controller) (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) MuMech.Landing.DeorbitBurn.OnFixedUpdate () (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) MuMech.AutopilotModule.OnFixedUpdate () (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) MuMech.AutopilotModule:OnFixedUpdate() MuMech.MechJebModuleLandingAutopilot:OnFixedUpdate() MuMech.MechJebCore:FixedUpdate() [ERR 19:20:40.367] MechJeb module MechJebModuleAttitudeController threw an exception in OnFixedUpdate: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00476] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebModuleAttitudeController.attitudeAngleFromTarget () [0x00019] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebModuleAttitudeController.OnFixedUpdate () [0x00000] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebCore.FixedUpdate () [0x00139] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 [ERR 19:20:40.375] MechJeb module MechJebModuleAttitudeController threw an exception in Drive: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00476] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebModuleAttitudeController.Drive (FlightCtrlState s) [0x00008] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebCore.Drive (FlightCtrlState s) [0x00048] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 [EXC 19:20:40.377] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0) MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) MuMech.MechJebModuleAttitudeController.attitudeReferenceToWorld (Vector3d vector, MuMech.AttitudeReference reference) (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) MuMech.MechJebModuleAttitudeController.attitudeTo (Vector3d direction, MuMech.AttitudeReference reference, System.Object controller) (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) MuMech.Landing.DeorbitBurn.OnFixedUpdate () (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) MuMech.AutopilotModule.OnFixedUpdate () (at <c547f17d8cda4e9691d8b34f01a2d3fa>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) MuMech.AutopilotModule:OnFixedUpdate() MuMech.MechJebModuleLandingAutopilot:OnFixedUpdate() MuMech.MechJebCore:FixedUpdate() [ERR 19:20:40.378] MechJeb module MechJebModuleAttitudeController threw an exception in OnFixedUpdate: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00476] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebModuleAttitudeController.attitudeAngleFromTarget () [0x00019] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebModuleAttitudeController.OnFixedUpdate () [0x00000] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebCore.FixedUpdate () [0x00139] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 [ERR 19:20:40.402] MechJeb module MechJebModuleAttitudeController threw an exception in Drive: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00476] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebModuleAttitudeController.Drive (FlightCtrlState s) [0x00008] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 at MuMech.MechJebCore.Drive (FlightCtrlState s) [0x00048] in <c547f17d8cda4e9691d8b34f01a2d3fa>:0 How to programming works: You have a bug in the code. You fix the bug in the code. Now you have two bugs in the code.
-
Now Landing Guidance is broken. When activated with Land at target or Land somewehre nothing happend and the log is flooded with this: [ERR 00:27:50.883] MechJeb module MechJebModuleAttitudeController threw an exception in Drive: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00465] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebModuleAttitudeController.Drive (FlightCtrlState s) [0x00008] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebCore.Drive (FlightCtrlState s) [0x00048] in <ab773ed2b35945c99f0a1273e0237d43>:0 [EXC 00:27:50.887] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0) MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) (at <ab773ed2b35945c99f0a1273e0237d43>:0) MuMech.MechJebModuleAttitudeController.attitudeReferenceToWorld (Vector3d vector, MuMech.AttitudeReference reference) (at <ab773ed2b35945c99f0a1273e0237d43>:0) MuMech.MechJebModuleAttitudeController.attitudeTo (Vector3d direction, MuMech.AttitudeReference reference, System.Object controller) (at <ab773ed2b35945c99f0a1273e0237d43>:0) MuMech.Landing.DeorbitBurn.OnFixedUpdate () (at <ab773ed2b35945c99f0a1273e0237d43>:0) MuMech.AutopilotModule.OnFixedUpdate () (at <ab773ed2b35945c99f0a1273e0237d43>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) MuMech.AutopilotModule:OnFixedUpdate() MuMech.MechJebModuleLandingAutopilot:OnFixedUpdate() MuMech.MechJebCore:FixedUpdate() [ERR 00:27:50.888] MechJeb module MechJebModuleAttitudeController threw an exception in OnFixedUpdate: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00465] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebModuleAttitudeController.attitudeAngleFromTarget () [0x00019] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebModuleAttitudeController.OnFixedUpdate () [0x00000] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebCore.FixedUpdate () [0x00139] in <ab773ed2b35945c99f0a1273e0237d43>:0 [ERR 00:27:50.899] MechJeb module MechJebModuleAttitudeController threw an exception in Drive: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00465] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebModuleAttitudeController.Drive (FlightCtrlState s) [0x00008] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebCore.Drive (FlightCtrlState s) [0x00048] in <ab773ed2b35945c99f0a1273e0237d43>:0 [EXC 00:27:50.900] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0) System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <ad04dee02e7e4a85a1299c7ee81c79f6>:0) MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) (at <ab773ed2b35945c99f0a1273e0237d43>:0) MuMech.MechJebModuleAttitudeController.attitudeReferenceToWorld (Vector3d vector, MuMech.AttitudeReference reference) (at <ab773ed2b35945c99f0a1273e0237d43>:0) MuMech.MechJebModuleAttitudeController.attitudeTo (Vector3d direction, MuMech.AttitudeReference reference, System.Object controller) (at <ab773ed2b35945c99f0a1273e0237d43>:0) MuMech.Landing.DeorbitBurn.OnFixedUpdate () (at <ab773ed2b35945c99f0a1273e0237d43>:0) MuMech.AutopilotModule.OnFixedUpdate () (at <ab773ed2b35945c99f0a1273e0237d43>:0) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) MuMech.AutopilotModule:OnFixedUpdate() MuMech.MechJebModuleLandingAutopilot:OnFixedUpdate() MuMech.MechJebCore:FixedUpdate() [ERR 00:27:50.901] MechJeb module MechJebModuleAttitudeController threw an exception in OnFixedUpdate: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <ad04dee02e7e4a85a1299c7ee81c79f6>:0 at MuMech.MechJebModuleAttitudeController.attitudeGetReferenceRotation (MuMech.AttitudeReference reference) [0x00465] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebModuleAttitudeController.attitudeAngleFromTarget () [0x00019] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebModuleAttitudeController.OnFixedUpdate () [0x00000] in <ab773ed2b35945c99f0a1273e0237d43>:0 at MuMech.MechJebCore.FixedUpdate () [0x00139] in <ab773ed2b35945c99f0a1273e0237d43>:0
-
The Rendezvous Autopilot seems to be broken. It creates a maneuvernode, but did not execute it. The Rendezvous planer, or the Maneuver Planner are working fine. The only errormessage in KSP.log i could find is: [MechJeb] Brents method threw a timeout error (supressed). KSP 1.9.1 MechJeb 2 - DEV RELEASE 2.9.2.0-961
-
There are no errors in the log annymore, and the autopilot is now plotting a Hohmann transfer, which is good so far. But the transfer itself is messed up. The autopilot is saying Status: Planinng Hohmann transfer for intercept after -127276.43 phasing orbits and then bringing me into an orbit that is between my old orbit and the target orbit. After that it repeats what it is doing, but is not able to bring me close to my tagget. Sometimes it is plotting orbits below 50 km. If i use the the Maneuver Planer to make a bi-impulsive Hohmann transfer everything works fine.
-
There Rendezvous Autopilot seems to have a problem plotting a hohmann-transfer. After the planechange it seems to stop, not plotting a . Sometimes it does after a while, sometimes not. Same with the Rendezvous Planer. If i do the hohmann-transfer via the Maneuver Planer and start the Rendezvous Autopilot after it everything ist fine ( start orbit 80 km destination orbit 150 km). A workaround is to use the Maneuver Planer (Change plane to plane of target, bimpulsive hohmann transfer, aleing speed at closest approach.) In the log i get this several times (KSP 1.9, MechJeb 2- DEV-RELEASE 2.9.2.0-943, Kerbal Engineer Redux 1.1.7.1, Module Manager 4.1.3) [ERR 10:00:24.615] MechJeb module MechJebModuleRendezvousAutopilot threw an exception in Drive: System.TimeoutException: Brent's rootfinding method: maximum iterations exceeded at MuMech.Brent.Root (MuMech.BrentFun f, System.Double a, System.Double b, System.Double rtol, System.Double& x, System.Double& y, System.Object o, System.Int32 maxiter, System.Int32 sign) [0x001e3] in <8681954d36844c0e910d375b3cdf5e16>:0 at MuMech.OrbitalManeuverCalculator.DeltaVAndTimeForHohmannTransfer (Orbit o, Orbit target, System.Double UT, System.Double& burnUT) [0x00102] in <8681954d36844c0e910d375b3cdf5e16>:0 at MuMech.MechJebModuleRendezvousAutopilot.Drive (FlightCtrlState s) [0x00650] in <8681954d36844c0e910d375b3cdf5e16>:0 at MuMech.MechJebCore.Drive (FlightCtrlState s) [0x00048] in <8681954d36844c0e910d375b3cdf5e16>:0
-
As i said, it is only one option. But it is always a good idea to take a look into a working solution, to see how they manage to fly a plane. Turning a spacecraft is one thing, but turning a plane is a complete different thing. You have to control roll, pitch and yaw at the same time to fly a good turn, and this is the point where Sarbian has problems at the moment. I know Sarbian will solve the problem one way or the other, but it is easier when you can learn from others, instead doing it all from scratch. And i know, to create something like mechjeb is a hell of a job. We can't thank Sarbian enough for his work, without it KSP would not be the same.