UmbralRaptop changed the topic of #principia to: READ THE FAQ: http://goo.gl/gMZF9H; The current version is Fano. We currently target 1.3.1, 1.4.x, 1.5.1, and 1.6.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…
UmbralRaptop has joined #principia
UmbralRaptor has quit [Ping timeout: 206 seconds]
egg|zzz|egg has quit [Ping timeout: 206 seconds]
Carlos_hunt1 has joined #principia
Carlos_hunt1 has quit [Client Quit]
Carlos_hunt1 has joined #principia
Carlos_hunt1 has quit [Client Quit]
<discord->
Avery. — With principia could you deorbit a moon theoretically
<UmbralRaptop>
I bet KSP (or Unity) would break in a weird way if you had parts scaled to make that possible
<discord->
Avery. — But like are planets affected by spacecraft
<UmbralRaptop>
Ramming, maybe. Craft don't pull on planets. Ask œuf about the performance concerns.
<UmbralRaptop>
… actually I'm not sure about ramming either
<discord->
EvanR. — You could do an asteroid redirect mission by just sticking a probe next to it early enough
<discord->
Sir Mortimer. — /* "Do not try and tilt the planet, that's impossible.
<discord->
Sir Mortimer. — * Instead, only try to realize the truth...there is no tilt.
<discord->
Sir Mortimer. — * Then you'll see that it is not the planet that tilts, it is
<discord->
Sir Mortimer. — * the rest of the universe."
<discord->
Sir Mortimer. — ```
<discord->
EvanR. — :morpheus:
<discord->
Sir Mortimer. — damnit i need kopernicus + rss to actually do this.
<discord->
Sir Mortimer. — and there is no kopernikus for 171.
_whitelogger has joined #principia
egg|zzz|egg has joined #principia
egg|zzz|egg has quit [Read error: Connection reset by peer]
egg|zzz|egg has joined #principia
<discord->
egg. — @Sir Mortimer where is that comment from?
<discord->
Sir Mortimer. — my new kerbalism branch that tilts magnetic fields 😃
<discord->
egg. — hah
<discord->
egg. — by the way
<discord->
egg. — @Sir Mortimer another reason why you want to use the scaled space thingy (which gives you the full orientation, tilt + rotation) is that the belts rotate with the planet https://en.wikipedia.org/wiki/South_Atlantic_Anomaly
<discord->
egg. — conveniently those don't move very much, contrary to the magnetic poles which dance all over the place
<UmbralRaptop>
Implement magnetic fields as spherical harmonics?
egg|zzz|egg has quit [Ping timeout: 206 seconds]
<discord->
egg. — aaaaaaaaaaaaaaaa
<discord->
EvanR. — um geomagnetic pole vs magnetic pole?
<discord->
EvanR. — ok
egg|cell|egg has quit [Ping timeout: 206 seconds]
egg|cell|egg has joined #principia
<discord->
Sir Mortimer. — so there are 2 of those, didn't know that
<discord->
Sir Mortimer. — i only knew that there's a geomagnetic pole, and that you have to watch out for where you are on the world if you want to rely on a magnetic compass
<discord->
王小谦同学. — @egg I was talking to the founder of KerbCat today, and he recommends me to restructure my guide by split the chapters, so this way, it's easier to read, and, I could get more awards given by the robot of KerbCat
<discord->
Damien. — @Sir Mortimer you'll learn pretty quick that egg doesn't accept approximately correct, he only accepts precisely correct
<discord->
Damien. — as most computers do
egg|cell|egg has quit [Ping timeout: 189 seconds]
egg|cell|egg has joined #principia
<discord->
Gordon Dry. — Is adding zeros increasing precision?
<discord->
Damien. — when the last digit is so small that KSP's floating point errors can make it anything from 1-9 probably not 😄
<discord->
Gordon Dry. — One of the RP-1 auto-contracts (miulestones) is such a thing, like "90.000001 km crewed altitude milestone achieved"
<discord->
Gordon Dry. — One of the RP-1 auto-contracts (milestones) is such a thing, like "90.000001 km crewed altitude milestone achieved" (edited)
<discord->
egg. — @Sir Mortimer @Damien nah, I'm fine with approximations (e.g. here considering the Earth as a dipole is probably the right thing to do, the spherical harmonics UmbralRaptop suggests would be madness), as long as we are eggsplicit and correct when describing what we are doing :-p
egg|cell|egg has quit [Ping timeout: 183 seconds]
<discord->
Damien. — I know but you do love to get all wordy and specific when someone makes a simplification for the sake of ease of discussion 😄
<discord->
Damien. — but we expect nothing more from our resident EggAI
<discord->
Damien. — but we expect nothing less from our resident EggAI (edited)
egg|cell|egg has joined #principia
egg|cell|egg has quit [Read error: Connection reset by peer]
egg|cell|egg has joined #principia
<discord->
Sir Mortimer. — i'm tempted to put the magnetic pole of some planet near the equator once this works. with a killer radiation.
<discord->
Sir Mortimer. — i know what egg is typing 😛
<discord->
egg. — It's not aligned with the planet though, only with the orbit, right?
<discord->
egg. — (i.e. the red thing points to the sun)
<discord->
Sir Mortimer. — exactly 😃
<discord->
egg. — eggsactly
<discord->
egg. — can you tilt it in the red-green plane
<discord->
Sir Mortimer. — i'll just tilt the belts according to where the geomagnetic pole is. but i won't change their shape. the deformation won't be accurate. but i'll keep the magnetopause fixed on the sun axis. so the belts will wobble in 2 degrees of freedom within a magnetopause that wobbles in just one.
<discord->
egg. — In that case you should keep the belts rotationally symmetric around the geomagnetic axis
<discord->
egg. — otherwise it will be very weird
<discord->
egg. — (and the magnetopause can happily keep its current shape)
<discord->
Sir Mortimer. — dimensions and effect of solar winds are config values, luckily 😃
<discord->
egg. — my point is, once the belts are fixed in ECEF, they'll revolve once a day
<discord->
egg. — so any deformation "due to the sun" will be absurdly oriented
<discord->
Sir Mortimer. — yeah that must not happen.
<discord->
Damien. — inb4 a bug whereby the belts rotate around the planet when the craft changes attitude
<discord->
Sir Mortimer. — yeah. well. finding orbits that stay OUT of these will be fun.
<discord->
Sir Mortimer. — or munar transits for crew.
<discord->
Sir Mortimer. — "bill, let's go!" - "wait for 3 hours, jeb, otherwise you're not going to have kids"
Daz has quit [Remote host closed the connection]
Daz has joined #principia
<discord->
egg. — @Sir Mortimer it's also going to be interesting for misc. mission design (can't do space telescope stuff in the belts generally)
<discord->
egg. — Another constraint was the depression in the Van Allen belts known as the South Atlantic Anomaly (SAA). Proton hits in the detectors when passing through the SAA increased the noise to such an extent that it was impossible to continue observations. Data were not taken whenever the satellite entered a geographically fixed flux/energy contour. As a result of analysis of the effects of radiation on the d
<discord->
egg. —
<UmbralRaptop>
Please do not irradiate your telescopes
<discord->
egg. — A second effect of a passage through the SAA was a long term enhancement, by as much as factors of ten, in the responsivity and noise caused by the large radiation dosage. As described in Section II.C.5, these large changes could be erased by increasing the bias voltage on the detectors, a technique referred to as bias boosting".
<discord->
egg. — > The perigee of ISO's orbit lay well inside the Van Allen radiation belt, forcing the science instruments to be shut down for seven hours during each pass through the radiation belt. Thus, 17 hours in each orbit remained for scientific observation.
<discord->
Sir Mortimer. — so, basically, a lot of instruments don't work if radiation is too high.
<discord->
egg. — yeah
<discord->
egg. — especially detectors
<discord->
egg. — unless your goal is to observe the belts
<discord->
Sir Mortimer. — `RadiationMax` - known restriction for kerbalism. just not used. at all.
<discord->
Sir Mortimer. — but ohmygod this is going to be so tricky
<discord->
egg. — flight computers you can make radhard, CCDs perhaps less so
<discord->
TheRealWiwaxia. — Yes radiation is known to mess with electronics
<discord->
Sir Mortimer. — what was the ratiation on this specific orbit during the last 5 hours? don't forget, the belts wobble
<discord->
egg. — for all things telescope ask umbralraptor
<UmbralRaptop>
chirp?
<discord->
egg. — @Sir Mortimer yeah with the weird shape of the belts it might be best to just compute that numerically
<discord->
egg. — interpolate the orbit (this needs to be done in a way that's singularity-resistant), and numerically integrate that
<UmbralRaptop>
Incidentally, CCDs degrade over time. Like, there are notable degradations in HST
* discord-
egg. — pets HST_
<discord->
Sir Mortimer. — yep. i had a solution like that in mind. take a couple of samples and interpolate the rest.
<discord->
egg. — @Sir Mortimer yes but you need to be very very careful how you do that
<UmbralRaptop>
singularity resistant - good thing that the schwarzschild solution doesn't eggsist in Principia?
<discord->
egg. — especially interpolating orbital elements can get weird
<discord->
Sir Mortimer. — ugh. this is going to be such a mess.
<discord->
egg. — e.g. take a near-circular orbit, the argument of periapsis will basically be random noise
<discord->
Sir Mortimer. — well. approximation could work. take the stock orbit for interpolation, surely it won't be off by THAT much... and even if, nobody would notice 😃
<discord->
egg. — nope, as I just said
<discord->
egg. — the stock orbit can insanely vary because singularities in the elements
<discord->
egg. — even if you have a reasonably near-keplerian orbit
<discord->
Sir Mortimer. — do those variations affect the position of the vessel on that orbit?
<discord->
egg. — ... yes, the elements define that
<discord->
Sir Mortimer. — so you're saying a near circular orbit is haywire in KSP?
<discord->
egg. — absolutely
<discord->
Sir Mortimer. — in a way that it cannot be used to determine my position on that orbit 5 hours ago?
<discord->
egg. — not unless you're careful
<discord->
egg. — if you're careful you're just fine
<discord->
Sir Mortimer. — *...forgo all hope ye who enter here...*
<discord->
egg. — note that you have two perigees and two apogees per obrit
<discord->
egg. — note that you have two perigees and two apogees per orbit/ (edited)
<discord->
egg. — @Sir Mortimer now, if you are at apogee, your mean anomaly is π, if you are at perigee, it's 0; so your *osculating* mean anomaly makes 2 turns per orbit here (but on a Kepler orbit it obviously does one turn), so it's garbage
<discord->
egg. — but your mean anomaly is the thing that tells you how far along the orbit you are
<discord->
egg. — on that orbit, the thing that behaves usably is the argument of latitude
<discord->
Sir Mortimer. — i see.
<discord->
egg. — the four-apsis thing is caused by J2; in stock KSP the perigee might just wander around aimlessly when out of timewarp
<discord->
Sir Mortimer. — so numerically, you would jump any place on that orbit because of floating point errors.
<discord->
egg. — no don't blame that on floating-point
<discord->
egg. — you'll jump anywhere on that orbit, because the anomalies and the argument of perigee are singular there
<discord->
egg. — and since Kepler orbits are but an approximation of the real trajectory, these elements are essentially randomized on an orbit that puts them near their singularity
<discord->
Sir Mortimer. — so... `FlightGlobals.ActiveVessel.orbit.getObtAtUT` is worthless?
<discord->
egg. — well, that's slightly different
<discord->
egg. — that's very bad in the presence of Principia, because there you can't account for precessions
<discord->
Sir Mortimer. — or rather, `getPositionAtUT`
<discord->
egg. — yeahyeah I get it
<discord->
egg. — this will work in stock, but it will be abysmal around an oblate earth during timewarp
<discord->
egg. — we need to interpolate the precessing elements
<discord->
Sir Mortimer. — it will require 2 implementations, then. unless principia is a hard dependency.
<discord->
egg. — no that's the thing
<discord->
egg. — you can easily do something that's principia-agnostic
<discord->
egg. — but it cannot be getPositionAtUT
<discord->
egg. — it has to look at the orbit before, the orbit after, and interpolate the orbit in a robust way
<discord->
egg. — assuming constant nodal and apsidal precession, this will be good enough at any sane timewarp
<discord->
Sir Mortimer. — i think i get the picture
<discord->
egg. — ultimately it's just (fancyInterpolation(oldOrbit,newOrbit,t).getPositionAtUT(t)
<discord->
egg. — ultimately it's just FancyInterpolation(oldOrbit,newOrbit,t).getPositionAtUT(t) (edited)
<discord->
Sir Mortimer. — I know someone who *won't* code FancyInterpolation 😃
<discord->
egg. — oh it's not that hard
<discord->
Sir Mortimer. — lol. of course not 😛
<discord->
egg. — linearly interpolate longitude of ascending node; linearly interpolate longitude of periapsis; linearly interpolate mean longitude, re-extract the elements KSP wants
<discord->
egg. — It needs test cases based on Principia trajectories so we can check that it actually works
<discord->
egg. — and orbit interpolation will definitely be in there
<discord->
Sir Mortimer. — 😅
<discord->
egg. — in fact there's a section title for it :D
<discord->
egg. — @Sir Mortimer basically the FancyInterpolation is very obvious away from the singularities, and then you need a trick to handle singularities
<discord->
egg. — The underlying assumption is that you are on an orbit where Ω, ω, and M change at a constant rate, and a, i, e basically don't change
<discord->
egg. — so naively you could linearly interpolate Ω, ω, and M; but you then get bitten by the singularities; instead you linearly interpolate Ω, Ω+ω, and Ω+ω+M, which behave better
<discord->
egg. — @Sir Mortimer for orbits that are close to parabolic it's a bit messier but we can probably find something clever there too
egg|cell|egg has quit [Ping timeout: 190 seconds]
<UmbralRaptop>
☄️❓
egg|cell|egg has joined #principia
egg|zzz|egg has joined #principia
egg|cell|egg has quit [Ping timeout: 190 seconds]
egg|cell|egg has joined #principia
<discord->
egg. — @Sir Mortimer hm, thinking about it, this approach works well for LEO, but for say things at Lagrange points it probably falls on its face; perhaps it would be easier to have an API by which you ask Principia "where was this vessel at this time"
<discord->
egg. — @Sir Mortimer but anyway, that's something to think about at some later point, there are a lot of empty sections in that document before we get there :D
UmbralRaptop has quit [Quit: Bye]
UmbralRaptop has joined #principia
UmbralRaptor has joined #principia
UmbralRaptor has quit [Client Quit]
UmbralRaptor has joined #principia
<discord->
Sir Mortimer. — Lol yeah
UmbralRaptop has quit [Ping timeout: 189 seconds]
<discord->
Sir Mortimer. — There’s a lot of work to be done before that
UmbralRaptop has joined #principia
UmbralRaptop has quit [Client Quit]
UmbralRaptor has quit [Ping timeout: 206 seconds]
UmbralRaptop has joined #principia
egg|zzz|egg has quit [Ping timeout: 202 seconds]
egg|zzz|egg has joined #principia
<discord->
egg. — @Sir Mortimer also, mocks
<discord->
Sir Mortimer. — You’re egging on 😉
egg|zzz|egg has quit [Ping timeout: 189 seconds]
UmbralRaptor has joined #principia
UmbralRaptor has quit [Client Quit]
UmbralRaptor has joined #principia
UmbralRaptop has quit [Ping timeout: 189 seconds]
egg|zzz|egg has joined #principia
Wetmelon has joined #principia
egg|zzz|egg has quit [Ping timeout: 198 seconds]
UmbralRaptop has joined #principia
egg|zzz|egg has joined #principia
UmbralRaptor has quit [Ping timeout: 202 seconds]
UmbralRaptop has quit [Client Quit]
UmbralRaptop has joined #principia
egg|zzz|egg has quit [Ping timeout: 183 seconds]
egg|cell|egg has quit [Remote host closed the connection]
egg|cell|egg has joined #principia
Wetmelon has quit [Ping timeout: 183 seconds]
UmbralRaptor has joined #principia
UmbralRaptop has quit [Ping timeout: 183 seconds]
egg|zzz|egg has joined #principia
egg|zzz|egg has quit [Ping timeout: 206 seconds]
egg|zzz|egg has joined #principia
UmbralRaptop has joined #principia
UmbralRaptor has quit [Ping timeout: 202 seconds]
egg|zzz|egg has quit [Ping timeout: 206 seconds]
egg|zzz|egg has joined #principia
UmbralRaptop has quit [Remote host closed the connection]