[15:37:02] NASSP Logging has been started by indy91 [15:37:03] the S-IVB was just a few degrees off in yaw [15:37:04] ok ok, it is suspicously close to 50% [15:37:36] orbital velocity vector vs. airspeed [15:38:18] So I think I have to compensate for the 0.5 factor in the drag equation when using SetCW [15:39:33] and the CSM probably was just in a bad attitude for drag, but it should have the same issue [15:41:17] but I guess the legacy model doesn't use the dynamic pressure in its calculation [15:41:31] not the same number that the Orbiter API comes up with I mean [15:42:19] but instead does F = CW*rho*V^2*A [15:42:35] which is weird but oh well [15:43:32] I could of course use the airfoil model, but I'm having a bit of trouble understanding how to use it for a symmetrical object like the S-IVB or CSM [15:48:54] what atmosphere model are you using, out of curiosity? [15:55:18] the standard I think [15:55:21] Jacchia71-Gil [16:02:43] the reference area calculation for drag is also a bit weird in the legacy model, hmm [16:03:07] in 2D it's basically sin(aoa)*Area1 + cos(aoa)*Area2 [16:03:16] where the areas are defined in the cross section function [16:03:23] 12 and 26 m^2 [16:05:03] the result is a maximum area of 28.6 m^2 [16:05:09] at 25° [16:07:22] or rather 65° pitched up [16:49:57] morning! [16:52:34] hey Mike [17:03:06] hey [18:01:18] n7275, have you ever done stuff with CreateAirfoil? [18:18:14] not recently enough that I remember how it works, unfortunately [18:19:36] was working on a lifting body design circa 2018, and that's probably the last time I looked at it [18:21:23] you can have two orientations with it [18:21:29] LIFT_VERTICAL and LIFT_HORIZONTAL [18:22:14] for drag calculations relevant is that vertical uses the angle of attack (alpha) and horizontal the slip angle (beta) [18:22:26] you can get somewhat away with only defining one of them [18:23:35] but if you are e.g. 90° yawed to left or right then your angle of attack is still 0 [18:24:16] producing the same amount of drag as if you were pointing forwards [18:24:41] so for that it would be desirable to also define the function with the slip angle, horizontal [18:25:21] but I don't think that gives realistic results for all cases either [18:25:42] if you e.g. slip the drag area between the two airfoils [18:25:55] split* [18:26:29] like, pitched up 90° and yawed 90° [18:29:36] the slip angle has a singularity if you have the vessel point straight up [18:48:57] yeah, as I recall it's a very simplistic first-year-engineering-textbook-flat-plate-approch [19:12:14] the main problem in this case is really that it's optimized for aircraft and not cylindrical rockets [19:12:26] probably implemented that way with the Delta Glider in mind [19:13:04] there is also the option to let Orbiter calculate the area from the cross sections [19:13:22] like it does in the legacy aero model [19:13:48] that could be interesting so that the contribution of one airfoil becomes 0 instead of having a singularity [20:56:43] night! [14:41:34] hey Nik [14:47:16] hey [14:57:38] someone had asked about it on the forum, so I added the Apollo 7 retro attitude orientation PAD for the MCC [14:57:54] I don't even know if the RTCC could calculate it, but for the RTACF I even have the punch card format for that calculation :D [15:00:41] I'm not sure, but I think in the RTACF the only way to start some calculation was with punch cards [15:00:56] they had UNIVAC 1108s [15:37:09] punch cards are fun! [15:50:08] maybe we need a card punch MFD [15:50:38] you can set up an RTACF MFD that only works with punch cards :D [16:20:03] morning! [16:20:16] that sounds amazing lol [16:28:01] semi-related heres the end result of my experimentation with the hangle subroutine https://drive.google.com/file/d/1RTgwvtrgbAqHWXUxhgQVakQECyKqOqh4/view?usp=drivesdk [16:29:56] hah awesome! I've been considering adding a fanfold paper-like output to pyul [16:48:09] would be nice to have a free-software solution. I used Rich Cornwells listtape, piped into netcat, broadcasting to hercprt [16:48:37] I guess all but the last part is [16:50:13] the font is JuliaMono, which has a very 1403ish look to it [16:55:44] oh man [16:57:15] I might have to try that out [17:02:48] I tried it with the output of pyul, the only issue is that hercprt doesnt detect the page breaks [17:02:51] hey Mike [17:06:02] n7275, that listing looks great [17:10:21] yeah, do you know what I would have to feed it for the page breaks? is there a special character or something? [17:12:35] ohhhh there's a special form feed symbol [17:17:03] n7275, were you running pyul locally? if so I can show you what to change that might fix it [17:18:41] locally, as in not over ssh? [17:19:02] I meant, using your own output from it and not something I generated [17:19:02] because I am [17:19:18] oh then yes locally [17:19:48] https://github.com/thewonderidiot/pyul/blob/master/pyul/monitor.py#L64 [17:19:59] that line should just become: [17:20:01] print('\f', file=self._lineprinter) [17:20:05] I think [17:20:33] and it might just work [17:30:39] made the change and sent it to the "printer" [17:31:25] will have to wait until i get home to see if it worked [17:35:03] hahaha alright [17:42:36] ohhh actually [17:42:50] you might need to add to that print() statement: [17:42:53] , end='' [17:43:01] to stop it from generating a newline immediately at the top of the next page [17:43:17] so [17:43:17] print('\f', file=self._lineprinter, end='') [17:45:01] I may have to copy that out of the znc log later, but I'll give it a try [17:53:01] may not need that extra bit. [17:53:51] looking at the output in vim, theres a single '^L' between pages, which is the same is I have from listtape [17:53:56] we shall see [17:56:51] hmmm yeah okay [17:57:28] without the end='', the first line of the next page is on the same line after the ^L [18:01:36] okay, yeah, hard to tell from my end [02:28:13] thewonderidiot, https://drive.google.com/file/d/1-YAtG8oYTj9woVSrHBq8H2UmZq8aaqcF/view?usp=sharing [13:13:48] hey Ryan [13:14:13] morning [13:14:19] did that file work for you? [13:19:07] yes. worked great! [13:19:37] if all worked properly you shouldnt have noticed much :P [13:20:21] can confirm [13:28:35] you should have a working waste stowage valve and glycol in the cooling loops :) [13:34:31] nice! [13:36:02] my intent last night was to log a bunch of telemetry, but I got stuck on the "why is this port blocked when it doesnt look like it is" part [13:43:37] lol [14:42:04] hi Nik [14:46:11] hey [15:09:57] Orbiter gives half the density I am expecting at 298km altitude [15:21:20] at most altitudes it seems [15:25:47] oh. that's a problem. [15:25:58] explains the drag issue [15:27:30] it explains why I get about half the drag in the 10 hours of separate coasting I did with CSM and S-IVB [15:27:38] than I was expecting [15:28:17] NRLMSISE-00 gives 50% more drag [15:28:23] but still low [15:28:53] especially at 300km it seems to heavily depend on temperature [15:31:04] actually what I got relative to minimum area and CD of 2 I am currently using is a factor of 1.1 for the CSM and 0.45 for the S-IVB [15:31:18] the S-IVB has been holding a steady attitude so that should have been 1.0 not 0.45 [15:31:51] and that is based on varying the CD for a 10 hours coast period where I saved the initial and final state vectors [15:32:52] and I guess that means that the CSM should have a factor of 2.4. Probably because I've been at draggy attitudes a lot [15:33:13] although that seems a lot [15:35:12] I guess I have to invest some time into understanding what Orbiter does [16:43:08] morning! [16:53:40] n7275: that looks amazing! [17:11:55] hey Mike [17:25:40] what's up? [17:26:32] trying to understand Orbiter's atmosphere models [17:26:44] I'm getting half the density of the 1962 US Standard Atmosphere [17:27:18] Orbiter has two detailed models to choose from which should in theory be more accurate [17:27:52] could also be an Earth ellipsoid issue again [17:28:16] our Earth is spherical with the radius of the launchpad LC-39 [17:28:32] but maybe Orbiter is still calculating the density as a function of latitude [17:32:38] mmmmm [17:36:15] One of the things the RTCC and RTACF could do is take two state vectors that are far apart in time [17:37:03] and then propagate the first state vector to the time of the second one, with varying drag [17:37:19] I did that with my 10 hours of Apollo 7 coasting [17:37:29] got a drag factor of 0.45 for the S-IVB [17:37:54] if the density prediction is exactly right that should be 1.0, the S-IVB is still keeping the desired attitude [17:38:06] for the CSM I got 1.1, but I've been maneuvering around a lot [17:38:26] also fun to see is the uncoupled thrusting of the S-IVB APS [17:38:45] the CSM state vector prediction gets to less than 100 meters error [17:38:50] with the right drag factor [17:39:07] the S-IVB one is larger, probably because of the APS [17:45:40] I can confirm at least that Orbiter uses the altitude and not the radius for the density calculation [17:45:55] that is good for us as we use a different radius than the normal Earth in Orbiter [18:14:37] I did a quick search of the forum earlier, looking to see of anyone else and noticed anything odd with atmosphere density. nothing. [18:27:17] well I'm not really sure yet it's actually odd [18:27:38] the graph in one of the tech notes from martins seems to suggest a great density variance with temperature [18:28:40] I guess I'll work on verifying the Orbiter calculations in a MATLAB script or so [18:28:49] just for understanding it better [18:29:58] but I do find it weird that the density of the standard atmosphere models used in the RTCC, for all trajectory simulations, would be wrong by that much [19:03:45] yeah [21:09:41] night! [21:46:02] TBH I'm not surprised that no one has ran into issues with the atmosphere model. Is there any other mod modelling the level of detail NASSP is? [21:46:20] Don't think SSU is even worrying about issues like this. [15:12:37] hey [15:31:08] hey [15:41:41] you can actually write your own atmosphere models for Orbiter [15:50:39] yes. there's api support for it [15:52:56] I feel like the Jacchia 71 model is giving too low temperature, but I can't really prove it quite yet [15:53:07] would be nice if martins had the source code for that public [15:54:04] yes, it would :/ [15:54:08] and the temperature is then causing the density to be low [15:54:22] maybe there is an error in the calculation [15:54:51] but then I also seem to get weird temperatures in some cases with the other model, so I don't know if that actually is a problem [16:00:01] also always possible that some approximation in Orbiter isn't accurate for 1968 [16:00:40] very true [16:01:12] have you tried the NRLMISSE model? [16:01:57] NRLMSISE, rather [16:01:59] yeah [16:02:28] on average I would say it's about halfway between Jacchia 71 and 1962 US standard atmosphere [16:02:40] probably a bit closer to what I was expecting [16:02:51] closer than half [16:03:12] so that would be better to use I guess [16:03:26] it's not a consistent half of the expected value though [16:03:38] for some other missions I get closer [16:05:12] well that's perplexing [16:07:57] I mean, density is a function of altitude and the direction of the sun mainly [16:09:06] so any problem with the temperature calculation would be the direction of the sun [16:19:20] we could try feeding the same initial conditions into GMAT and orbiter and see if results are even close [16:21:48] yeah [18:53:38] hey Mike [19:57:20] Hi all [20:44:52] hey ggalfi [20:47:54] what's up? [21:52:19] ggalfi, how've you been. I haven't seen you in a while. [22:16:42] Fine thx. Reworked the CSM Optics visual part (made the reticle more conformant to the real design, and made the camera transformation consistent with the rules of geometrical optics). [22:18:06] However I've done something nasty as the optics viewport begins to jitter after a while (I guess it is due some sort of memory leak/illegal addressing). [22:18:44] If you want to have a look, here is the new code: https://github.com/ggalfi/NASSP/tree/optics [22:19:30] I don't want to submit a PR till I haven't found the cause of this jitter. [22:22:38] n7275: About I haven't been here a while: last week when I entered here on to this channel I got your message about my VC development back from March :) Just I didn't have clue on how to answer through this Guenter guy... [22:26:58] .tell ggalfi Like this! [22:27:39] .help [22:28:07] Oh, guess help broke at some point [22:28:53] Thymo, thx, I'm infinitely smarter now with this .tell statement! :) [22:53:47] .tell n7275 Just learned how to use our good old Pad Leader for sending messages. Thanks for your kind comment on my VC development back from March! :) [22:59:49] .tell indy91 I've made new CSM Optics reticle. It is rotating with shaft, as discussed, and the view is _not_ rotating with it now, which we haven't discussed, but it should be that way because of the rules of optics. Still have some occasional jitter in SCT and SXT views, I guess due to some bad addressing I made. I'll submit a PR when I find the [22:59:50] cause of the jitter, but till then you can see it, if you want to make some comment: https://github.com/ggalfi/NASSP/tree/optics [23:00:44] Bye all! [13:14:08] good morning [14:38:05] hey [14:39:50] I've just learned something that makes me feel better about the atmospheric density situation [14:40:32] for 299km, which is the altitude in one of my Apollo 7 scenarios [14:41:06] 1962 US standard atmosphere: 3.654 kg/m^3 [14:41:27] 3.654e-11 [14:41:48] 1976 US standard atmosphere: 1.957e-11 kg/m^3 [15:00:02] oh wow [15:05:46] so definitely closer to Orbiter [15:06:40] and I'm not just going by the instantaneous density, I've done the trajectory check with a 10 hour coast [15:06:57] so what I am wondering now [15:07:00] RTCC uses CD of 2 [15:07:12] but for both CSM and S-IVB it's actually somewhat higher [15:07:17] but actual density is lower [15:08:03] and right now I am using the CD of 2 for CSM and S-IVB. So maybe I just need to make that larger, more realistic [15:08:44] and I'll be closer to the actual drag then [15:08:56] with CD and density both being off kind of cancelling each other out [15:09:34] the RTCC did get the Jacchia density model at some point [15:09:52] not sure when, there is a RTCC Requirements memo from late 1970 [15:22:24] haha, there is a revision to the Apollo 7 operational trajectory that we don't have [15:22:33] and it does "The CSM orbital drag model is updated" [15:22:48] time for NARA Fort Worth to reopen... [17:05:57] haha, yep [17:34:25] I ran accross this the other day. https://celestrak.com/NORAD/documentation/spacetrk.pdf. Is this related to the RTCC propagation routines in any way? [17:38:31] that's the propagation methods for the two-line elements, right? [17:39:18] the RTCC had something like it, the Analytic Ephemeris Generator. But it's mostly based on the work of Brouwer, the stuff in this document on the work of Kozai [17:39:23] similar but mostly different [17:39:39] I never managed to implement the AEG properly [17:40:13] Ron scanned this for me a while ago: https://archive.org/details/68fm23images [17:40:17] uhh [17:40:19] wrong document [17:40:39] https://archive.org/details/68fm119images [17:41:08] but it has some errors and the equations are so complicated and diffiuclt to understand I need the document that preceeds this one to really be able to use it [17:41:42] but because the nonspherical gravity is weaker in lunar orbit I am using it for the lunar launch window processor [17:47:00] because the error from the thing I couldn't figure is not so great then [18:18:16] ahh, okay. [18:21:23] based on the same ideas though. Calculate mean orbital elements and propagate analytically to avoid numerical integration. [20:36:27] hi all [20:51:29] hey [20:51:37] I got your message [20:58:05] Were you able to test it? I'm curious that it's only me or you also got some random jittering in the optics view? [21:00:25] maybe I only got part of your message :D [21:00:38] I see that you put your branch on Github [21:01:07] I can test it if you want. I do not get any jittering in the current NASSP version though [21:01:46] the message I got from you got up to "I'll submit a PR when I find the" [21:02:28] :) ... I find the cause of this jitter, which happens occasionally in optics view [21:03:17] [00:59:49] cause of the jitter, but till then you can see it, if you want to make some comment: https://github.com/ggalfi/NASSP/tree/optics [21:03:38] Looks like your IRC client wrapped the lines so it didn't get included in the reminder [21:04:08] right [21:04:13] building the branch right now [21:04:17] Probably I made some bad addressing error or something like that [21:04:40] I think the code for the resolved mode should still be correct, right? [21:05:13] was based on some actual equations rather than the desired behavior [21:05:45] I haven't touched the mode logic. However, with the new view transformation, the resolved mode became really useful [21:06:05] that's what I thought [21:06:25] the function setCameraLOS is what I couldn't figure out when I tried to implement this myself [21:07:54] Yeah it is not perfect, because you need three Euler angles properly set, but with oapiCameraSetCockpitDir, you can only set two. [21:08:01] yeah [21:08:56] But luckily, trunnion angle is limited to <60 degs, so in the way I implemented it, it doesn't cause too large errors. [21:09:23] I am always impressed with your work but you do tend to add build warnings haha [21:09:33] conversion from double to LONG in this case [21:09:39] no big deal [21:09:49] but something to be fixed before getting merged of course [21:10:14] so when do you get jittering? Manual mode or CMC or... [21:10:57] I got it in manual mode (in P52) and it jitters only in the direction of trunnion. [21:11:12] ok, I'll try that [21:11:55] SCT looks nice [21:11:59] reticle* [21:12:07] It sometimes happens, sometimes not. Typical indication that I have done something nasty. [21:12:55] CMC optics drives differently, too [21:13:09] did you put in some of your CDU code or optics drive stuff? [21:13:22] I can already see jittering in the SCT view [21:13:49] No, not at all. What you see in my commit, that is what I have tested. [21:14:15] ok [21:14:20] I do get a lot of jittering [21:15:05] no chance I can mark with this [21:15:14] hurting my eyes a bit [21:15:40] Yeah, it is very bad. And I have no clue what can cause this. [21:15:49] OldPolar and OldAzimuth are not staying constant [21:17:22] Yeah, that is annoying, that setCameraLOS doesn't cause this, but something causing the polar and azimuth values to change. [21:18:27] But oapiCameraSetCockpitDir isn't called (or at least I cannot see it) at any other place. [21:18:49] I mean in SCT and SXT views, of course. [21:19:41] but not every timestep [21:23:50] interesting [21:24:02] switching to the split LOS view fixed the jittering for me [21:24:33] Both in SCT and SXT? [21:25:27] yeah [21:25:38] or rather switching to the split LOS and then back, probably [21:28:34] yeah, works reliably [21:28:41] I get the jittering at first [21:28:45] press V twice [21:28:47] and it's gone [21:29:14] Odd... [21:31:25] The strange thing, that I call the camera functions practically at the same places as the previous version, only with some different numbers, but somehow this change introduced this jitter, with this very odd dependency on split LOS switching. [21:32:11] I guess some bad addressing is happening somewhere, but I cannot see, where... [21:39:29] I also can't imagine it's something else trying to move the optics elsewhere [21:39:36] because it would happen on the same timestep [21:45:12] hmm [21:45:29] if I null the attitude rates with the PAMFD then the jittering also goes away [21:46:24] so the jittering might be caused by the optics actually driving, somehow [21:46:48] I cannot decide whether it is good or bad news [21:48:06] Optics shouldn't drive (the trunnion and shaft values aren't changing, that's what you can see in the debug string set by setCameraLOS function [21:49:17] uhh true [21:49:21] let me try that again :D [21:49:38] maybe I did something different [21:50:01] but I guess it would have been the CMC optics drive inducing the jittering [21:50:23] and it's still going with manual optics? I'll try again [21:51:10] Yes, I've seen it first, when I tried to set the crosshair manually on a star during P52 [22:02:38] the thing with the attitude rates being nulled was probably nothing [22:05:13] oh [22:05:30] switching to the external view with F1 also fixed the jittering [22:09:13] I have an idea [22:09:56] setCameraLOS is not a member of the Saturn class [22:10:03] and you are calling oapiCameraSetCockpitDir [22:10:21] I wonder if that makes a difference [22:10:28] I have called, but it is commented out now already [22:10:47] You can call it only on panel switching [22:12:52] Oops, sorry, I meant SetCameraDefaultDirection, because it is a member function of Saturn class (inherited from VESSEL I think) [22:12:53] something is surely interfering. It's not only jittering. It doesn't even point directly at the star [22:13:25] Yeah, it is pulled back to the center with a few degrees. [22:13:57] making setCameraLOS part of the Saturn class didn't change anything [22:19:22] There is another thing, I haven't mentioned it yet, but SetCameraDefaultDirection has a third argument, which in the original code was set to "true", and I have used it in the same manner, and when I looked for the cause of the jitter, I changed it to false. However the "true" setting is invalid (unused feature), but for some reason, the developer [22:19:23] of the original code set it to "true". Maybe there was a similar issue there... [22:21:27] probably hoped that it got implemented at some point [22:21:41] actually using the killrot function of the PAMFD did seem to fix it after all [22:21:45] I'll try again [22:23:17] I am slowly getting the feeling it could be an Orbiter bug [22:23:39] maybe it doesn't like this combination of SetCameraDefaultDirection and oapiCameraSetCockpitDir [22:23:47] or something is not initialized [22:25:34] sometimes it gets fixed by switching panels in a specific way [22:25:48] maybe it was rather that than killing the attitude rate [22:26:38] getting a bit late for me. I'll test this tomorrow a bit more [22:26:43] Yeah, I want to test something when I got back home from vacation tomorrow (today in CET :) ): there is function which sets a deadband for the camera to center it within that band. [22:26:57] Maybe that causes this. [22:27:17] I let you go sleep. Still you helped a lot, I think [22:27:28] Thx [22:28:42] looks like a very promising update [22:28:51] should be no problem to get merged once the bugs are fixed [22:29:29] "there is function which sets a deadband for the camera to center it within that band." do you mean a function you added or from the Orbiter API? [22:29:59] Orbiter API. CameraCatchAngle or something like this. [22:30:42] hmm ok [22:30:55] we'll see. I'm sure it's something fixable. Good night! [22:31:54] Good bye all! [09:24:00] . [10:27:38] good morning [10:28:37] I lost power last night, and missed the end of your. conversation with ggalfi. did you guys find the source of jitter? [10:33:32] no [10:33:45] I found a few weird cases that fix the jittering [10:34:00] it's not only switching on/off the split LOS [10:34:08] also switching to the external view and back [10:34:27] quite weird [10:38:30] Orbiter doesn't seem to dislike calling oapiCameraSetCockpitDir each timestep or something [10:38:34] doesn't seem to like* [10:44:55] but yeah, pressing F1 twice fixes it [10:46:31] which might or might not be an Orbiter bug. There is a bunch of NASSP code at work when switching views [11:21:08] hmm. strange. [11:30:30] weird we never had this problem before [11:52:25] we never called oapiCameraSetCockpitDir on every timestep [11:52:56] uhh [11:52:57] or did we [11:54:08] now I am confused [12:43:13] I hope ggalfi finds the issue, because I surely have no clue [13:29:06] I just looked at the diff, and I can confirm that I probably won't be much help with this haha [14:59:36] Weird. I keep getting random D3D9 client access violations [14:59:54] in the Orbiter2016 branch [14:59:56] sounds very familiar [15:00:50] oh this is strange [15:01:44] it just closes with no error message, but event viewer shows "Exception code: 0xc0000005" [15:02:34] sounds very familiar [15:02:40] I was testing out Igel's Vostok addon in Orbiter 2016 earlier, and the same thing happened twice [15:03:37] so maybe it's not even NASSP code to blame [15:04:43] Probably not. When it happened earlier, I didn't have any NASSP modules loaded, was in a different version of Orbiter, and D3D9 client [15:07:52] I'm going to make a forum post with offset values so someone who knows that code better can look at it. [15:39:34] I made CSM and S-IVB a bit draggier, not like the RTCC is expecting (with the wrong atmospheric density) but what the CSM Data Book etc. actually say. And now I am flying Apollo 7 again. Hopefully with a bit more realistic trajectory now. [15:44:50] Nice [15:45:36] I'm going to finish flying Apollo 7, and then probably fly 9 after you push your drag update [15:46:04] I'm using the rest of the mission to generate telemetry logs [15:49:54] what kind of telemetry logs? [15:51:18] I'd like to make a matlab telemetry processor/graphing utility, and then maybe a fortran IV IBM 7094 (only slightly anachronistict) telemetry processor [15:52:11] gathering data via https://github.com/n7275/pyNASSPtelemetry [15:53:44] ah right [15:53:58] I remember you and Thymo created scripts at the same time :D [15:54:12] my raspberypi3 keeps up just fine in LBR at 50x [15:54:15] haha, yeah [15:55:26] I showed you the document that describes how the RTCC processed telemetry, right? [15:56:14] oh, don't think I've seen that! [15:56:27] one of the IBM documents, not sure how useful it really is [15:56:45] I'm sure you have it, NTRS ID 19730062603 [15:57:26] starting on PDF page 370 [15:57:39] yes, you sent me the folder of those. I'll take a look [15:58:10] and we have the program writeups for some subroutines it uses [15:58:15] but they are very general in method [15:58:49] it's a lot of tables containing type and scaling for each telemetry measurement basically [15:58:59] and limits, for lamps on MOCR consoles [16:05:46] I'm sure we can make something that works from that. it would only be a question of how accurate to the original it is. [16:13:01] well for your application it might just be interesting to know how the RTCC did it [16:13:11] doesn't have to be the same I guess [16:57:58] I'm pretty sure I can get it structurally very close. I'm sure doing it the RTCC way will have some insights and may make some things easier. [17:04:32] makes sense [19:13:18] Hi all [19:17:35] hey [19:17:36] indy91, found the cause of the jitter. It was the 5deg deadband for camera centering. It haven't caused problem in the previous version, as originally the shaft, trunnion=0, 0 position corresponded to polar=0.0, azimuth=Pi/2 and for all available angles it was very far from camera catch range. [19:18:09] Uploaded the correction into the optics branch [19:18:35] Also removed the warning on LONG-double conversion. [19:18:52] If you like it, I will submit a PR [19:19:09] ooh, the auto centering [19:19:25] Yes, that is it. [19:19:38] now the behavior makes sense. Such a weird issue [19:21:25] yeah you can submit a PR, sure [19:21:31] have you tested any P22 or P23? [19:22:30] we should probably give it some more testing all around, but otherwise it's good I think [19:24:49] Not yet, only P52. Got 000.01 for V06N05, so seem to me it is accurate enough [19:25:28] Anyway, I give a try for P23, but it frequently gives me odd results [19:26:38] I don't know whether it is due to the non-oblateness of simulated Earth or because of inaccurate ephemerides [19:27:58] I don't think it's the ephemerides [19:28:23] we don't use the flown ones but generated by outselves, so should be good [19:28:48] oh one thing [19:29:10] OPTICS_BASE_COS 0.8431756920 [19:29:18] these numbers are different than before [19:30:46] I guess you took them from the AGC source code based on your comment in the code [19:32:14] Yeah, this number is consistently used in Colossus code. [19:33:07] I think it's not according to specification though. Actually, our old number isn't either haha [19:33:20] GSOP says the angle is -32° 31' 23.19'' [19:34:37] Yeah, I've seen it is inconsistent. AGC numbers are corresponding to 32.523=32deg 31' 22.8'' [19:35:23] yep, just reverse calculated that, too [19:35:52] So 0.4'' is the difference, which is immeasurable by the optics. [19:36:30] My "policy" is that AGC code tells the final verdict :) [19:41:09] What is unclear to me, why this angle was specified up to such precision: to physically install CSM optics, I hardly believe it was the same for all CSMs within a few arcseconds. [19:44:10] maybe thewonderidiot knows [19:44:47] I thought we have many sources for that number, but right now I am only finding the GSOP number with 23.19'' [19:45:09] could just be the maximum precision [19:45:12] of the AGC [19:45:31] exactly 32.523° [19:45:51] in which case the 23.19'' would be the correct value to use [19:46:08] even if it's more accurate than can be measured in Orbiter [19:49:00] some TRW document I found has 32.523108° [19:49:24] that's 23.1888'', so basically 23.19 [19:49:43] so the 23.19 is probably the right number to use [19:51:02] Maybe it is the mathematical beauty of this number: 32.523 exactly matches with 22.8'', no infinite decimals are involved. An there aren't any other number within a 0.1 arcmin range. [19:52:30] ...any other number with this property... [20:01:20] the person who decided on this number for the AGC probably knew that any more precision wouldn't help anyway [20:02:28] early LGC versions also assumed the DPS throttle lag was 0.2 seconds and not 0.075 seconds, so the AGC isn't always the right source for physical constants :D [20:13:46] That's a famous story with DPS lag, in my everyday work I usually use Don Eyles saying on this that don't give more treatment than needed :) I think his boss wanted an even smaller value than 0.075 which would have led to unstable thrust. [20:16:16] I have done now a test on p23 at GET27 hours in Apollo 11 mission. Got +00237, +00649 for V06N49. I don't know whether it is good or bad, but it found both Earth horizon and the star pretty accurately. [20:28:57] Tested P22 in the same scenario, it found Gibraltar with circa 1' accuracy (20-30 km at that distance) [20:29:07] better P23 result or not, it probably looks more like this now: https://www.ibiblio.org/apollo/Documents/HSI-208435-001.pdf PDF page 128 [20:44:42] Yes, in the previous version during P23 instead of resolved optics, I'd rather needed a resolved RCS. It is much easier now to maneuver the ship in SXT view. [20:49:07] definitely one big problem I always had in P23 [20:50:34] One other reason for using the AGC values: originally even I intended to use the GSOP's angle value but I wasn't sure how many digits of sine and cosine I should use, so it seemed to me reasonable to use the same accuracy as the AGC use. [20:52:21] Also checked the Apollo 15 Delco, in that the angle is given as 32deg 31' 23". Maybe the guy who edited it, was more familiar with the code than the specification itself :) [20:52:46] the AGC value is limited because of fixed precision though. With floating point we don't really rely on that [20:54:17] to be fair, we are using AGC derived values for physical constants in a few places [20:54:43] like the standard gravitational parameters for Earth and Moon [21:03:04] So if you don't have too much bad feeling towards this Colossus-based sin and cosine values, I'd submit a PR with the current version. [21:06:34] the value is not wrong at least, just rounded a bit more [21:07:04] 32.523° vs 32.523108° [21:08:02] so I guess it's ok. [21:21:37] all the bitmaps increased in size in your PR [21:22:56] I edited them in Paint and saved all of them in 24bit BMP format. [21:23:18] ah that explains it [21:23:23] the old ones were 8bit [21:24:17] The problem was with 8bit that the colors were quantized. Maybe some Paint-specific "feature". [21:24:26] the Orbiter manual says "The panel can be [21:24:27] saved in 8-bit or 24-bit mode, but 8-bit mode is strongly recommended to reduce the [21:24:28] size of the resulting vessel module, and improve simulation performance." but that was probably written from Orbiter 2006 or so haha [21:24:38] for* [21:25:47] Yeah, the 2d panels are terrible blow on performance, but it is rather depends on there pixel size, not on color depth. [21:26:00] For the main panel I get 20fps [21:26:19] The SCT and SXT values 40-50fps [21:26:27] the step from Orbiter 2010 to 2016 also made it worse somehow [21:26:28] values=views [21:26:47] there is a split main panel bitmap, but it only does so much [21:27:07] the VC is better. But I am still getting used to it and it's not perfect yet [21:28:00] The next step is to find a way to incorporate these Optics into VC [21:28:30] I'm pretty much like it, the only reason I switch back to 2d is the optics. [21:32:22] I leave now, if you find any more issue with the PR please leave a comment. Anyway I will likely return on IRC tomorrow evening. [21:33:03] yeah, I'll give it a good test [21:33:19] Great, thx! [21:33:23] good night! [21:33:27] Good bye! [14:39:02] hey Nik [14:40:28] I read through the telemetry section last night [14:41:04] hey [14:42:12] there is some great info there [14:44:59] yeah [14:45:32] even if the descriptions are usually assuming the reader already knows a lot about the RTCC [14:51:54] as I understand it, the rtcc computers receive synced frames with metadata from ccats. they process and scale them in core memory, and then push the changes out to LCS [14:52:43] sounds right [14:53:39] for scaling and calibration this document has the coefficients: https://ntrs.nasa.gov/citations/19720018200 [14:54:01] what I dont understand yet is how historical data is stored. just an "array" of frames would be very wasteful from a memory standpoint [14:54:45] I think it's stored on tape [14:55:37] disk and tape as I understand [14:56:51] but is it stored immediately, or is there an X number of frames/values in LCS at one time [14:58:03] I know OS360 (like ibsys) accesses data symbolically, and a symbol could be anything from tape, core memory, card reader, etc [14:58:35] hmm, not sure [14:58:54] the process of "delogging" in the RTCC is then processing stored data? [15:45:47] I'm still a bit foggy on some details [16:09:33] hmm, with the new SCT reticle neither of the backup GDC alignment techniques is really 100% correctly working [16:27:41] hmm that's not good [16:29:42] well it's just 180° rotated differently than before [16:29:56] because the view doesn't rotate with the shaft angle, only the reticle does [16:31:20] but it could be that the calculation for it was wrong before. I've never been able to verify it with a real Maneuver PAD [16:32:57] re-reading the section on "data bases" it sounds like the scaled telemetry is(?) stored in symbolic parameters, so CF0005P for example would be an RTOS symbol referring to an array of scale data for that parameter that other tasks have access to, if I'm reading that right [16:43:33] scale data or scaled data? [16:43:59] for the calibration/scaling I even know the RTCC table names [16:45:29] just used the backup GDC alignment angles from the flown Apollo 11 MCC-2 Maneuver PAD. The attitude makes sense and I think I have to change something in the RTCC. But it's a small fix. [16:46:25] scaled [16:51:06] yeah I guess at that point the data is available for display and stuff [16:51:43] CENTER-RTCC-14-001-002 [16:52:00] PDF page 310 and later have the telemetry subsystem library subroutines [16:52:19] including the scaling and limit sensing [16:52:39] TLQCAL [16:52:40] , Telemetry Unpack Calibration Subroutine [17:19:06] morning! [17:22:55] okay, I'll take a look at that too. [17:22:58] hi mike [17:24:33] what's up? [17:38:05] hey [17:38:17] testing out ggalfi's new optics reticle and behavior [17:52:23] oo fun :D [17:55:00] looks all very good [17:55:03] a bit pixely [17:55:13] but the AOT isn't any better I guess [17:56:01] will have to adjust one RTCC calculation, for the backup GDC alignment. It's now 180° upside down from before. And my solution was a bit wrong (for Apollo 11 at least) anyway [18:06:13] or I guess the reticle was wrong and the proper technique wasn't possible before because a number on the reticle was missing [20:59:34] night! [14:59:04] hey [14:59:24] Hey Nik [15:00:21] seems like the working Apollo Guidance Computer will be up for sale soon [15:02:55] I really hope it goes to a museum [15:03:15] CHM would be a good spot [15:04:51] I'll get my hat and whip to make that a reality [15:05:56] Is there an auction link? [15:06:34] can't find one yet. But it's going to be part of this I think: https://www.sothebys.com/en/buy/auction/2021/space-exploration [15:07:04] http://www.collectspace.com/ubb/Forum36/HTML/000621.html [16:29:09] hello [16:40:16] I just got the hat and whip reference, haha [17:04:18] Hi [17:08:22] good afternoon [17:12:27] hey ggalfi, Alex. [18:16:23] hey guys [18:17:14] ggalfi, I like your PR. Do you want to write a few words in the release work thread about it? [18:18:03] The reticle isn't quite perfect, especially the numbers can look a bit weird. But probably about as good as it gets with the 2D panels. I think I started trying to implemented it with the sketchpad feature in the Orbiter API, but your way definitely works [18:18:33] and you changed the FOV so that the visible part of the panel is the same as the FOV of the instrument, right? I guess that makes sense [18:19:23] Yeah, the problem is that I haven't found any easy way to antialiasing the lines drawn by PolyLine function. [18:20:11] ah ok [18:20:36] Some suggested some texture usage, but a texture with appropriate resolution ought to be pretty large (2048x2048) or so. [18:21:22] But I'm very far from being an graphics expert :) [18:21:37] AlexB_88 is the best one of us in that department I think haha [18:21:55] PR is merged [18:22:02] Thx [18:22:16] You mean writing about it on orbiter forum? [18:22:21] yeah [18:22:32] Sure. I'm happy to do so. [18:22:33] doesn't have to be long, just what got changed and why [18:22:43] Ok [18:24:33] oh and I know what to change for the backup GDC alignment, now that the SCT reticle has those numbers [18:24:51] trunnion at 7.5° and shaft at 180° just like before [18:25:03] but now the first star has to go on the 50° mark [18:25:21] and with the 7.5° that is the same as one of the spacecraft axes [18:25:57] so you can keep the star on that spot if you just yaw around [18:26:08] and the other star on the R-Line [18:26:22] and with that we will get the same angles as the real Maneuver PADs [18:27:06] and that is the Apollo 11 technique. Other documents have trunnion at 352.5°, however that works [18:28:23] indy91, im the best of the worse :D [18:29:10] well if you know how to do it better, the sextant and scanning telescope now look very different :D [18:29:47] ah mice [18:29:50] nice* [18:30:14] ggalfi managed to implement the right way, what I tried a bit and failed a while ago because I couldn't make the view rotate right [18:30:30] yeah, I remember that [18:30:41] hopefully it will help with P23s and such [18:30:52] resolved mode is now great [18:30:58] awesome [18:31:15] btw I think there were big updates to the LM EPS recently? [18:31:31] so does that break old scenarios? [18:33:10] ECS, too [18:33:13] somewhat [18:33:27] LM EPS starts in its initial configuration in old scenarios [18:33:33] LV taps for the descent battery [18:33:39] ascent batteries off [18:33:52] so old scenarios with the ascent stage only are without power [18:34:26] Ryan and I updated all the mission scenarios in NASSP though [18:36:24] ah ok [18:41:12] just checking out the new RTCC MFD RTE functions, are they documented in the manual? [18:42:34] yes [18:45:50] perfect [18:48:21] I've been working on drag so that we can get more realistic Apollo 7 and 9 trajectories [18:48:32] and less random, the old drag coefficients are bad [18:49:24] ggalfi, the Fra Mauro landing site is fantastic, just did a few landings there today for fun [18:51:13] the LM lands a bit high over the terrain as I had mentioned in the forum post, but a solution to that I found is to exit/reload the sim after pitch-over (P64) [18:51:31] I am scratching my head in to why that would fix it though [18:52:04] Hehe, it is merely the merit of the LRO guys, who made the DTM behind it. I have just converted the DTM to the Orbiter format. But I agree, the Fra Mauro DTM is far the best I have converted for Orbiter. [18:52:14] I wonder if Orbiter loads something only on scenario start [18:52:18] but not at high altitude? [18:52:51] when the terrain is not visible yet. Maybe a DX9 client thing. [18:53:44] Only Dr. Schweiger knows what is logic behind the elevation tile loading for the physical engine. [18:53:51] one thing I tried was to force the terrain to reload by quickly switching to the CSM and back after pitch-over, but no-joy...only a full sim reload does it [18:54:05] there is a few things only martins knows that I would like to have some insight into... [18:55:10] D3D9 has nothing to do with it, it gives back nothing about elev tiles to the Orbiter's core. [18:55:15] hmm ok [18:57:06] I don't want to say I am an expert of D3D9, but I've spent a significant amount of time to find any function of OrbiterSDK which would make such a elevation feedback possible, but no avail. [18:59:36] If I'd have a zillion of dollar, I'd buy a yacht or something to Dr Schweiger to make Orbiter to open source. :) [19:00:04] the cross-over point seems to be about ~8000 feet above the surface...if I use a scenario starting before it, the LM footpads are floating 20 feet above the surface after touchdown when in the not landed state (landed, but not settled), then when it settles into the landed state ( FDAI needles not jittering anymore) it "snaps" down to the correct height [19:00:53] but any scenario starting from under ~8000 feet it lands perfectly [19:01:43] ggalfi: Open sourcing Orbiter would be a very good thing. Would be cool to integrate multiplayer/multicrew and Linux support. [19:03:02] I would already be happy if martins just showed up again haha [19:03:38] If only just to release a new stable build [19:03:49] yeah, that would be great [19:04:59] AlexB_88: Are you landing LM on the Apollo 14 spot? I think I have "cheated" with the elevation of some tiles of different levels to match at least on landing spot. [19:05:17] yes exactly on that spot [19:06:01] I know of that issue, but I think this once is different [19:06:29] http://orbit.medphys.ucl.ac.uk/terms.html [19:06:42] "You are allowed to distribute Orbiter, as long as you do not charge any fee for the software or distribution without explicit permission by the licensor. " [19:06:44] ggalfi, https://www.dropbox.com/s/jxgq6yc0jpskob8/Screenshot%202021-04-18%2019.59.20.png?dl=0 [19:06:50] https://www.dropbox.com/s/6lhuyne3dk2yley/Screenshot%202021-04-18%2019.59.24.png?dl=0 [19:07:02] Might actually be worth to package Orbiter beta to make it easier to install for people. [19:07:22] Thymo, oh interesting [19:07:27] That way people don't have to dick around with SVN [19:07:31] an all-in-one NASSP package would be fun [19:07:43] Can't do that. [19:07:51] Orbiter Sound? [19:07:52] Would violate NASSP's GPL [19:07:55] oh [19:08:16] But we can definitely package Orbiter separately and provide a link in our documentation. [19:08:18] both of those screenshots show the NASSP LM right on the Apollo 14 real LM image on the surface, 1st shot has the issue, and the 2nd shows it landed perfect [19:09:20] the 1st shot seems to show it hovering, but it is landed. It was using a scenario started from before P64 [19:09:25] Just a NASSP+Orbiter binary may violate our own terms as we then ship a binary blob [19:11:20] I might take a look at this. I've got a VPS laying around that never reaches its bandwith cap. [19:12:01] Certainly would help us make a NASSP 8 release easier as a major blocker is Orbiter stabalization [19:12:47] yeah [19:13:52] AlexB_88: Yes, I still have the same issue. It "lands" in the air, then after a few seconds it snaps to the ground. I remember now, I have just experimented with fitting the elevation of different levels to the landing spot, but it didn't improved this too much, but that messed it up greatly at any other place. So I have ommited that from final [19:13:53] release [19:18:37] ah ok, yep exactly what I am seeing too...for now its not too hard to just quit/reload the sim just before landing so yeah I wouldnt want to risk it if it breaks other things more :D [19:18:50] You guys knew this thread existed? https://www.orbiter-forum.com/threads/5-vessels-plug-ins-rockets-spacecraft-probes-capsules-airplanes-ground-vehicles-ships.39817/ [19:19:10] Or rather, that subforum? [19:20:06] I had seen that yeah [19:21:52] AlexB_88: Maybe the phenomenon you discovered could be attributed to something that on startup, there isn't any tile loaded, so Orbiter decides on the required level with some approximation of low res tiles. But when you arrive from higher than 8000, it takes into account the already loaded medium res tiles, which gives a bit higher altitude above [19:21:52] ground. But it is merely a speculation and honestly I have no idea how to overcome on this without changing Orbiter's physical engine. [19:22:48] yeah, thats what I sorted of imagined it must be as well [19:22:57] sort* [19:26:34] latest Apollo 7 drag update: the S-IVB doesn't run out of APS propellant quickly so it stays in the least draggy attitude [19:26:39] while the CSM maneuvers around [19:27:15] so the correct first phasing maneuver would be around 2.5 ft/s. We currently use 1.7, real mission was 5.7 [19:27:44] they did predict it run out early on Apollo 7. But what happened was some sort of venting, not larger than predicted S-IVB drag [19:28:06] if that venting hadn't happened the 5.7 ft/s would have been way too large [19:28:09] I think [19:28:52] when it runs out of APS propellant depends on how much time acceleration you use [19:29:10] but I am currently on course to be similar to the actual mission, ran out at about 16h GET. [19:31:19] because the additional S-IVB venting was unplanned and unpredictable it's not something we can properly simulate. So we won't really get the lower orbit during the rendezvous like the real mission [19:31:35] which I thought we would due to realistic drag [19:33:36] S-IVB does a few theoretically nonpropulsive vents. Maybe that caused the DV. But the flight evaluation report doesn't have a conclusion on what the cause was. [19:42:20] interesting for sure, I remember that phasing maneuver issue is one of the oldest I can remember you working on in NASSP :D [19:43:07] back when we were 1st getting Apollo 7 rendezvous to work [19:45:07] yeah [19:45:21] that's the first thing I ever calculated for NASSP [19:45:32] using multi-rev Lambert targeting [19:47:02] which is now not used anymore, not for the phasing maneuver at least [19:48:35] right [19:48:51] I'm sure it was more trial and error for the second phasing [19:49:54] if we were to do the 5.7 ft/s first phasing maneuver like the real mission we would need a +7 ft/s second phasing maneuver with the drag parameters I am using right now. Real mission had -7 ft/s for the second phasing. [19:51:15] we could do that I guess. Same amount of DV and the CSM is coming closer to the S-IVB again at NCC-1, just like was planned, but due to the larger drag of the S-IVB. [19:55:29] would making an "installer" that, rather than packaging the dependencies for NASSP, just downloaded and extracted them conform to our terms? [20:07:36] I'm not sure as you'd be combining a proprietary and GPL product. Maybe, I'd have to take a deeper look that the licenses. IANAL [20:23:57] indy91, is it still possible to target a specific longitude in ATP mode, or is it just the MPL,EPL,AOL etc? [20:30:31] not a specific longitude. You would have to change the target table [20:30:46] ... which I am not sure that it's possible yet [20:31:03] but it's the list of lat/long on the constraints page for the entire entry part of the RTCC MFD [20:31:11] that could be updated during a mission [20:31:27] what I have done already though is implement mission specific target lines [20:31:47] because they changed the MPL from being all 165°W to partially 165°W and then going to 175°W [20:31:57] right [20:37:37] "SPL: Save the splashdown target from either primary or manual column." [20:38:08] I guess that saves the solutions splashdown coordinates in the MFD, for uplinking? [20:40:19] mainly for the Entry PAD [20:40:37] ah right [20:41:19] hmm [20:41:33] and the splashdown coordinates only uplink [20:41:51] Retrofire External DV uplink takes data from the return to Earth digitals or deorbit [20:43:36] ok makes sense [20:45:58] and on the AST, whats the difference between the entry profiles? [20:49:29] all actual missions coming from the Moon used the steep target line [20:49:57] and the only entry profile available is Constant G [20:50:13] that's basically what the entry range is based on [20:50:17] flying a constant G entry [20:50:26] even if it ends up being controlled by the CMC [20:50:41] for the shallow target line you can have G&N or Constant G entry [20:51:01] they have different entry ranges [20:51:42] which is one of the reasons why they ended up using the steep target line, same entry range if you fly with the CMC or a backup technique [20:51:52] so basically the entry profile is something you never need to change [20:52:39] ah on the AST the entry profile is kind of a code [20:53:02] HGN = G&N Entry [20:53:08] HB1 = Constant G Entry [20:53:21] there are more types, but only in the actual entry simulation in the RTED [20:54:44] so is there ways to now complete the entry pad with the MCC displays? (with the entry simulation) [20:57:55] not quite yet [20:58:18] that's some additional stuff, not on the RTE digitals display [20:58:26] right [20:58:49] what you basically do is, if you are happy with your solution, is copy it over to the spacecraft setting. That's basically like a mini MPT [20:58:56] one maneuver and trajectory [20:59:14] basically your commited RTE/deorbit maneuver [20:59:31] and that populates a bunch of extra displays and gives you e.g. EMS range [20:59:40] that was done for the TLI+90 Maneuver PAD [20:59:52] yeah, I got a valid TEI on the MPT and ready for uplink [21:00:30] with AST TYP: Luanr Search and SIT: MPL [21:01:38] the spacecraft setting part of the RTCC uses all the features of the entry simulation [21:01:47] also gives blackout times [21:01:59] which is on the lunar entry PAD [21:02:23] I'll implement that some time. Doesn't sound too complicated [21:02:49] uses a lot of the MPT subroutines already implemented [21:03:21] but it's entirely separate from the normal CSM and LM MPT [21:05:22] hmm the "14: CMC Entry Update" page in the Uplinks page seems to not work [21:05:32] maybe not implemented yet [21:06:09] ah, and splashdown update page still has the UPL button, so thats why I guess [21:06:55] not that it matters as the coordinates are included in the retrofire external DV uplink [21:07:05] right. I think I didn't implement the proper entry update page yet [21:07:40] I've gone through the process a few times now for all the uplink methods. I was kind of using separate functions only for the MCC [21:07:49] so I merge them and only have the function in one place [21:07:57] I guess entry update is next [21:16:34] so for a fly-by abort or PC+2, it would be TYP: Specific Site [21:16:38] I guess [21:17:16] yes [21:17:34] lunar search is basically a special case [21:17:49] aside from that there is specific or unspecified site [21:17:59] and that's always at the input TIG [21:18:34] ok so Specific Site is basically all aborts from outside lunar orbit [21:18:48] I mean unless you want to use the UA [21:19:14] it's all aborts from all orbits [21:19:23] ah right [21:19:40] even in lunar orbit if you want a specific TIG [21:19:55] it's now internally determined if the TIG is in Earth or Moon reference [21:20:00] and it then uses separate logic [21:20:18] yay now I get entry time control on my P37 pads :D [21:20:42] yeah and for the P37 PADs the AST has all you need [21:20:58] only if you want to build the full Maneuver PAD do you need the RTE digitals [21:23:31] right [21:25:17] *cough* Apollo8 [21:26:18] What's a P37 PAD? :D [21:26:45] haha [21:31:42] I think the APS is winning the race with the IU power system. There will still be 10% left when the IU shuts down [21:31:49] which is really only the LVDC shutting down [21:32:08] I kind of want to see what happens when only one APS module has propellant left [21:32:12] can't be good things [21:33:04] RTED Manual Input is just to manually put an RTE target on the MPT? [21:33:23] manual maneuver and needs manual splashdown coordinates input [21:33:40] there is a button there to "import" a set of splashdown coordinates [21:33:59] so you can see what kind of maneuver still let's the entry simulation land at the right spot [21:34:32] ah ok [21:41:08] Bye all! [21:41:25] cya! [21:42:38] from me as well. Night! [14:47:36] hey [15:33:02] hey [15:33:35] got some practice with the new optics last night. very different, but I like it. [15:34:20] yeah, I was playing around with that, too [15:34:39] got the backup GDC alignment calculation right using the new reticle [15:34:50] got the same angles as the real Maneuver PADs now [15:35:21] what I am annoyed with right now is the SCT trunnion drive. The way I implemented it is bad [15:35:50] shaft angle is 1:1 from the sextant, but trunnion is driving by the difference between sextant and telescope, but it's not quite correct [15:36:03] driven* [15:36:29] https://i.imgur.com/Nro6rak.png [15:36:34] that's what the Delco Manual has [15:36:41] I want to implement it like the ideal version [15:37:40] "17 DB". That is decibel I guess. But there is two definitions of decibel, one for power one for amplitude. Has to be amplitude for transfer functions, right? [15:38:05] in which case that would be a factor of 7.079 [15:53:31] dBi, yes 7.079 [15:56:45] I think I have a good solution that directly solves the differential equation there [15:57:09] it doesn't really follow the sextant much closer, but feels more natural how it drives [15:58:22] one thing the ideal version doesn't have is limits on the signal [15:58:49] so if the angl difference is very large you probably get drive rates that are larger than realistic [16:27:52] update done [16:29:33] back to drag... [19:59:01] .remindme 5w register nickname [19:59:17] .reminder 5w register nickname [19:59:34] .remember 5w register nickname [19:59:44] .help [19:59:50] !@# [20:00:13] wasn't it .in? [20:00:17] also hello [20:00:25] .time [20:00:28] .in 5w register nickname [20:00:41] Thanks haha [20:01:20] The nickname 'guenter' expires in 5 weeks. Gonna register it if that guys doesn't turn up. [20:09:36] haha [20:21:59] hi Thymo, Mike [21:08:32] night! [13:35:40] good morning! [13:37:08] morning! [14:58:40] what's up? [15:11:12] just fixing a scn for someone with the new ECA and ECS changes, and working, and moving stuff out of my house haha [15:25:30] ah, moving's always fun [15:29:09] oh yes [15:29:18] hopefully this will be my last [15:29:32] building our "forever home" so we hope [16:14:07] hey Nik [16:18:15] hey [16:22:41] now the S-IVB is producing more drag than I think should be right. I think neither the legacy or the current aerodynamics model in Orbiter is really perfect for our purposes... [16:24:15] still have to properly understand what Orbiter is doing in all cases. I'm getting close to that though. [16:31:46] time to write our own atmosphere model... [16:32:10] oh it's not the atmosphere model [16:32:20] it's the aerodynamic calculations [16:32:29] in the legacy aerodynamics model of Orbiter [16:33:41] it's weird, if use the same value for all directions in SetCW then I can reverse calculate everything Orbiter does no problem [16:34:38] I think I have the area calculation Orbiter does from the cross section parameters figured out [16:34:47] probably... [16:35:20] if the S-IVB points in one direction is has a CW of 2.4. 90° pitched from that it is 2.9251. [16:35:38] but at 45° in between it is 2.491 [16:36:46] I don't know, maybe it's the area calculation. That got used in calculating that number [17:16:42] I have a super hacky idea... [17:21:42] should we be afraid? :P [17:25:00] just catching up with the optics update as well, excited to try it! [17:54:06] I love hacky ideas! [18:02:23] hey [18:03:15] hey Alex [18:05:08] hey Ryan and Alex [18:08:52] the problem I have with the airfoil system in Orbiter is that it has singularities [18:09:02] the legacy model doesn't have that problem I think [18:09:21] but what if I just ignore the angle of attack or slip angle supplied to the airfoil and just calculate my own [18:10:27] what the LVDC does is to calculate the angle between the vector in which the Saturn is pointing and the airspeed vector [18:10:29] just use addforce() ? [18:10:44] which is kind of an angle of attack [18:10:52] just symmetrical basically [18:11:13] my plan is to use the airfoil, but then just calculate the angle in the function and not use the number supplied to it [18:11:20] then one airfoil is enough, too [18:11:33] ahh okay [18:12:17] one problem could be that the airfoil function is probably called a few times in the process of numerical integration [18:12:38] I can call Vessel API functions, but they might not be updated during the integration [18:12:53] so it could theoretically calculate a wrong aoa [18:13:01] with large timesteps or so [18:13:24] v->GetAirspeedVector(FRAME_LOCAL, vec); [18:13:24] double cos_alpha = unit(vec).z; [18:13:28] maybe that is already enough [18:14:48] for symmetrical rockets that is the better definition of the angle of attack as it has no singluarites if you yaw 90° left/right [18:15:08] I tried it with the Delta Glider and it does have weird behavior of drag at 90° yaw [18:17:46] yeah I think using that calculated number could work, as long as I don't use it for lift of moment coefficients [18:17:48] just drag [18:18:16] or* [18:37:22] my first P52 with the new reticles was a +00002. Disappointing... [18:39:05] I think you need more time in the MIT sim ;) [18:46:16] looking forward to see a P23 report with the new reticle [19:07:26] after a bit of practice I would think it would make things easier [19:08:20] I wonder if it actually improves the SV now [19:09:40] I'll be honest I haven't done them in a while, or at least tried to incorporate in a bit [19:09:50] I need to get back in that saddle [19:51:36] Hi all [20:01:38] hey [20:05:04] indy91, for the RTE digitals, what is the difference between the primary and manual columns? [20:09:01] hey ggalfi [20:09:12] AlexB_88, the manual maneuver input always ends up in the manual column. Otherwise they are the same. [20:10:18] so you can always have two normal solutions [20:10:29] ok [20:11:47] also, does the MPT spacecraft config have any effect on the RTE solution on the RTE digitals? [20:11:55] or is it separate? [20:12:52] hmm, I think it gives an error if the RTE config isn't at least a subset of the MPT config [20:12:59] same for non-MPT mode [20:13:22] so if you have CSM+LM docked and want to do the maneuver with the CSM, that works [20:13:40] but if you don't have the LM and choose the config with the LM it should give an error [20:14:17] or at least it won't work [20:14:26] so if I want to do the TLI+90 abort pad before TLI, I still need the undocking maneuver on the MPT to set config to CSM only [20:14:42] before doing the TLI+90 computation [20:15:04] no, CSM is a subset of CSM+LM+S-IVB [20:15:08] so that will work [20:15:29] oh [20:16:26] with MPT active it takes the config and masses and the time of ignition [20:16:36] and then compares the config to the desired RTE burn config [20:17:11] it uses the same logic as the MPT uses for undocking maneuvers to check if the configuration after undocking is legal [20:17:29] oh and I almost forgot [20:17:32] it goes even further [20:17:41] In another scenario, if I am currently in lunar orbit and docked, and I want to do an TEI pad calculation as CSM only, I dont need to tell the MPT I want to be CSM only befoe going in the ABort Scan Table and doing the TEI calculation? [20:17:54] if you add the RTE maneuver to the MPT it automatically makes it an undocking maneuver if that is required [20:18:02] ahh [20:18:16] I see [20:18:17] yeah I think that should all be automatic [20:19:07] the RTE needs to supply the same information to the MPT as a direct input maneuver [20:19:14] not sure why but that's how they set it up [20:19:28] and undocking/or not is part of that [20:19:30] so I guess its all taken care of with the maneuver code in the RTE digitals [20:19:38] yeah [20:23:53] ggalfi, I don't know if you had any intention to work on that but I changed how the scanning telescope drives, following the sextant for the most part. I had previously implemented that for trunnion only and it was a bit bad, especially having it only in the one axis. [20:24:18] I uses a transfer function in the Delco manual [20:25:09] used* [20:27:41] I was playing with that when I was done my own CDU implementation. I remember that the my main problem was that I found it difficult to translate some voltages to servo motor rpms or something like that (practically, what should be the overall scaling of the coeffs in the transfer function). [20:28:01] yeah, the full model in the Delco manual is very complex [20:28:24] indy91, outside of the mentions of it in the IBM docs, do we have anything documents that discuss the implimentation of the Display Format Language? [20:28:38] I was able to implement a direct solution for the ideal model. Was just about simple enough to be possible. [20:29:08] The optics zeroing works almost the same. One problem with the ideal version is that it has no speed limit, so to say. [20:29:34] it would get up to 300°/s or something crazy if you start at 180° and it tries driving to 0° :D [20:29:57] indy91, is the range to go displayed anywhere in the RTE solutions? [20:30:52] used to find it in the splashdown update page, but that doesnt seem to be updated by the AST/RTE digitals anymore [20:30:59] You don't have to solve the model. Multiplying with z means derivation, 1/z means integration, P(z)/Q(z) means feedback with (1-Q(z)) scale or something like that. Very simple... not :) [20:31:33] n7275, there is this: https://ntrs.nasa.gov/api/citations/19730010501/downloads/19730010501.pdf [20:32:00] but probably not really what you were looking for [20:32:18] If you look closely at the inertial mode transfer function of IMU, you may discover the equation of rigid body motion. [20:32:35] ggalfi, yeah and then I transformed that to a differential equation and got a general solution that I implemented haha [20:33:06] but only works because it's the simple version with one transfer function [20:33:36] AlexB_88, are you looking for EMS range? [20:34:06] I do have that one. good stuff, but still not as specific as I was looking for :/ [20:35:51] AlexB_88, the AST has one more column I wouldn't have space for. I think it would have range. But it's just the range override value that is also on the constraints page. [20:35:55] The 1285NM for Apollo 11 [20:35:58] always that value [20:36:18] there is a display that has EMS range, blackout times etc. But that doesn't exist yet. [20:37:30] yeah, I mean the RTGO that you write down on the PAD [20:37:37] always varies a bit [20:37:42] right [20:37:59] maneuver PAD* [20:38:03] it's not fully implemented yet but the entry simulation can actually generate that number [20:38:25] and that will be much more accurate than our previous numbers [20:38:34] as it's actually an integrated value [20:39:49] that's what I was talking about two days ago. You would transfer the RTE solution to a different section of the RTCC and that comes up with a lot of displays then [20:40:31] right [20:42:18] I know they did that for the TLI+90 [20:46:37] that's why the flight controllers had support crew, getting PADs together from all the various displays is some serious work... [20:47:15] is some of the entry simulation numbers already generated behind the scenes? I wonder if I could temporarily have a few of them displayed on a debug string on my local copy [20:48:56] it gets used for the RTE digitals display [20:49:29] but I don't think it generates much useful extra info right now. EMS range and blackout times aren't working yet [20:49:46] ok [20:54:49] still can get it form the entry PAD oage [20:54:53] page* [20:58:51] and I might be able to add the entry simulation to the Entry PAD calculation [20:59:23] so that e.g. EMS range is a more accurate value [20:59:39] nice [21:05:38] night! [21:29:37] night! [03:27:30] .tell indy91 Figure 1 of 19700024253 has some nice "big picture" pieces of the telemetry and command flow [14:11:38] hey [14:19:28] hey Matt [14:21:16] ah yes, that looks interesting [14:25:22] my solution with calculating the angle of attack like the LVDC is working really well [14:25:52] I think that's the best solution for these symmetrical vehicles. Use the airfoils from the Orbiter API, but with this angle [14:27:17] nice [14:27:30] that way we get the correct calculations from the airfoils, but without the singularities [14:27:54] and don't have to use the weird calculations of the legacy model [14:28:08] I'll use that for CSM, LM, S-IVB [14:29:29] and Saturn class [14:29:56] it does remind me though that aerodynamics are the biggest problem in using docked stages for launch [14:30:10] like we do for Apollo 5 right now [14:30:26] you need to check if something is docked or not [14:30:36] and getting the behavior right for the whole vehicle would be quite difficult [15:00:21] also at some point want to give the full Saturn V/IB an airfoil for realistic drag and because it should be aerodynamically instabile [15:00:32] more fun with engine failures [15:17:16] hey, theres like 2 seconds where it's almost stable... [15:17:59] t+60-62 I think, but yeah. that would be more fun [15:20:59] so for docked stages/vehicles, is the plan to just let one of them handle all the aerodynamic forces and moments? [15:32:30] hmm maybe. Right now they all have their individual aerodynamics. [15:32:42] only the legacy model though [15:32:57] hey [15:33:01] hey Alex [16:04:53] I'm going to be away for the next week, but after I'm back I think I want to tie up any loose ends with EPS, and then start working on RF stuff again. [16:12:51] sounds good [16:13:19] do you guys usually have gravity gradient torque on? [16:14:21] That's another dimension to the drag stuff. When the Apollo 7 S-IVB looses power or APS propellant is depleted it will start being affected by all perturbances [16:15:01] when I have it off then it will randomly move around. With gravity gradient torque it might orient itself to some orientation eventually [16:16:03] that's where I discovered that the legacy aerodynamics model isn't so accurate at intermediate attitudes (e.g. 45° in pitch and yaw). Gave a lot more drag than I expected [16:17:46] yes, gravity gradient torque on [16:18:26] so does the SIVb end up tumbling at rendezvous now? [16:19:40] no [16:19:43] well [16:19:44] a bit [16:20:14] I'm not even sure what causes it to rotate with the old aerodynamics, moment coefficient is 0 [16:20:38] but it was rotating a bit in the scenario where I got the furthest, fairly close to NCC-1 [16:20:57] it lost power a few hours earlier, so no commands from the LVDC anymore [16:21:46] hmm, power loss isn't simulated properly [16:22:12] only the LVDC shuts down and the FCC still has the last attitude error commands [16:22:21] might fire when there is an attitude rate [16:25:46] mine is off [16:26:29] I think due to a CTD I had long ago with it [16:27:01] something to do with the SLA panels impacting the earth or moon with gravity gradient torque on [16:27:46] oh right [16:52:03] hmm, I think there is a bug wit the RR antenna animation [16:52:47] that is surprising [16:53:17] it sometimes is upside-down with the dish going in the roof of the LM [16:54:13] it seems to be fine when the RR is moving, but once it stops it seems to snap to that wrong position [16:56:09] I don't think anything changed with the RR animation lately [16:56:33] does it happen in all kinds of scenarios or only certain circumstances? [16:59:39] hmm [16:59:53] I think it only happens if you start a scenario from the VC [17:00:46] oh [17:01:04] not just starting a scenario from the VC, anytime you are in the VC [17:01:17] swicth to the 2D vpanel and the issue is gone [17:01:52] uhh [17:02:08] actually no, switching to the 2D panel in-sim doesn't fix it [17:02:34] but switching to the VC from any other view does cause it [17:03:09] so the only way to fix it is by switching out of the VC, the restart the sim [17:34:46] guess we have to look through the code that gets run when you switch to the VC [17:53:45] yeah [18:46:46] indy91, does the REF button in the RTE digitals init page make it possible to generate a preferred REFSMMAT? [18:48:52] or to to that must I do the whole process to get the RTE solution on the MPT then generate the preferred REFSMMAT from there with G11 etc [18:48:59] to do that* [18:50:49] hmm [18:51:32] the REFSMMAT you choose on the input page gets saved in the RTE data [18:52:03] and to get it from there you have to use G11 [18:52:15] but it's not required for the maneuver to be on the MPT [18:52:22] ah [18:52:51] that's code REP and REM for Primary and Manual [18:52:54] G11,CSM,REP; [18:52:58] for example [18:53:05] and that saves it where... [18:53:47] as the DOD matrix [18:54:13] same type as you can save a deorbit preferred REFSMMAT [18:54:37] ok [18:54:55] so I do the G11,CSM,REP: after the solution is on the RTE digitals [18:55:04] yep [18:55:22] the RTE can calculate some REFSMMATs internally. Did I add that to the manual? [18:55:41] should I have used something other then REF: CUR on the previous page in that case then? [18:56:12] yes, that is the REFSMMAT it saves [18:56:28] there are three types it calculates internally [18:56:39] doesn't look like I added that to the manual, I should do that [18:57:23] ROP, ROY, ROZ [18:57:41] ohh [18:57:57] it was written in the title of the REF input box [18:58:22] aaah, I knew I wrote it somewhere [18:58:32] preferred gives all 0° as the attitude [18:58:41] deorbit 180° 180° 0° I think [18:58:47] ROY that is [18:59:00] and ROZ gives 0° 180° 0°, I think you would use that for a RCS deorbit or so [18:59:24] there is at least one more type (DEI) in the MED list that the IBM RTCC document didn't have yet [19:00:06] not sure what that type would be. The others ones aren't immediately clear from the names either... [19:00:56] so used ROP and see 0, 0 ,0 on the RO PI YM column of RTE digitals [19:01:00] so works [19:01:12] and then if I do G11,CSM,REP, it will store that in DOD? [19:01:16] yep [19:01:25] ok makes sense [19:01:32] I can add a button if I have enough space for it [19:01:40] void ApolloRTCCMFD::menuSaveDODREFSMMAT() [19:01:41] { [19:01:42] GeneralMEDRequest("G11,CSM,DOM;"); [19:01:42] } [19:01:47] that's a button for the deorbit targeting [19:02:00] so MED input internally, but easier for the user [19:20:21] hmm, I checked the maneuver on the DMT with U20,CSM,1,,DOD; [19:20:33] "REFSMMAT NOT AVAILABLE" [19:21:10] I had stored it in DOD with G11,CSM,REP; [19:24:11] and that was successful? [19:25:55] on line monitor says a bunch of things if it has stored a new REFSMMAT [19:26:38] dosnt seem to see the DOD REFSMMAT [19:27:32] when I did the G11: [19:27:33] 06/21/19/43.15 )GMGMED( MED G11,CSM,REP; [19:27:34] 06/21/19/43.15 )GMGMED( MED G11 OK [19:27:39] nothing else [19:27:42] oh [19:29:10] there are all kinds of error messages there [19:29:20] not sure how that can be all it shows [19:29:42] there is a "DOD NOT VALID FOR SAVE" [19:29:51] if the RTE doesn't have a solution saved [19:30:44] and if it has passed that test it should always have a "NEW IMU MATRIX" [19:30:49] message [19:33:56] really nothing else? [19:34:44] well I had a solution in the primary column of the RTE digitals (and used ROP), then did G11,CSM,REP; [19:35:10] 06/21/19/43.15 )GMGMED( MED G11,CSM,REP; [19:35:11] 06/21/19/43.15 )GMGMED( MED G11 OK [19:35:12] 06/21/20/09.78 )GMGMED( MED U20,CSM,1,,DOD; [19:35:13] 06/21/20/09.78 )GMGMED( MED U20 OK [19:35:13] 06/21/20/35.87 )GMGMED( MED MN62,CSM,1,D; [19:35:19] those are the messages I got after [19:35:39] just showing that I went to the DMT [19:35:48] that's so weird, I'm following the code and it really can't happen that it just doesn't write another message [19:38:12] or if there was another code like REP that it doesn't recognize [19:38:19] forget to add an error for that [19:38:27] only if* [19:39:28] but I can reproduce it [19:40:05] let's see where the impossible happens :D [19:41:32] aaah [19:41:49] I'm checking on the wrong input [19:42:00] else if (refs == 3) [19:42:02] should be [19:42:03] else if (refs2 == 3) [19:42:38] rtcc.cpp [19:42:43] line 32706 [19:42:50] did I ever mention that file is too large... [19:43:00] and a few lines below [19:43:01] else if (refs == 4) [19:43:02] should be [19:43:04] else if (refs2 == 4) [19:43:07] for the manual column [19:46:57] ahh [20:18:07] so I decided to finish Apollo 14 from a few weeks ago [20:18:45] just did TEI, but earlier then the nominal one [20:19:35] 1st test of the new TEI targeting, post TEI trajectory shows a GEI of -6.19, not bad [20:20:11] preliminary MCC-5 shows 0.42 fps, thats almost scrubable I think [20:20:31] that was with a UA, FCUA calculation in the AST [20:22:37] right [20:23:05] sounds like a small MCC-6 and probably no MCC-7 or so [20:27:32] yeah