raptop changed the topic of #principia to: READ THE FAQ: http://goo.gl/gMZF9H; The current version is Galileo. We currently target 1.5.1, 1.6.1, 1.7.x, 1.8.1, and 1.9.1. <scott_manley> anyone that doubts the wisdom of retrograde bop needs to get the hell out | https://xkcd.com/323/ | <egg> calculating the influence of lamont on Pluto is a bit silly… | <egg> also 4e16 m * 2^-52 is uncomfortably large
Hypergolic_Skunk has quit [Quit: Connection closed for inactivity]
Iskierka has quit [Ping timeout: 202 seconds]
Iskierka has joined #principia
egg|cell|egg has joined #principia
egg|cell|egg has quit [Ping timeout: 194 seconds]
egg|cell|egg has joined #principia
Blu3wolf has joined #principia
Moistmelon has quit [Ping timeout: 194 seconds]
Blu3wolf_ has joined #principia
Blu3wolf_ has quit [Client Quit]
Blu3wolf has quit [Ping timeout: 378 seconds]
Blu3wolf has joined #principia
Blu3wolf has quit [Client Quit]
Blu3wolf has joined #principia
raptop has quit [Ping timeout: 189 seconds]
<discord-_>
Chandy. — the manuever node delta v countdown thingy isn't changing as i go along. can anyone help with that? sorry if this is basic but i'm new to using principia
<discord-_>
lpg. — that's normal
<discord-_>
lpg. — principia's flight plan's time countdown is the only indicator you get
<discord-_>
Chandy. — so i should base it all on that?
<discord-_>
lpg. — base what on what
<discord-_>
Chandy. — is that also why it deletes the manuever while i'm burning
<discord-_>
Chandy. — the bunrs
<discord-_>
Chandy. — the burns (edited)
<discord-_>
lpg. — you start burning when the flight plan tells you to, and stop when it tells you to
<discord-_>
lpg. — pay no attention to the stock indicators
<discord-_>
Chandy. — Okay. thank you
<discord-_>
Chandy. — that makes alot more sense haha
<discord-_>
lpg. — one caveat: the flight plan isn't aware of RO's non-instantaneous ignitions. so in reality you want to throttle up somewhat before what the flight plan says, and you'll have to figure out on a per-engine basis how much that "somewhat" is
<discord-_>
Chandy. — probably like a couple seconds beforehand?
<discord-_>
lpg. — around that, yes
<discord-_>
Chandy. — Okay
<discord-_>
Chandy. — thank you so much
raptop has joined #principia
<discord-_>
Chandy. — what about all the predicted future orbits? is there a way to toggle them?
<discord-_>
Anomaly. — Have you read the documentation available for Principia?
<discord-_>
Chandy. — the github page? i read a little but i'll read it all now
<discord-_>
Chandy. — probably should've done all of it first
<discord-_>
Ripper2900. — In my opinion, the burntime calculations and also executing them is one of the biggest issues with principia.
<discord-_>
Ripper2900. — In the early stages of the game, I have the technique of using a guided stage to eg line up with a translunar burn, and then decouple and start a spinstabilized unguided stage to execute that burn. But principia can only calculate burns with the current motor, and I'm using the one from the NEXT stage. This basically invalidates the burntime calculation.
<discord-_>
Ripper2900. — Later in the career, the ignition delay is the biggest factor - specially with shorter burns.
<discord-_>
Ripper2900. — MJ can not help, as it inevitably ends up underburning.
<discord-_>
Ripper2900. — The burntime START indication of principia is a great way to indicate when to execute the burn, but when to END the burn should be governed by the dV spent, imho. Not the time.
<discord-_>
Ripper2900. — A dV countdown would really be a help to hit the fligtplan better - for me at least.
<discord-_>
Ripper2900. — The only good solution, I've found is to look at the mapview and stop the burn when the planned and the predicted trajectories line up.
<discord-_>
egg. — yes, this is how you should do it.
<discord-_>
egg. — you need closed-loop guidance if you want accuracy, and you have to do that by hand (looking at map view) because we are not in the business of writing an autopilot; @lamont is.
egg|anbo|egg_ has joined #principia
egg|anbo|egg_ has quit [Remote host closed the connection]
egg|anbo|egg_ has joined #principia
egg|anbo|egg__ has joined #principia
egg|cell|egg has quit [Ping timeout: 189 seconds]
egg|anbo|egg_ has quit [Ping timeout: 378 seconds]
Moistmelon has joined #principia
<discord-_>
scimas. — If the future position from the prediction were exposed - respecting the prediction settings like steps and tolerance - everyone could write an autopilot 😁
Moistmelon has quit [Ping timeout: 194 seconds]
<discord-_>
Farrier. — Yeah, but to stop full-throttle burn even roughly in time while looking at the map you need some superhuman reaction. 😖
<discord-_>
Butcher. — I use kos to burn for the required amount of dv.
<discord-_>
egg. — @scimas not really, because you would need to think about what you are trying to optimize (timing/position of a specific event in some reference frame? least squares fit of the trajectory in a given frame? many many options), and most optimization techniques want to know about the equations of motion, at which point you need to be tied into Principia for gravitational computations. @lamont has been t
<discord-_>
egg. — As usual, nothing is simple.
egg|anbo|egg__ has quit [Remote host closed the connection]
<discord-_>
lpg. — for more accurate hand burns, I'm told Better Burn Time <1x warp helps
<discord-_>
Damien. — *The Reach Method*
<discord-_>
lpg. — err. or is that Better Time Warp?
<discord-_>
Damien. — The second one
<discord-_>
Butcher. — Ugh, wish I thought of this sooner, I have just massively simplified my lunar missions.
egg|anbo|egg_ has joined #principia
<discord-_>
scimas. — @egg Exactly, all I want is some quantity that I _can_ optimize for. Burning a specific amount of dv doesn't seem to be good enough. Either you burn full throttle the whole time to have the manoeuvre node guidance and lose some dv accuracy (because you can't start or stop the burn in the middle of physics ticks) or you throttle down towards the end and lose the guidance and keep burning past the b
<discord-_>
egg. — > seems like the easiest
<discord-_>
egg. — Nothing is simple, it all gets more complicated, if you build upon it it will break.
<discord-_>
egg. — Any API has a fairly heavy maintenance cost, because we must make sure that we don’t break users that we don’t know about, because we must have clean and documented error handling (whereas within principia we simply crash if we violate our own invariants), and because unless it is carefully designed it can easily restrict future changes to our internals.
<discord-_>
egg. — Guidance in particular is a very hard problem, and we need to think about something robust.
<discord-_>
egg. — It is easy to say things that are ill-defined, harder to say things that are well-defined and useful (position? in what frame? how do you interchange frames through the external API? some estimated time? estimated how/why? etc.).
<discord-_>
egg. — > I simply have no way of telling how well I executed the burn
<discord-_>
egg. — In the meantime, looking map view tells you that (and Better time warp allows you to act on it if your acceleration is unmanageably high).
<discord-_>
egg. — I believe @lamont has some plans for guidance that should be extensible to Principia *in close-to-Keplerian cases* while requiring only a minimal API, but I am not sure of the specifics (and this is likely a while away on both sides, there is only one lamont and two of us on Principia)
<discord-_>
scimas. — > position? in what frame?
<discord-_>
scimas. — I don't really care as long as it is consistent. Going with the same TLI example: I would need the position of the vessel and the Moon at some time t. As long as the returned positions are in the same frame, their relative position should be the same irrespective of the frame.
<discord-_>
scimas. — > how do you interchange frames through the external API?
<discord-_>
scimas. — I don't want to. That is why I said "respecting the prediction settings" in the first message in this conversation. What I meant was respecting the settings in the Principia main window, which is the plotting frame, tolerance and steps.
<discord-_>
scimas. — > some estimated time? estimated how/why?
<discord-_>
scimas. — That is not an estimate I'm asking Principia to make. Sorry if that wasn't clear.
<discord-_>
scimas. — > looking map view tells you that
<discord-_>
scimas. — Of course, but we're talking about the possibility of automating the process of node execution. The computer can't "look" at the map view.
<discord-_>
scimas. — Anyway, I can respect that you want a more well defined API.
<discord-_>
egg. — if you use the prediction settings, you have an API which is halfway tied to the UI, because that is how you set the prediction settings; this is a very messy coupling. Your guidance will start depending on what the player may have looked at last, even if the player is no longer looking at map view
<discord-_>
scimas. — Are you saying that the trajectory predictions are only updated when we are in the map view?
<discord-_>
egg. — that is true, too, though it is not necessarily tied to what you are saying
<discord-_>
egg. — the prediction is extremely costly, so it is computed asynchronously, less than once per frame, and only if needed
<discord-_>
egg. — (or rather it *can be* extremely costly, depending on settings)
<discord-_>
scimas. — Okay, that makes sense, I wasn't aware that it isn't updated all the time.
<discord-_>
egg. — but here we get into a deeper point: everything quickly ties into messy innards of Principia
<discord-_>
egg. — it used to be computed at every frame, and making it asynchronous was a massive performance improvement
<discord-_>
egg. — (took us a couple of months, too)
<discord-_>
scimas. — And for the record, I'm not opposed to changing the prediction setting through an external API and so decoupling it from the UI. I was only stating that for my particular use case it wouldn't be necessary.
<discord-_>
egg. — had we had an API that required it to be fresh, we would not have been able to do that easily
<discord-_>
egg. — no again you are entirely misunderstanding: we do not want to expose everything through an API, because those things may cease to exist in a meaningful form tomorrow
<discord-_>
egg. — "where was this vessel yesterday" (+ technicalities re. frames and error handling) is an API we have, because that is something that we are reasonably confident will remain meaningful, and we have a very concrete, certain, and stable use case for it
<discord-_>
scimas. — > no again you are entirely misunderstanding: we do not want to expose everything through an API
<discord-_>
scimas. — I didn't ask for everything to be exposed..? I only talked about it because you brought up changing the frame through the external API.
<discord-_>
egg. — You mentioned the prediction setting; that is a coupling to the prediction, which is a UI/visual thing
<discord-_>
egg. — perhaps this whole "future position" thing should instead involve a separate trajectory which is not the prediction, and is computed with different settings
<discord-_>
egg. — in which case an API for all of its settings needs to be defined, and the computational cost must be taken into account
<discord-_>
egg. — but quickly we are talking about weeks of work
<discord-_>
egg. — work that I am unlikely to find interesting, too
<discord-_>
scimas. — > You mentioned the prediction setting; that is a coupling to the prediction, which is a UI/visual thing
<discord-_>
scimas. — Okay.
<discord-_>
scimas. — > but quickly we are talking about weeks of work
<discord-_>
scimas. — I was hoping to avoid just that with my proposal of using the existing prediction things, but you have already clarified that it wouldn't work. So I'm not going to ask you implement an entirely new thing on the very priliminary proposal I gave.
<discord-_>
egg. — Nothing is simple :-) Speaking of which, I am able to reproduce that final time rebase bug, but I have no idea what is going on...
<discord-_>
egg. — @scimas note though that there is hope on the guidance front, since lamont, who has done a lot of research on guidance methods that have a tendency to actually work, has outlined that there might be a way to get away with a fairly small amount of coupling (just asking for the planned state at the end of the burn), and that this should be enough to guide reasonably well in reasonably-Keplerian situati
Blu3wolf has quit [Quit: Konversation terminated!]
<discord-_>
scimas. — Of course I have no idea how lamont plans to do it, but I don't know how getting the planned state would help. I can already manually enter the planned state in code, the problem is I can't match that planned state with the actual state without numerically integrating the trajectory into the future. And if the situation is reasonably-Keplerian, I can already rely on the values provided by KSP, wou
<discord-_>
egg. — reasonably-Keplerian, but still involving engines
<discord-_>
egg. — the game doesn’t integrate the engines for you
<discord-_>
egg. — (and then whatever internal parameters your guidance logic wants to integrate together with the motion)
<discord-_>
egg. — the PV in PVG, for instance
<discord-_>
egg. — consider, e.g., that PVG is pretty good at launching into the right orbit with Principia, even though it disregards J2 which is quite significant on Earth
<discord-_>
scimas. — No, it doesn't integrate the engines, but I can always observe the current state. And base my guidance solely on how "close" the current state is to the planned state.
<discord-_>
egg. — that is unlikely to be a very good guidance method, but if it works then it should work well enough in Principia too (again, consider PVG launches and J2-induced error, it is not that bad)
<discord-_>
egg. — (and conversely, launch-to-orbital-parameters *taking perturbations into account* is a really nasty problem, because then you start having to optimize for mean elements, the things shown by the orbital analyser, which means you need to compute them and likely some jacobian involving them, and mean elements are a weird salad already)
<discord-_>
scimas. — I will admit that I was only talking about "Moon" because you people tend to play with RSS. I personally don't, so can't talk about complications arising with J2 and company. But even my hacky kOS script does a good job of launching into the right orbit. There really is no problem when operating very close to single celestial bodies. It's just that a lot of interesting stuff happens in the non-Kep
<discord-_>
egg. — that is actually very close to Keplerian where it happens
<discord-_>
egg. — (you inject into your transfer orbit from a low orbit)
<discord-_>
scimas. — Okay, I was thinking about where you end up going after the burn.
<discord-_>
egg. — yeah, but that either doesn’t matter or summons horrible demons, no middle ground there
<discord-_>
egg. — if optimizing for the immediate-post-burn state is enough, then it doesn’t matter. If you need to optimize for something else, the something is effectively mission-dependent (approach distance? aeorobraking speed? terrain distance? landing/impact site coordinates?), and even a generic "make it look like what I have in map view" is a mess (least squares in some frame? but how do you clearly communic
<discord-_>
egg. — (of course besides the horrible UX problem the actual technical problems are a right mess there too)
UmbralRaptor has quit [Ping timeout: 202 seconds]
<discord-_>
egg. — @Butcher what is the intended behaviour when rebasing after the end of the flight plan?
<discord-_>
egg. — Not crashing obviously :-p But I am not sure whether it should do nothing and yell at you, delete the flight plan, or delete the flight plan and recreate one
UmbralRaptop has joined #principia
<discord-_>
Butcher. — I think having it just delete it maybe? Or recreate one. I'm not sure which is better.
<discord-_>
Butcher. — Maybe just create a new default flight plan.
<discord-_>
egg. — yeah I guess that is the least annoying option
<discord-_>
egg. — delete would be redundant with the delete button
<_whitenotifier-9244>
[Principia] eggrobin labeled issue #2658: Rebasing a flight plan when past the end fatals the game. - https://git.io/JJgx1
<_whitenotifier-9244>
[Principia] eggrobin assigned issue #2658: Rebasing a flight plan when past the end fatals the game. - https://git.io/JJgx1
<discord-_>
Butcher. — I'm not a fan of klaxons for things that don't really need them.
raptop has joined #principia
<_whitenotifier-9244>
[Principia] eggrobin opened pull request #2660: Fix a couple of bugs in flight plan rebasing - https://git.io/JJVGj
<discord-_>
scimas. — Isn't the else condition in that ternary operator exactly what the code was doing earlier?
<discord-_>
egg. — it is; the ternary is a fix to the @Butcher bug. The fix for your bug is the ResetValue business: the final time does not change, but the way it is displayed should change; failing to do that means that it eventually gets reparsed as the existing length, and pushes the final time forward
<discord-_>
scimas. — So the render was causing the actual flight plan to extend? Btw thank you for answering so many questions today 🙂
<discord-_>
egg. — yeah, something in the C# layer, I have not dug through the exact sequence of events but there is some self-parsing going on in many places (since keyboard input is a thing, and since we want the formatted output to be consistent with what we would read)
<_whitenotifier-9244>
[Principia] pleroy labeled pull request #2660: Fix a couple of bugs in flight plan rebasing - https://git.io/JJVGj
egg|cell|egg has joined #principia
egg|cell|egg has quit [Ping timeout: 198 seconds]
egg|cell|egg has joined #principia
egg|cell|egg has quit [Ping timeout: 202 seconds]
<discord-_>
V_i-MADx. — hello i want know if principia work with ksp 1.7.3 RO\RP-1 ?
<discord-_>
scimas. — Galileo was the last version to support 1.7.3. You can find a download link for that on github by going through the history of the README.md file. And read the wiki (also on github) if you're going to use Principia.
egg|cell|egg has joined #principia
<_whitenotifier-9244>
[Principia] eggrobin synchronize pull request #2660: Fix a couple of bugs in flight plan rebasing - https://git.io/JJVGj
egg|cell|egg has quit [Ping timeout: 198 seconds]
egg|cell|egg has joined #principia
<discord-_>
V_i-MADx. — @scimas thx ❤️
<discord-_>
V_i-MADx. — @scimas but i don't know how to going through the history of the readme.md
<discord-_>
scimas. — Click the README.md link in the list of files, there should a History button near top right.
<discord-_>
V_i-MADx. — ok there many history what i need to open?
<discord-_>
V_i-MADx. — @scimas ok what next?
<discord-_>
scimas. — Look for the name of the version you want, open that link and look for the download link.
<discord-_>
V_i-MADx. — @scimas ok thanks for help ❤️
<discord-_>
V_i-MADx. — @scimas the link working but the download no
<discord-_>
V_i-MADx. — @egg please i need principia for ksp 1.7
<discord-_>
V_i-MADx. — ok well
<discord-_>
V_i-MADx. — work
<discord-_>
scimas. — Not, sure what you mean, it works just fine for me. Also, please avoid pinging unless it's something that needs specific attention from me.
<discord-_>
scimas. — Not sure what you mean, it works just fine for me. Also, please avoid pinging unless it's something that needs specific attention from me. (edited)
<discord-_>
V_i-MADx. — @scimas sorry mybe my internet was bad
<discord-_>
lpg. — stop @ing people every time you say something
<discord-_>
V_i-MADx. — ok
<discord-_>
V_i-MADx. — well
raptop has quit [Ping timeout: 202 seconds]
egg|anbo|egg_ has quit [Remote host closed the connection]
raptop has joined #principia
egg|cell|egg has quit [Ping timeout: 202 seconds]
egg|anbo|egg_ has joined #principia
<discord-_>
dawidePl. — Did you know? You don't have to and you are not supposed to ping people every message
<discord-_>
dawidePl. — Did you know? You don't have to and you are not supposed to ping people every message. (edited)
<raptop>
@@@@@@@@
egg|anbo|egg__ has joined #principia
egg|anbo|egg_ has quit [Ping timeout: 204 seconds]