-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Taking a predetermined future burn into account #128
Comments
Hey there! Yes, this would be theoretically possible I think, and I have toyed with the idea in the past. There are 3 main parts required for that:
I guess if you're only interested in kOS, Point 3 might be moot, but eventually we should implement that too. |
Heya! Sorry, I forgot to update this with my progress. I've pretty much implemented points 2 and 3 (API only and separate from descent profiles) and it works reasonably well - the impact position is not very stable and seems to move anywhere within a ~20m radius. I'm not too sure why yet but haven't had time to look into it further and, for my case, that's something I can easily correct after the reentry burn. I also reduce the mass of the aerodynamic model based on the fuel consumed by the burn. I haven't looked into the descent profiles too much as I just keep the rocket facing retrograde most of the time (and definitely during the burn), which is the default profile. Thanks a lot! |
I'm curious, do you have a branch that you could show me?
20m? I'd call that pretty damn precise ;) Or do you mean 20 km? |
I do mean 20m. I never said it wasn't precise :) I only have a local clone. I'll get it up on github soon and let you know. |
I don't remember if it's already possible or not, but maybe you can add a manoeuvre node for this burn ? I'm not sure it works mid-way in the atmosphere though. Also nodes after (or during) aerobrake are difficult to tweak because they appear at the wrong place relative to the predicted trajectory. Maybe improving this system (displaying the node at the right place, or more generally completely override the stock orbit patches to account for aerobraking) could help ? |
From what I understood, the current implementation of manoeuvre nodes instantly applies the full burn's worth of velocity so it wouldn't be accurate. |
Actually I had the plan to also include "real burns" in the Trajectories mod (hence the name which is more generalist than just "aerobraking" or other namesI had in mind). But I never started it. I think "real burn" + fusion of trajectory display with stock orbit patches would really add value to the mod. I have no idea how to do the latter though (or even if it's possible). |
I'm writing a kOS script to accurately land a booster back at KSC (Falcon 9 style) and I'm using the Trajectories mod to put it into the correct course when performing the boostback. This is working pretty well so far and I can consistently land within 5m of the target, which I think I can still improve with some changes to how the landing burn is performed.
The next big step is to add a reentry burn. Obviously, this burn will put the rocket off course and land far from the target. I was wondering if we can provide a specific burn to the algorithm, e.g. start burning at 30km altitude for 5 seconds, so that it already accounts for that when performing the boostback?
Not asking you guys to do this, I'll be happy to. I haven't had a proper look at the code yet but if you can point me in the right direction or give me your thoughts on whether this is feasible at all, that'd be great.
Bonus question: To get around not being able to predict the drag information for future vessel states, would it be possible to launch my vehicle with the grid fins deployed, generate and store the drag data somewhere and then tell the algorithm to use this data when calculating the trajectory below a certain altitude for subsequent flights?
The text was updated successfully, but these errors were encountered: