Jump to content

[1.10] Pilot Assistant: Atmospheric piloting aids - 1.13.4c (2020-08-18)


Recommended Posts

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

Link to post
Share on other sites
  • 4 months later...
  • 4 months later...
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! :D

I still use this darn thing because one of my favorite IVA packs hooks into it for autopilot controls.

Link to post
Share on other sites
  • 2 weeks later...

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 by Krazy1
update
Link to post
Share on other sites

I'm not sure what sequence of button presses you're using, but for altitude, you need to:

  1. make sure that axis of the autopilot is disabled*
  2. select the mode you want (Alt, Pitch, Rate)
  3. Enter the value you want in the box
  4. 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.

Link to post
Share on other sites
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.

Link to post
Share on other sites

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. :/

Link to post
Share on other sites
  • 2 weeks later...
  • 1 month later...

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.

Link to post
Share on other sites
  • 2 weeks later...

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?

Link to post
Share on other sites
  • 4 weeks later...
  • 1 month later...
  • 2 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...