flart 411 Posted November 11, 2019 Share Posted November 11, 2019 NullRefs when the Pilot Assistant window even isn't opened. [ERR 23:28:38.586] Exception handling event onTimeWarpRateChanged in class AsstVesselModule:System.NullReferenceException: at (wrapper managed-to-native) UnityEngine.MonoBehaviour:StartCoroutine_Auto_Internal (System.Collections.IEnumerator) at UnityEngine.MonoBehaviour.StartCoroutine (IEnumerator routine) [0x00000] in <filename unknown>:0 at PilotAssistant.FlightModules.PilotAssistant.StartCoroutine (IEnumerator routine) [0x00000] in <filename unknown>:0 at PilotAssistant.FlightModules.PilotAssistant.VertModeChanged (VertMode newMode, Boolean active, Boolean setTarget) [0x00000] in <filename unknown>:0 at PilotAssistant.FlightModules.PilotAssistant.WarpHandler () [0x00000] in <filename unknown>:0 at PilotAssistant.FlightModules.AsstVesselModule.WarpHandler () [0x00000] in <filename unknown>:0 at EventVoid.Fire () [0x00000] in <filename unknown>:0 [EXC 23:28:38.587] NullReferenceException UnityEngine.MonoBehaviour.StartCoroutine (IEnumerator routine) PilotAssistant.FlightModules.PilotAssistant.StartCoroutine (IEnumerator routine) PilotAssistant.FlightModules.PilotAssistant.VertModeChanged (VertMode newMode, Boolean active, Boolean setTarget) PilotAssistant.FlightModules.PilotAssistant.WarpHandler () PilotAssistant.FlightModules.AsstVesselModule.WarpHandler () EventVoid.Fire () UnityEngine.Debug:LogException(Exception) EventVoid:Fire() TimeWarp:assumeWarpRate(Single, Boolean, Boolean) TimeWarp:setRate(Int32, Boolean, Boolean, Boolean, Boolean) TimeWarp:Update() https://www.dropbox.com/s/4kk7iz9srzb8wn3/2019-11-10-KSP.log Quote Link to post Share on other sites
zolotiyeruki 476 Posted March 31, 2020 Author Share Posted March 31, 2020 Dredging this one up, just to update it for KSP 1.9 Quote Link to post Share on other sites
zolotiyeruki 476 Posted August 18, 2020 Author Share Posted August 18, 2020 I got the urge to play KSP today, so I pull this project up, recompiled for 1.10, and created a new release. It's available via github here: https://github.com/zolotiyeruki/Pilot-Assistant/releases I'll work on getting it updated in CKAN soon. Quote Link to post Share on other sites
Beetlecat 1,037 Posted August 18, 2020 Share Posted August 18, 2020 2 hours ago, zolotiyeruki said: I got the urge to play KSP today, so I pull this project up, recompiled for 1.10, and created a new release. It's available via github here: https://github.com/zolotiyeruki/Pilot-Assistant/releases I'll work on getting it updated in CKAN soon. Hey, cool! I still use this darn thing because one of my favorite IVA packs hooks into it for autopilot controls. Quote Link to post Share on other sites
Krazy1 164 Posted August 30, 2020 Share Posted August 30, 2020 (edited) I'm new to this and I can't get it to hold altitude. Heading hold seems to be working. I pause the game, type a desired altitude which I'm very close to already and the yellow text top center says it's been changed. But it keeps changing the target altitude. I tried changing SAS surface/ orbit but it's the same. I tried setting climb rate to 0 too but either way it goes to a slow descent about -5 m/s. It certainly has enough control authority. I can can hold it myself. I'll try again. So now I can set an altitude but it won't hold the heading setting. I set 90 but it keeps increasing constantly... 95, 100, 105. It seems it will not hold heading and altitude? I certainly need both to walk away from it. Edited August 30, 2020 by Krazy1 update Quote Link to post Share on other sites
zolotiyeruki 476 Posted August 30, 2020 Author Share Posted August 30, 2020 I'm not sure what sequence of button presses you're using, but for altitude, you need to: make sure that axis of the autopilot is disabled* select the mode you want (Alt, Pitch, Rate) Enter the value you want in the box click the button to the left of the text box The same procedure works for the heading--select a mode, enter a value, click the button to the left. * If it's engaged, and you switch modes, it'll take the current position as the setpoint for the new mode. I.e. if you're in vertical speed mode and climbing at 5 degrees of pitch and passing through 10k meters, and you switch to Altitude hold mode, it'll try to stick you at 10k meters. Quote Link to post Share on other sites
Krazy1 164 Posted August 30, 2020 Share Posted August 30, 2020 3 hours ago, zolotiyeruki said: I'm not sure what sequence of button presses you're using, Yeah I was setting the axis on first then trying to set the value. Need to use the "target" button to set AND enable it. Thanks. I've decided it's better at flying and I'm better at making sandwiches. Quote Link to post Share on other sites
Krazy1 164 Posted September 6, 2020 Share Posted September 6, 2020 So I made a plane for the Circumnavigation Challenge and put the cockpit at the rear facing backwards to protect it from heat. It was also the root part. Now PA thinks I'm heading 270 deg and it's actually 90 deg. I changed the pod control direction in the PAW to "reversed" to get the navball correctly aiming to 90 deg. but that doesn't fix the PA direction. It doesn't seem to use the direction setting. It would be nice if it did. Next problem, I tried changing the root to several different parts and that did fix the PA direction but everything I tried made the drag go up dramatically. I can't get the Rapier powered plane past transonic. And it's exactly the same plane except for the root part. I tried going back to the pod root and drag was normal again. There's another thread about this root/ drag problem. Apparently it wasn't fixed in 1.10. Quote Link to post Share on other sites
m4ti140 73 Posted September 17, 2020 Share Posted September 17, 2020 The Surface SAS doesn't seem to work. LAlt + T only turns on regular SAS Quote Link to post Share on other sites
Krazy1 164 Posted November 9, 2020 Share Posted November 9, 2020 Hi @zolotiyeruki I just had KSP crash instantly to the desktop - never saw that before. I've been ignoring null reference errors that usually occur when time warp is stopped: Exception handling event onTimeWarpRateChanged in class AsstVesselModule:System.NullReferenceException at (wrapper managed-to-native) UnityEngine.MonoBehaviour.IsObjectMonoBehaviour(UnityEngine.Object) at UnityEngine.MonoBehaviour.StartCoroutine (System.Collections.IEnumerator routine) [0x00012] in <5aeafee3fea24f37abd1315553f2cfa6>:0 at PilotAssistant.FlightModules.PilotAssistant.StartCoroutine (System.Collections.IEnumerator routine) [0x00001] in <c2097b1bb69442bd8d59c8bb28227d23>:0 at PilotAssistant.FlightModules.PilotAssistant.VertModeChanged (PilotAssistant.FlightModules.VertMode newMode, System.Boolean active, System.Boolean setTarget) [0x00049] in <c2097b1bb69442bd8d59c8bb28227d23>:0 at PilotAssistant.FlightModules.PilotAssistant.WarpHandler () [0x00033] in <c2097b1bb69442bd8d59c8bb28227d23>:0 at PilotAssistant.FlightModules.AsstVesselModule.WarpHandler () [0x00001] in <c2097b1bb69442bd8d59c8bb28227d23>:0 at EventVoid.Fire () [0x00127] in <c1858a3f77504bd1aaa946fdccf84670>:0 (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35) NullReferenceException at (wrapper managed-to-native) UnityEngine.MonoBehaviour.IsObjectMonoBehaviour(UnityEngine.Object) at UnityEngine.MonoBehaviour.StartCoroutine (System.Collections.IEnumerator routine) [0x00012] in <5aeafee3fea24f37abd1315553f2cfa6>:0 at PilotAssistant.FlightModules.PilotAssistant.StartCoroutine (System.Collections.IEnumerator routine) [0x00001] in <c2097b1bb69442bd8d59c8bb28227d23>:0 at PilotAssistant.FlightModules.PilotAssistant.VertModeChanged (PilotAssistant.FlightModules.VertMode newMode, System.Boolean active, System.Boolean setTarget) [0x00049] in <c2097b1bb69442bd8d59c8bb28227d23>:0 at PilotAssistant.FlightModules.PilotAssistant.WarpHandler () [0x00033] in <c2097b1bb69442bd8d59c8bb28227d23>:0 at PilotAssistant.FlightModules.AsstVesselModule.WarpHandler () [0x00001] in <c2097b1bb69442bd8d59c8bb28227d23>:0 at EventVoid.Fire () [0x00127] in <c1858a3f77504bd1aaa946fdccf84670>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) EventVoid:Fire() TimeWarp:assumeWarpRate(Single, Boolean, Boolean) TimeWarp:setRate(Int32, Boolean, Boolean, Boolean, Boolean) TimeWarp:Update() (Filename: <5aeafee3fea24f37abd1315553f2cfa6> Line: 0) Here's the log. https://www.dropbox.com/s/khl9g7t80bll9te/Player.log?dl=0 I was flying "Kombine" and just entered physics range of "Mun station" when it crashed. I wasn't using Pilot Assistant (in space). Also posted this same thing on TweakScale thread due to obvious warning spam from that. Quote Link to post Share on other sites
LadyAthena 115 Posted November 21, 2020 Share Posted November 21, 2020 I felt like playing KSP again after a long stint away. This was one of my favorite mods to help with plane control since I only use keyboard. However, I remember there being pre set waypoints and auto pilot settings, such as telling auto pilot to land at the Runway, etc, which doesn't seem to come with this version (I used CKan to download). Am I missing something? Quote Link to post Share on other sites
zolotiyeruki 476 Posted December 18, 2020 Author Share Posted December 18, 2020 That is probably another Autopilot mod. Maybe Kramax or AtmosphereAutopilot? Quote Link to post Share on other sites
zolotiyeruki 476 Posted January 21 Author Share Posted January 21 Just bumping this--I tested it this morning, and this mod works in KSP 1.11. Quote Link to post Share on other sites
theonegalen 1,091 Posted March 24 Share Posted March 24 I'm so glad you picked this up! My Warbird Cockpits mods autopilots are based on using this for the backend through it's interaction with RasterPropMonitor! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.