FumbeiNumbie
Members-
Posts
19 -
Joined
-
Last visited
Reputation
1 NeutralProfile Information
-
About me
Bottle Rocketeer
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
I think, there's an easier way. It is described in launch tutorial. It looks like this: double F = vessel.AvailableThrust; double Isp = vessel.SpecificImpulse * 9.82; double m0 = vessel.Mass; double m1 = m0 / Math.Exp(node.DeltaV / Isp); //mass after burn double flowRate = F / Isp; double burnTime = (m0 - m1) / flowRate;
-
But you still want autopilot to check if you are on optimal trajectory, right? If that's the case I would imagine something that sets the course much like my script does, measures the angle between your ship's velocity vector and desired vector and takes action if the angle is too big. But if you do that, it's just easier to let the autopilot fly the ship from the beginning. So we go back to the best trajectory. Something tells me it is a brachistochrone curve. But I won't go further.
-
Hi! Not sure if I can help you with your question but I wonder what you mean by normal gravity turn. Especially compared to actual gravity turn. My script gradually turns to 45 degrees before 12 km, then it continues turning and flattens out right at apogee. This approach is far from real gravity turn. If only I could find an equation that would describe ships trajectory. Then locking autopilot's pitch and heading to alpha and 90 (where alpha is defined by the equation) would be a relatively easy thing. Meh, if only...
-
Hi! I am new to this mod and programming in general. Right now I am trying to make my program output an amount of fuel in current stage. The problem is that it does not do it dynamically for every stage. At the moment the code is much like in tutorial with some changes to determine what the current stage is. var currentStage = conn.AddStream(() => vessel.Control.CurrentStage); var currentStageResources = vessel.ResourcesInDecoupleStage(stage: currentStage.Get() - 1, cumulative: false); //btw parameter stage is still broken //and needs one to be substracted var resources = conn.AddStream(() => currentStageResources.All); while(true) { Console.WriteLine(Calculations.GetFuel(resources)) // method GetFuel iterates through resources and returns their total mass. It will return 0 if I stage } I thought that making currentStageResources a stream would solve the problem but that's not possible. And as I understand it putting the definition of currentStageResources inside the loop, while works, is not the best way to do it. Or is it? Should I even bother?
-
[1.3.1] Ferram Aerospace Research: v0.15.9.1 "Liepmann" 4/2/18
FumbeiNumbie replied to ferram4's topic in KSP1 Mod Releases
Hi! How do you calculate suicide burn time?- 14,073 replies
-
- aerodynamics
- ferram aerospace research
-
(and 1 more)
Tagged with:
-
[1.3] kOS Scriptable Autopilot System v1.1.3.0
FumbeiNumbie replied to erendrake's topic in KSP1 Mod Releases
I could take some screenshots but the deviation is usually less than 0.00001% so I don't think it will make any difference. I just though that it's odd that you get different readings without leaving the launchpad. -
[1.3] kOS Scriptable Autopilot System v1.1.3.0
FumbeiNumbie replied to erendrake's topic in KSP1 Mod Releases
Oh, haha. I'm so embarrassed! I totally forgot about it. Now have you noticed the change in geoposition values when the vehicle is still? -
[1.3] kOS Scriptable Autopilot System v1.1.3.0
FumbeiNumbie replied to erendrake's topic in KSP1 Mod Releases
Hi! I have encountered a problem with wheelsteering. My rovers go crazy no matter what I lock on. See the gif under the spoiler. Also I noticed that geoposition returns slightly different values. I never noticed it before. Have anyone stumbled across something similar? I'm using KSP 1.3 and installed this mod from CKAN. -
Hi! Is it possible to make a plane recovery? I see it this way: almost same requirements as for power recovery, but there is no need for TVR>1, then if dv is big enough for the craft to reach KSC, recovery would be 100%. If detecting wings is the same thing as detecting parachutes, then the only problem would be to differentiate the rocket and plane recovery. To simplify this let's say, that for planes recovery ratio is always 100%. I judge by my own crafts obviously, but they have plenty dv per usual. So this is a humble request. Please, please, please!
-
KSP Interstellar Extended Continued Development Thread
FumbeiNumbie replied to FreeThinker's topic in KSP1 Mod Development
I realized that I haven't thanked you for your work. Thank you! -
Thank you so much! You saved science!