MechJeb2

MechJeb2

4M Downloads

AttitudeController throwing

lamont-granquist opened this issue ยท 1 comments

commented
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 

I think there's been other reports, but this one comes from:

https://forum.kerbalspaceprogram.com/index.php?/topic/154834-110x-anatid-robotics-mumech-mechjeb-autopilot-2100-5th-july-2019/page/128/&tab=comments#comment-3815410

Possibly / Probably(?) related to the change for asymmetric thrust vehicles.

commented

The attitude reference is not set properly and we end up with whatever was last set. Which is often one related to node execution that expects a node to be present.
I am looking into it