CaptainKipard Posted April 6, 2014 Share Posted April 6, 2014 Does anyone have this problem where timed burns go over or under a few dm/s? Link to comment Share on other sites More sharing options...
theSpeare Posted April 6, 2014 Share Posted April 6, 2014 How do I lock steering to my next node? Every time I try "lock steering to node" or "nextnode" it comes up with "the given key was not present in the dictionary". Link to comment Share on other sites More sharing options...
CaptainKipard Posted April 6, 2014 Share Posted April 6, 2014 (edited) How do I get the altitude of the current atmosphereI tried this.set atmocheck to body:atmosphere:exists.if atmocheck = 1{print "Waiting to exit atmosphere".set atmoheight to body:atmosphere:height.wait until altitude = atmoheight.}It complains about a suffix not existing.How do I lock steering to my next node? Every time I try "lock steering to node" or "nextnode" it comes up with "the given key was not present in the dictionary".It should just be:lock steering to nextnode.That works for me.Do you actually have a node set up? Edited April 6, 2014 by Cpt. Kipard Link to comment Share on other sites More sharing options...
theSpeare Posted April 6, 2014 Share Posted April 6, 2014 Sure do, but still throws an exception. Steering works fine for other directions like prograde and retrograde. Could it be because I'm using the latest pre-release? Link to comment Share on other sites More sharing options...
CaptainKipard Posted April 6, 2014 Share Posted April 6, 2014 I'm using the latest pre-release too. Link to comment Share on other sites More sharing options...
theSpeare Posted April 6, 2014 Share Posted April 6, 2014 Playing 0.23.5? Link to comment Share on other sites More sharing options...
CaptainKipard Posted April 6, 2014 Share Posted April 6, 2014 indeed1010 Link to comment Share on other sites More sharing options...
Dunbaratu Posted April 6, 2014 Share Posted April 6, 2014 How do I get the altitude of the current atmosphereI tried this.set atmocheck to body:atmosphere:exists.if atmocheck = 1{print "Waiting to exit atmosphere".set atmoheight to body:atmosphere:height.wait until altitude = atmoheight.}It complains about a suffix not existing.Try it abbreviating "atmosphere" to just "atm". That may be the problem. Link to comment Share on other sites More sharing options...
KvickFlygarn87 Posted April 6, 2014 Share Posted April 6, 2014 How is this mod doing in .23.5? Link to comment Share on other sites More sharing options...
CaptainKipard Posted April 6, 2014 Share Posted April 6, 2014 Thank you Steven that worked.I'm just curious. Is there a good reason why we can't get raw variables? I've noticed that I always have to lock or set my own. Link to comment Share on other sites More sharing options...
bartomanboy Posted April 6, 2014 Share Posted April 6, 2014 How is this mod doing in .23.5?Seems to be doing fine, if you don't use the new parts It seems like the new parts aren't supported yet, not all commands work with them. Link to comment Share on other sites More sharing options...
theSpeare Posted April 6, 2014 Share Posted April 6, 2014 So I'm using RT2 with this plugin and every time I go out of comm-range, the plugin throws a crapload of exceptions. (Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)OverflowException: Outside range [MinValue,MaxValue] at System.TimeSpan.From (Double value, Int64 tickMultiplicator) [0x00000] in <filename unknown>:0 at System.TimeSpan.FromSeconds (Double value) [0x00000] in <filename unknown>:0 at kOS.RTUtil.DrawProgressBar (IExecutionContext context, Double elapsed, Double total, System.String text) [0x00000] in <filename unknown>:0 at kOS.Interpreter.ImmediateMode.Update (Single time) [0x00000] in <filename unknown>:0 at kOS.Context.ExecutionContext.Update (Single time) [0x00000] in <filename unknown>:0 at kOS.Context.CPU.Update (Single time) [0x00000] in <filename unknown>:0 at kOS.Module.kOSProcessor.Update () [0x00000] in <filename unknown>:0 (Filename: Line: -1)RunSimulation took 0msUsing the public latest release. Is there some sort of workaround? Link to comment Share on other sites More sharing options...
Hans Dorn Posted April 6, 2014 Share Posted April 6, 2014 How do I lock steering to my next node? Every time I try "lock steering to node" or "nextnode" it comes up with "the given key was not present in the dictionary".Locking repeatedly to different variables seems to be broken. I'm getting the same error.Cheers.P.S: I've already posted about this a couple pages ago. Link to comment Share on other sites More sharing options...
marianoapp Posted April 6, 2014 Share Posted April 6, 2014 So I'm using RT2 with this plugin and every time I go out of comm-range, the plugin throws a crapload of exceptions. Using the public latest release. Is there some sort of workaround?A lot has changed from that release, you should try the latest pre release of v0.12 available here Link to comment Share on other sites More sharing options...
marianoapp Posted April 6, 2014 Share Posted April 6, 2014 (edited) Does anyone have this problem where timed burns go over or under a few dm/s?dm/s as in decimeters per second? One thing you have to take into account is that all the dV formulas assume an instantaneous change in velocity, but since that is not possible you always end up needing some extra dV to compensate for the burn time.I'm just curious. Is there a good reason why we can't get raw variables? I've noticed that I always have to lock or set my own.What do you mean with "raw variables"? Edited April 6, 2014 by marianoapp Link to comment Share on other sites More sharing options...
CaptainKipard Posted April 6, 2014 Share Posted April 6, 2014 What do you mean with "raw variables"?I don't know if that's the correct term but for example:print altitude.doesn't work, butlock myalt to altitude.print myalt.does. Link to comment Share on other sites More sharing options...
theSpeare Posted April 6, 2014 Share Posted April 6, 2014 The latest prerelease release seems to have so many problems of its own though. It throws exceptions for even basic commands. Link to comment Share on other sites More sharing options...
marianoapp Posted April 6, 2014 Share Posted April 6, 2014 @Cpt.Kipard: I just tried the "print altitude." code and it worked as it should. Please post the whatever error appear on the screen or in the debug menu so we can track the issue.@theSpeare: If you mean the dictionary error then we are aware of it and working to fix it, but it only happens when you lock the same variable to different expressions in the console, so don't do that (inside a program you can lock anything all the times you want).One of the side-effects of this error is that the console remains in an inconsistent state and every following command will throw the same error. If you toggle the power of the unit everything starts working again. Link to comment Share on other sites More sharing options...
Hans Dorn Posted April 6, 2014 Share Posted April 6, 2014 (inside a program you can lock anything all the times you want).Ah, good to know.Thx Link to comment Share on other sites More sharing options...
CaptainKipard Posted April 6, 2014 Share Posted April 6, 2014 @Cpt.Kipard: I just tried the "print altitude." code and it worked as it should. Please post the whatever error appear on the screen or in the debug menu so we can track the issue.Now it works for some reason. I probably made a typo. Link to comment Share on other sites More sharing options...
Pecan Posted April 6, 2014 Share Posted April 6, 2014 So I'm using RT2 with this plugin ...Note that RT2 itself does not support 0.23.5 Link to comment Share on other sites More sharing options...
theSpeare Posted April 7, 2014 Share Posted April 7, 2014 Yeah I understand, I was just wondering if anyone else managed some sort of workaround. Link to comment Share on other sites More sharing options...
Incomitatum Posted April 7, 2014 Share Posted April 7, 2014 Very sorry to bother you all. I am loving this mod, so much so that I didn't sleep last night. I have a few questions.I saw in a video but cannot find it again, where you can continuously echo variables on the screen? This is important as I am doing more and more flights IN cockpit and finding the features lacking. My Apoapsis, Periapsis and ETA to Apoapsis would be nice to know at all times....I am trying to figure out the best way to execute a ROLL. That is, simply rolling the craft 180 degrees like I would by pressing Q or E. Right now the best I have found it [ lock steering to prograde +R(0,0,180). ]. But I don't really want to LOCK to prograde at that point. Also, can I UNLOCK steering? All of this is so I can have my canopy facing DOWN (towards Kerbin) after my gravity turn. I am scripting a 100% free, hands off, flight and want to be able to take in the view....Have my tests been conclusive? Am I right in that you cant change rotation/bearing with SAS on? It seems so, so now I turn it off before all maneuvers and back on after that code completes....I've had plenty of bugs where they are called out in the console, but the wrong line is displayed....Lastly was [ heading(x,y) ] deprecated? It doesn't throw any errors, it seems to be ignored; now I must use [ heading x by y] to get a response from the controls.I'm a long time player of KSP, but this has breathed new life into it for me. Thank you for making this so awesome that I needed to make THIS my first post.Thank you all in advance for your help. Link to comment Share on other sites More sharing options...
CaptainKipard Posted April 7, 2014 Share Posted April 7, 2014 Are you using the latest version? Link to comment Share on other sites More sharing options...
Incomitatum Posted April 7, 2014 Share Posted April 7, 2014 @Cpt. Kipard,If you are addressing me: thank you.To the best of my knowledge I am using 0.11.0 [ http://kerbalspaceprogram.com/kos-autopilot/ ] Link to comment Share on other sites More sharing options...
Recommended Posts