[13:59:20] NASSP Logging has been started by n7275 [13:59:22] hey! [13:59:28] hi [14:00:16] I've been playing around with differential equation solvers [14:00:40] wrote a few in matlab to test [14:01:51] switching to implicit euler wont fix our stability issues [14:02:13] implicit trapazoid will improve them... [14:02:50] but we'd a few hundred iterations per timestep for it to converge, so that's out [14:03:42] damn [14:04:46] piecewize analytic is definitely an option though :) [14:05:20] why implicit anyway? [14:05:33] I know it's for stiff equations [14:05:59] but we can have "some" improvement, we don't necessarily a "solves all issues" solution [14:06:04] its conditionally stable...we just dont meet those conditions [14:06:59] but yeah, anything that adds many iterations it out of question, don't need to add any more CPU load [14:07:07] rather than assuming that temperature decreases linearly per step [14:07:25] if we assume its exponential, which it is [14:08:17] than the temperature change is just newtons cooling equation, with dt as the time over which it cools/heats [14:09:08] use the temperature change to compute the energy change, then call thermic() with it [14:09:17] yeah, analytical is what I had tried for the SPS TVC as well [14:09:21] not sure why I didn't succeed [14:09:48] I think it would have been a quite large equation [14:18:34] I can only imagine [14:19:09] I'll try implanting this in the cooling class, as that's relatively contained [14:19:22] sure [14:21:07] oh, I also looked at the HGA a bit more closly [14:21:24] definitely bouncing off the scanlimit [14:23:40] I'm moderately certain this is the correct behavior [14:23:57] ah fun [14:27:37] as soon as it hits the limit, it pops back into manual mode and drives it to the manual setpoint...which in this case it's still able to acquire at [14:29:10] right [14:29:20] it's too bad there isnt a c/w light for the scan limit warning [14:30:47] I think theres telemetry for it though [14:31:16] there was a c/w light! [14:31:22] they removed it [14:31:48] in the CSM-104 Systems Handbook we have it is still present [14:31:55] Apollo 7 might have flown it, but I could never confirm it [14:32:12] very sure it's not been there on missions that actually had a HGA [14:32:31] and we used to have that light in NASSP, too [14:59:30] oh okay. how'd I miss that [15:02:44] well, it was never working [15:03:06] or maybe it was working for a commit or two [15:03:17] but then I removed it again, because it can be annoying [15:03:24] especially if it causes a master alarm [15:06:02] and then eventually I removed the light entirely, as we found out it wasn't really flown [18:26:17] I was thinking about making a visualization of the R-2 potential model, mostly for my own curiosity, and because I couldn't find one. [18:29:54] sure [18:30:05] anything you need for that? Do you have the coefficients? [18:42:38] just the coefficients I think. [18:43:44] I've programmed the AGC equations [18:44:28] https://www.ibiblio.org/apollo/Documents/HSI-208454.pdf [18:44:44] PDF page 78 [18:45:10] and that is just the disturbing acceleration [18:45:33] that plus conic is the true acceleration [18:50:02] morning! [18:56:40] hey Mike [18:59:28] what's up? [18:59:55] got my present from UHCL [19:00:19] it is the document that I thought it is. I would say it has the minimum amount of stuff in that I hoped for [19:00:51] it does have the section about uplinks that was left out in volume 2, as not much had change from the earlier version of it [19:00:57] so that is quite useful [19:01:07] oh nice! [19:01:15] no additional display formats unfortunately [19:01:24] booo [19:01:32] just, slightly different and outdated versions of displays we already have [19:01:41] in every case inferior haha [19:01:51] as it doesn't support lunar missions [19:02:29] in some cases there are more equations and explanations than in the other volume, but it could easily be misleading and not fully apply to the LLP [19:02:35] lunar landing program [19:03:00] right yeah [19:03:05] now I wonder where Volume 3 of that document went... [19:03:13] Volume 1 is ONLY in the JSC History collection [19:03:21] volume 2 is only on NTRS, or was rather [19:03:37] somewhere at NARA maybe? [19:06:49] hmm, it might be [19:06:57] it's explicitely in the corporate index [19:07:00] not [19:07:18] that corporate index is pretty meaningless really lol [19:07:23] the orginal version of Volume 1 is there [19:07:52] yeah, I think it will be quite useful to determine if NARA has any of these documents [19:08:00] I bet if it has any it could have them all [19:08:07] including all the Volumes I don't have yet [19:08:25] or more recent ones than I got from UHCL [19:09:15] and for any more display formats I'd have to find more Philco documents, also at NARA [19:10:07] too bad "PHO-TR170A" from the JSC History Collection was such a disappointment [19:10:13] that is THE document for display [19:10:24] but it only had some update sheets [19:11:16] well it was still a 300 page document haha [19:11:59] and had some useful stuff, but it was missing like 90% of the content that is in PHO-TR170A [19:12:39] this new PDF from UHCL is a new record though [19:12:48] 621 MB [19:12:51] 930 pages [19:12:58] the pages aren't a record [19:13:01] but the file size [19:13:19] they kept these documents at about 1000 pages, seems to be a general rule [19:13:27] and then split it over volumes [19:13:42] hahahaha [19:14:07] wow [19:14:08] So if NARA has everything, then I can at least tell Ron roughly how much he has to do each time :D [19:14:10] in a few years [19:15:53] at least I now know the structure of these documents better. Always seemed like a random collection of description of routines [19:16:19] and I now know that I have nothing yet from some "subsystems" of the RTCC [19:18:22] of the detailed writeups of routines [19:19:16] so out of curiosity, when you say you wonder where volume 3 went [19:19:37] do you think there were only one or a small number of this document? or are there hints that the pieces you have went together? [19:21:01] ok, this document is "Apollo Programming Series - Mission Systems - General" [19:21:13] it has general descriptions of basically everything [19:21:49] the first function program of the RTCC, Earth Orbital Rendezvous Program, is most of Volume 1 of that document [19:22:15] then they added the LMSP, Lunar Mission Simulation Program, and that together exceeded the 1000 pages [19:22:31] so some LMSP stuff ended up in a second volume [19:22:49] then they added the LLP, Lunar Landing Program, and that got to the back of the document [19:23:01] again exceeded 100 pages, so the last third of it went to a Volume 3 [19:23:07] 1000* [19:23:20] I have Volume 2 from the archived NTRS [19:23:25] volume 1 from UHCL [19:23:39] but it's really weird how they got split up [19:23:43] even worse [19:24:23] 19730062603 Apollo programming systems. Volume 2: Book - Mission systems, general 1968 [19:24:30] this is from the restricted NTRS list [19:24:38] that is the volume 2 [19:24:49] and then the fun part [19:24:50] 19730062602 Apollo programming systems. Volume 1: Book - mission systems, AS-200 systems integration 1966 [19:24:58] that is volume 1 of an entirely different document [19:25:03] 19730062604 Apollo programming systems. Volume 3: Book - Mission system, AS-200 systems integration 1968 [19:25:12] that is volume 3 of an entirely different document [19:25:17] lol [19:25:25] actually, the description on volume 1 is even wrong [19:25:33] that's not AS-200 systems integration [19:26:04] so someone along the line must have been quite confused how these documents belong together [19:26:53] I kind of suspect they found a Volume 1,2,3, moved them together and that ended up on NTRS [19:26:59] even if it didn't actually belong together [19:27:22] and UHCL only has Volume 2, so maybe the source of these documents was even the same [19:27:29] only has Volume 1* [19:27:39] Volume 1 of the general section [19:30:56] gotcha [19:31:15] UHCL has one more of this series of documents [19:31:29] but it's a AS-200 equivalent to a document I have for AS-500 [19:31:44] not terribly interesting probably [19:32:02] but it's yet again not something NTRS had [19:32:11] it's volume 2 to the NTRS volume 3 [19:32:27] so there are no documents twice if I combine NTRS and UHCL [19:34:13] yeah that is kind of suspicious lol [19:35:30] the rest got plundered when whatever library this was in was dissolved [19:36:17] JSC Technical Library I think? [19:36:32] right, sort of like the flight control computer documents I got with big "Astrionics Library" stamps on them [19:36:35] I read somewhere that they probably have microfiched all this stuff as well [19:36:44] oh yeah that is very likely [19:37:38] and the originals were sent away [19:37:43] NARA, UHCL and wherever [19:37:53] I have no idea about NTRS though [19:38:02] when it got scanned, where the originals are etc. [19:38:11] I don't think it's the same as NARA has [19:38:30] well, that applies to the internal memos at least [19:39:06] NTRS documents have a stamp on it [19:39:10] NARA ones don't [19:39:29] well [19:39:31] a different one [19:39:55] NARA has the "MPAD Report Control Copy" [20:05:04] oh cool. I'm now a page admin for our Facebook page [20:09:37] ah fun [20:13:05] how does that work. You message Facebook and if nobody disagrees you get control after a while? [20:15:15] I found an email for Tschachim [20:16:00] did you also get this: https://twitter.com/ApolloNASSP [20:17:16] oh I'll have to ask him about that too [20:21:59] I'll add you guys too in case I get hit by a bus or something [20:26:48] ok [21:31:12] ah that's fine, I'm not really active on Facebook, haven't in years [21:34:06] yeah same here, I don't think I've touched mine in over a decade lol [21:36:10] I think the last thing I did was post photos of my bathroom in university, because it was all black from a fire haha [21:37:06] hah oh jeez [21:38:04] ventilator in the wall got stuck or something and disintegrated and caused a fire [21:38:11] only a black hole was left of it [21:38:40] when we woke up in the morning the corridor was filled with smoke and the bathroom was still hot [21:38:42] we got lucky [21:38:57] wow that's crazy [21:40:19] same bathroom also had the armature in the shower break and spray water everywhere and it ran into the other rooms... [21:40:24] great maintenance in that dorm [21:41:36] yeah no kidding lol [21:41:40] how old was that building? [21:42:49] not that old really. 70s maybe. It had gotten a "renovation" just a year earlier, but I think that mainly added some insulation to the house walls [21:43:23] The problem was mostly that nobody checked on things like that ventilator [21:43:46] we had a fire detector, but it didn't work [21:44:04] the whole dorm got new ones a few days later :D [21:45:01] hahaha I would hope so! [21:45:37] That particular dorm was mostly used to house international students and those in general didn't seem to take enough care of it. [21:45:56] I guess the official people then gave it up as well to always keep the standard high [21:46:44] We also had an ant invasion. So it was like the elements were against us. Fire, Water, Earth... [21:47:03] can't remember any problem with air :D [21:57:55] night! [19:34:30] morning! [19:45:32] hey mike [19:49:02] hey guys [19:56:34] what's up? [19:57:28] flying Apollo 8 again to create scenarios. Last time, which wasn't very long ago, I was changing too much with the MCC and didn't save all necessary scenarios, so I get to do it again [19:58:41] hahaha fun [20:03:28] at least through LOI [20:03:40] haven't touched anything beyond that in the MCC [20:08:56] I found a very old pyul bug that was causing extra spacing after accepted log section cards, that threw off the tables in the back of the listing by quite a bit [20:09:17] but now at least every memory location is allocated on the right page [20:09:32] gotta give one more go through the whole listing to check per-page vertical spacing but I'm almost there [20:10:11] nice! [20:10:22] how old can pyul bugs be, if pyul isn't very old yet... [20:18:48] haha [20:19:19] well, it's been in there since before it could even print anything out [20:19:42] it just never got triggered for Solarium or Retread [20:23:32] right [20:27:43] oh man actually, I just remembered [20:27:54] Sunburst did use subroutines, but Sunburst 120 is frozen [20:28:14] so right now the assembler works for 120 but not for 37 lol [20:29:11] that seems... deficient :D [20:29:41] haha yeah [20:29:52] I think SUBRO is the last major feature I'm missing [20:30:26] and I won't be able to follow the YUL implementation exactly, since I think it was impossible to specify specific subroutine versions with it [20:30:35] hence the need for freezing [20:34:54] what does freezing mean? [20:35:23] if you provide the subdirector card [20:35:24] S FREEZE SUBROUTINES [20:35:31] after your "ASSEMBLE REVISION" command [20:36:04] YUL will copy the contents of the subroutines into your main program, and comment out the SUBRO cards that invoked them [20:36:27] so the resulting assembly will always assemble to the same thing, as a single unit, even if those subroutines change [20:37:03] I see [20:37:05] GAP solved that in a cleaner way by letting you specify subroutine revisions on the SUBRO cards [20:38:29] I think there's no reason pyul can't support both [20:38:40] right [20:40:09] like our LVDC that magically supports Apollo 9 by having some additional code hacked in [20:40:19] haha yeah [20:40:46] actually I guess I should really say that SUBRO is the last major *YUL* thing I need to support [20:40:49] I've had that many times, I can implement something exactly how it worked in reality... at that specific moment in time [20:40:59] I also need to make the whole thing able to make GAP-formatted printouts too [20:41:05] which is going to be a nightmare [20:41:17] haha I can imagine [20:41:21] conditionals for what columns to put things into everywhere [21:52:40] night! [16:53:15] hey [16:55:13] aparently I have a small bug to fix with the HGA afterall, just not with the scanlimit [17:12:02] ah, no problem [17:12:26] I was impressed that the auto tracking worked so well in its first version already [17:13:12] have you tried something with the R2 gravity model yet? [17:13:26] I haven't yet [17:13:49] I was playing around with coasting integrators, I think I "accidentally" replicated the scheme used in the Orion spacecraft... [17:14:00] oh? [17:14:39] well it wasn't really my goal, but I somehow ended up there haha [17:15:27] the AGC uses Encke's method, with time as the independent variable [17:15:45] the RTCC uses eccentric anomaly as the independent variable. I previously failed at implementing that [17:16:09] got there by using some equations from a paper about the scheme used by Orion [17:16:21] ended up much closer to Orion than the RTCC :D [17:16:26] oh that's cool [17:17:44] I found the origional paper on the development of R-2. AIAA, of which I'm a member, wants me to pay $15 just to read it... [17:18:09] do you have a link? [17:19:29] that paper about the Orion predictor had a bunch of references I couldn't find either [17:19:35] mostly JSC publications [17:20:24] https://doi.org/10.2514/3.5479 [17:30:27] enough playing around with the integrators, I have some Apollo 8 scenarios to create [17:31:57] that Encke-Beta method that the RTCC and Orion are using has better performance than Encke-Time, so I wonder why the AGC didn't use it [17:32:11] I found an memo from MIT from 1965 doing a comparison [17:34:28] although the AGC does some interesting things to make it perform better, maybe in the end it's not much of a difference [17:34:45] or the other method needs more memory or so [17:40:07] memory would make sense [17:45:38] really glad matlab has a legendre function [17:48:26] ah yeah, that is nice [18:20:25] morning! [18:21:57] hey [18:24:21] what's up? [18:32:59] hey Mike [18:33:18] playing around in MATLAB [19:09:00] always a fun time :D [19:30:53] it's better for prototyping for sure, but you don't have access to Orbiter API, and have to copy over state vectors from scenarios etc. [19:31:14] some disadvantages [19:43:01] and I was looking into the question why the AGC was using the coasting integration scheme it used, and not a similar one that is running faster [19:43:09] there is a 1965 memo comparing the two [19:43:24] any good documents where they look back at the development history of the AGC software? [19:44:04] Some Apollo Experience Report might even have something... [19:44:46] ah yes [19:48:38] really good one actually [19:48:56] about "ONBOARD NAVIGATIONAL [19:48:57] AND ALIGNMENT SOFTWARE" specifically [19:51:34] doesn't really answer the question [19:54:13] mmmm [19:54:20] there is R-700 volume V [19:54:39] http://www.ibiblio.org/apollo/hrst/archive/1137.pdf [19:54:45] it's nowhere near as good as volume III [19:58:24] I'm not sure if we really have anything that talks about why decisions like that were made [20:11:27] yeah, if that experience report I found doesn't say it, and it doesn't, then there probably isn't really a document that talks about it [22:02:15] night! [15:39:35] hey! [15:39:58] Hey [15:41:58] what's up? [15:42:48] Currently working on a UART command line for an ESP32 so I can interactively trigger stuff during the demo next week. [15:43:13] Probably also some MQTT work after I get the console up. [15:43:45] oh fun [15:44:19] Yeah, the ESP API is implemented very well. It's so nice to work with. [15:44:59] we have some home-made IOT devices that use MQTT where I work [15:45:45] Yeah it's used quite a bit in the DIY home automation scene [15:46:18] I'd like to do get into that sometime. If only I had the time. [15:50:40] Also, I got an NVMe SSD yesterday as I wanted to play DCS and it took like 10 minutes to load with my HDD at 100%. Got it down to like 2 mins with like 3% usage. It's unbelievably fast. [15:51:32] Speed is 3500MB/s. Compared to the measly 110MB/s of my spinning rust drive. [15:51:52] lol nice [15:53:54] I managed to--i think--fix the csm antenna whiparound mode, last night. [15:55:24] hey guys [15:55:31] if you roll too quickly through its "pole" it can get a little lost, so have to run some tests on how realistic that is [15:55:33] hey [15:55:35] I saw your commit in my activity feed yeah [15:55:38] Hey Nik [15:56:59] n7275, doesn't it use the third axis to avoid that? [16:00:25] it does, but there is also a feedback signal that is constantly trying to minimize B by increasing A. the balance on those may be a bit off [16:01:37] it does okay in a 5 deg/sec roll [16:01:52] I see [16:03:45] yeah, even in B-C tracking mode, over time, if you're not changing orientation, B will reduce to 0 while A increases, maintaining track [16:05:49] oh, I also got R-2 plotted last night [16:06:08] took a looooong time to compute [16:06:12] haha [16:06:21] we should do a comparison some time [16:06:35] and I have to get my plugin release ready [16:06:50] even if I can't recommend it being used yet, not for a while [16:07:30] my matlab code has four nested for loops... [16:08:00] I feel like I've committed some kind of atrocity doing that [16:08:37] can't be worse than what I am doing implementing RTCC routines from the flowcharts [16:09:00] half the lines of code are got/label :D [16:09:02] goto* [16:09:17] in some cases at least [16:09:27] but what's the for loops for? The integration? [16:10:09] The Legendre stuff? [16:10:54] the double summation accounts for 2 of them, then 2 more for a grid of latitude-longitude [16:11:32] I'm also calling legendre() m times as many as I need to [16:12:15] legendre(n,sin(phi))(m+1) is a bit wasteful [16:12:34] should probably call it once per n [16:13:10] and then access an array of each m [16:13:58] let takes an hour for a 100x200 grid, lol [16:14:09] *it [16:14:18] uff [16:14:46] what do you use for the integration? [16:17:19] oh I hadn't even made it that far, just wanted to make a contour plot of potential to start [16:17:31] ah ok, that's what I just realized, right [16:17:38] haven't done that [16:18:09] I can see how that leads to nested for loops haha [16:18:46] could do multiple altitudes if I wanted 5 [16:19:23] I guess I was mostly interested in the long term effects on orbits [16:19:48] because that is the main reason to maybe implement that in Orbiter [16:29:26] yes, definitely [16:30:11] dont see why I couldn't use ODE45 in matlab to test [16:31:29] yeah, that's what I am using as reference [16:58:05] got downlinking of the state vectors in the AGS to the RTCC working :D [17:04:31] only unsure about the time, but that's something I have never really understood about the AGS [17:20:48] I just push the buttons the checklist tells me to, and hope for the best [17:21:00] so you're a few steps ahead of me [17:21:06] haha [17:21:28] the way the AGS updates its time is weird [17:21:50] that's always why I could never come up with a good method to calculate the K-Factor [17:21:54] also why* [17:22:07] that time you use in V47 [17:22:40] that usually got updated, by a few tenths of a second at least. So they had some method to do it [17:22:57] in the AGC it is easy as there is a time register that gets updated every centisecond [17:23:13] but the AGS only updates its time register every 6 seconds... [17:26:31] How does the AGS schedule stuff then? 6 seconds is a long time to respond to things. Is there a more precise source of time in between those 6 seconds? [17:28:44] yeah, everything runs on a schedule with different time intervals [17:29:22] shortest interval is 20ms [17:29:42] I don't think any of those timers are on telemetry though [17:31:03] on telemetry there are two words [17:32:32] together double precision absolute time of the AGS [17:32:51] one is the most signiciant half, that is register 377, the same you usually check on the DEDA for the time [17:33:04] and then there is a least significant half, but that is constant [17:33:17] only changes when you initialize time [17:50:35] there is a "telemetry special computations" routine for delta time [17:51:00] unfortunately the IBM document doesn't actually tell much about it, just refers to a Philco document [17:51:05] but possible that it is related [18:09:26] morning! [18:25:53] hey [18:30:31] what's up? [18:31:51] I can "downlink" AGS state vectors to the RTCC MFD now [18:32:00] oh nice :D [18:32:09] slightly unsure about the scaling of the least significant word of the time [18:32:52] I have this [18:32:53] T_SV = (double)(timeoct[0])*2.0 + (double)(timeoct[1]) *pow(2, -16); [18:41:22] I think it has to be right [18:41:38] if I compare AGS, LGC and actual state vectors they agree closely now [18:42:50] if I compare it downrange then the time could be wrong by 0.4 seconds at most [18:45:58] and there has been no K-Factor update anyway, so it won't get more precise right now [22:01:49] night! [19:51:14] morning! [21:39:49] hey [21:51:13] what's up? [21:59:14] not too much. small bug fix. working on a little music. slow day otherwise [22:10:21] slow weekend days are nice :D [22:24:37] yeah [22:24:49] you watching SLS? [22:25:35] yup! [22:27:26] this is exciting! [22:29:23] oop [22:30:41] well, it's all still in one piece... [22:31:21] yeah, nice clean shutdown [22:38:06] https://twitter.com/waynehale/status/1350571106038657024 [22:43:08] yeah, something broke [22:44:30] rip sls schedule [22:45:58] yeah. not good. don't imagine they have too many spare RS-25s kicking around either [01:21:30] okay, some final tweaks to the assembler pushed, and I am calling Aurora done :) [01:27:33] https://gist.githubusercontent.com/thewonderidiot/e569ce6e1894a489c55e6783e14d40f1/raw/a18c216f746691bf80a90036f586f772ed458824/AURORA.R12.lst [01:27:39] full printout ^^ [01:28:00] the very first page (output from the H-1800 operating system before YUL starts up) isn't perfect but I'm not concerned about that right now [01:28:05] the YUL output should match exactly :) [03:52:55] yay! [14:58:52] morning! [14:58:56] hey [14:59:05] merged your fix [14:59:19] awesome. thanks [14:59:53] I was wondering about this comment [15:00:02] which was there before already [15:00:03] this block of code checks to see if the LEM has somehow been deleted mid sceneriao, and sets the lem pointer to null [15:00:19] shouldn't that say CSM? [15:00:56] yes. whoops [15:01:12] also, I was wondering how necessary that is [15:01:15] let me see... [15:02:55] ah yes, it is necessary [15:02:59] I was thinking of docked vessels [15:03:07] I believe when a docked vessel is deleted, clbkDockEvent gets called [15:03:19] and our clkbDockEvents calls UndockConnectors [15:03:38] what we could try is call UndockConnectors in the Saturn destructor as well [15:03:41] might be cleaner [15:03:44] if it works [15:04:23] also in the LEM destructor of course [15:05:32] yeah, that would clean up a lot of my ad hoc code [15:11:44] separating the lem vhf and pcm classes is on my list [15:12:22] after I finish the fuel cells of course [15:13:02] sounds reasonable [15:13:14] I'm still coasting around with Apollo 8 to create new scenarios [15:13:44] after that I'll try to get my branch merged [15:14:02] and then onto deleting the old midcourse processor from being used by the MCC for Apollo 10 and 11 [15:14:10] and then I can delete a looooot of old midcourse code [15:14:20] nice [15:17:08] trying to get the rtcc.cpp file down from its currentl 32000 lines of code... [15:17:34] I'm thinking about create a few RTCC subsystems, all of which can call functions from each other [15:17:49] that way I can split it all up over different classes and also files [15:17:57] VS will like the RTCC much better then [15:21:03] the subsystems would be the same as the actual RTCC subsystems, usually distinguished by the first letter of the program names [15:21:21] B for trajectory determination, T for telemetry etc. [15:40:22] awesome. 32000 is a lot. [15:40:34] it has accumulated over time haha [15:41:01] a lot of it is stuff like PAD calculations which doesn't really have a direct equivalent in the real RTCC [17:08:48] morning! [17:37:04] hey Mike [17:46:31] what's up? [17:48:00] more Apollo 8 flying, a bit of RTCC reorganization [17:50:28] or really, checklist on auto execution, time acceleration up, Orbiter in the background, occasional check if everything is still in order [17:54:13] hahaha nice [17:58:02] and you? [17:59:32] starting to work on AGC support for pyul [17:59:49] and in the background pondering electrical simulation tools [18:00:13] the gears of restoration are starting to spin back up a little bit so I'm going to start messing around with FCC schematic simulation [18:02:15] ah fun [18:05:16] for origin of signals and power the Saturn Systems Handbook can be useful [18:05:52] excellent [20:33:30] turns out the document I got from UHCL was a bit better than I thought [20:34:06] where Volume 2, about the LLP, focuses on the added capability for handling lunar surface stuff, the older document goes into a bit more detail about all the other stuff [20:34:56] not sure why. Maybe they wanted to keep that section of the document at the same number of pages :D [20:36:29] oh nice :D [20:36:42] lol that would be a weird goal to have :P [20:37:16] well it's quite strange why they cut some of the info [20:37:57] like, a list of all the inputs for one of the most complicated programs [20:38:03] one line is [20:38:27] 21. Cut-off indicator (type of cut-off condition (e.g. T, R, h, gamma) [20:38:32] that's all that the LLP document says [20:38:39] and then the older version for LMSP [20:39:00] 18. Cut-off Mode indicator (T, r, h, gamma, Reference Switch) [20:39:12] This indicator should be set to show the type of termination desired by the user: [20:39:18] = +1, stop on a maximum time [20:39:27] = +2, stop on a radial distance from the central body [20:39:31] = +3, stop on an altitude [20:39:39] = +4, stop on a flight-path anglr [20:39:44] = +5, stop at reference switch [20:39:59] If none of the last four options are desired, the maximum time option should be used [20:40:08] oh wow, that is a lot to cut out [20:40:11] I call that an step back from the earlier document :D [20:40:29] I wonder if some of the options changed or something, and they just said screw it and cut it out rather than update it [20:41:03] there is an earlier section which talks about cutoff conditions [20:41:10] almost identical in the two versions [20:41:22] the LLP one, so the later documents, even adds one option [20:41:30] "The first ascending node relative to the Earth" [20:42:03] so if anything I would expect them to be identical, except adding the option with +6 or so [20:42:44] yeah, very weird [20:43:32] I was piecing these numbers for the input together from the flowcharts [20:43:40] but not everything [20:43:54] now I have most options [20:45:20] the LLP document adds a bunch of pages for lunar surface ephemeris handling [20:46:04] including 3 pages taken of an RTCC Requirements [20:46:07] from* [20:46:09] document [20:50:05] I still really would like the full program writeup of that function, but this is at least more than I knew before [20:53:24] the last chance of that still existing is NARA [20:57:33] or IBM Federal Systems Division [20:57:35] hahahaha [20:57:36] ha [20:57:37] h [21:00:45] lol [21:01:45] that changed hands rather often [21:03:30] that horror story from Ron about IBM documents being dumped into garbage containers probably only applies to LVDC documents, but still, I don't think there is a chance finding some IBM archive (or successor) where this would be [21:03:59] I think that would probably apply to all FSD things [21:04:05] if it was a different branch of IBM then maybe [21:04:15] well, they had several locations [21:04:23] this would be Houston [21:05:15] EDD for example is from Huntsville [21:11:42] no, I think the best to pursue these documents is to ask NARA, either directly, or Ron can have a look if they are when he visits there the next time [21:11:47] best way* [21:12:22] those and the Philco documents [21:12:29] and when he finds them he will wish he didn't [21:12:35] hehehe [21:14:05] if they find Philco documents then it will be useful for more people than just me [21:14:34] so are you gonna write them an email? :D [21:14:35] when they did the MOCR reconstruction to the Apollo era all they had for the display were some hardcopies [21:15:17] I can, reading the website is a bit discouraging. Might take a long while before I hear anything back [21:15:37] yeah [21:50:16] night! [17:16:04] hi [17:48:01] hey [17:50:14] never change too many things at once in your code [17:50:32] I'm just suffering from the consequences of doing just that [17:58:15] oh dear [17:58:51] well, just a few hours of wasted time [17:58:59] probably fixed now... mostly [18:07:50] I added a bit of functionality to the HGA last night, seems to have fixed a few things. [18:08:48] specifically the csm body now shadows the antenna just like the moon does (in a rudimentary way for now) [18:09:45] ah great [18:11:08] reacq mode now works better, and it also solves some of the cycling oscillatory behavior [18:11:35] ah, what's the change to improve that? [18:13:24] all were looking at before was the relative angle between the antenna pointing vector and the earth-CSM vector [18:15:09] now I'm checking to see if the hga-boom and the earth-CSM vector are less than 125 deg apart [18:15:15] as well [18:15:46] ooh [18:16:57] well I was almost up to LOI-2 with Apollo 8 [18:17:02] now I am back to MCC-4 [18:18:26] which roughly approximates the csm body being in the way of the antenna when the antenna is pointing along the ya plane. need a better solution for the sps bell and the nose of the vehicle [18:18:39] *y-z [18:18:54] and that was causing the cycling behavior? [18:20:30] in wide mode there is enough signal strength to track even with a large relative angle. which is okay, along as the earth isnt on the wrong side of the scan limit [18:22:12] are you using the figures from the CSM Data Book? [18:22:32] if not, they might be helpful a bit [18:22:36] morning! [18:23:26] hey Mike [18:23:31] yes [18:25:04] would also like to make a shadow mask for docked CSM-LM so their respective s band antennas cant see through the respective other vehicle [18:28:59] hi mike [18:36:53] thewonderidiot, did you have a look at PCR 960 "Change constant in R52" yet? [18:37:13] nope [18:37:31] it's quite weird, and the Norton manual is kind of letting us down [18:37:32] I've been focused on pyul and FCC things [18:37:51] which one? the Artemis one? [18:38:04] Colossus 2C [18:38:23] I don't think we have that one? [18:38:23] I'm fairly sure the PCR changes the auto optics lag time from 1.3 to 2.4 seconds [18:38:25] uhh [18:39:13] oh right, different document [18:39:21] Norton manual is the MSC document one [18:39:42] I meant the MIT document, Apollo Guidance and Navigation Flow Charts [18:40:07] oh right, okay [18:40:09] https://archive.org/details/e24562cimages/page/n405/mode/2up [18:40:13] on the right side [18:40:17] flow chart says [18:40:17] yeah the flowcharts are not always the most trustworthy thing [18:40:37] "AOPTIME0 <- MPAC(D) + 1.3 SECDP (D)" [18:40:45] but the comment next to it says 2.4 seconds :D [18:40:50] hahaha nailed it [18:40:57] but it's probably a change from 2C to 2D [18:41:26] that appearing in the 2C flowchart doesn't help the confusion :D [18:41:39] it's exactly the same in the 2D flowchart [18:42:17] it was originally meant to be in 2C but got postponed [18:42:22] also doesn't help the confusion :D [18:42:45] but if it really doesn't appear in 2C then at least we have a nice and simple change for the step from 2C to 2D [18:42:52] if we manage to get 2C reconstructed [18:42:53] yeah [18:43:15] this is one of the places where I would rely on the banksum to tell me if the change is present or not [18:44:04] because the documentation we have clearly can't be trusted here haha [18:44:20] yeah [18:44:35] and it's not the Norton manual that is wrong [18:44:41] they are usually very reliable, right? [18:45:06] yeah [18:45:14] they're not perfect, but they almost are [18:45:30] just like the GSOP [18:46:52] the flowcharts... well here's a factoid that might give their reliability some color [18:47:16] I was able to make use of the Luminary 1D fowcharts in the Sundance reconstruction, because there were some pages that were *that* outdated [18:47:35] haha [18:49:53] I have some RTCC routines in the IBM RTCC documents that are marked with "206". And they are general routines, not specifically for Apollo 5 [18:50:16] and they definitely needed some update to be working for the later missions [18:50:17] not much [18:50:22] but definitely some [18:50:44] but I guess they didn't bother doing updated flowcharts if the change was small... [18:51:29] 206 because that was originally supposed to be the first LM test [18:51:40] guess they never renamed the RTCC program in support of that mission [18:53:22] a bunch of that stuff is great actually, some coordinate conversions that I had to work out myself when we first got Apollo 5 working [18:54:36] yeah the Sunburst code also very heavily references "206" [18:54:47] no point in changing the name when it's so ingrained in what you're working on [18:54:54] yeah [18:55:25] at least they called it EORP, Earth Orbit Rendezvous Program, and not 258 or 278 or something :D [18:55:54] rapidly changing names [18:55:59] until it was never flown [18:56:16] maybe used for Apollo 7, not usre [18:56:19] sure [18:58:11] haha [18:58:34] UHLC still has the RTCC Supervisor's Report for all missions [18:58:47] I have the one for Apollo 15 from somewhere else, pretty nice [18:58:53] I'll get them eventually [18:59:04] at least they will tell me about the bugs they encountered [19:06:51] haha I'm continually surprised by how much stuff is still at UHCL that you know about and haven't asked for yet [19:07:00] I drained them of interesting AGC things pretty quickly :P [19:19:29] I don't want to overdo it [19:19:40] the documents I have asked for so far have been very large [19:20:09] the spacecraft operational trajectories, a few hundred pages, the IBM documents, usually up to 1000 pages each [19:25:51] haha that's fair [19:25:54] that is a lot of scanning :D [19:27:24] in my first request I asked for all the SCOTs at once basically, got them over the next many weeks [21:38:52] night! [13:49:40] Morning folks. N7275: thanks in particular for address the VHF Ranging bug! I’m not quite sure if you saw my follow-up post on that thread, as I’m still getting some inconsistent results from a scn I had saved a few minutes earlier in the mission, with the new build. [14:20:34] hey [14:20:47] oh crap, he left [14:33:49] good afternoon [14:36:20] hey! [14:41:05] Hey guys [14:52:12] had a good Apollo 8 LOI-1 this time, after I had broken the calculation [14:52:21] Thymo, every got that far with Apollo 8? :P [14:52:26] ever* [15:05:09] I did on my first attempt. I'm still coasting to the moon, haven't fired it up in a while. [15:06:25] I see [15:06:42] I have it mostly on auto checklist to make quick progress [15:06:52] just wanted to do testing and create new scenarios [15:07:08] I'm in the last weeks of finishing my specilalization at college, they're considering publishing our work so we're polishing some stuff. When that is over I'll have some more time to get back in to it. [15:07:40] Yeah, I don't do auto checklists [15:08:32] yeah it's not fun. I just use it for development [15:09:26] Understandable then, it sure takes a bit of your time going through a whole mission to create scenarios. [15:09:32] yep [15:09:37] the prelaunch activities alone... [15:10:43] Whenever I run into a procedure I haven't done much I somehow spend the next 3 hours reading documents on that stuff. It tends to slow me down quite a bit. :p [15:11:28] yeah that sounds familiar [15:12:09] or I encounter a small error in the RTCC and spend the next 3 weeks developing an entirely new system as the solution [15:13:25] ok I created new Apollo 8 scenarios up to LOI-2. Nothing after that should be broken with my MCC updates. Don't think there should be any problems with inconsistent scenarios... [15:13:45] time to make this branch ready to be merged [15:16:28] it's the branch for having an instance of the RTCC in the MCC module and use that from the RTCC MFD module as well [15:16:36] maybe you recall I initially had some issues with that [15:17:03] haven't encountered any other problems, when I am debugging I have to build both MCC and RTCC MFD projects in debug mode [15:17:13] but that's about it [15:20:16] so we'll be able to see the MCC's MPT from RTCCmfd [15:21:12] previously the RTCC MFD and MCC each had their own instance of the RTCC class [15:21:24] but I wanted a more permanent solution for RTCC MFD saving/loading [15:21:30] not the Orbiter MFD way [15:21:45] so MCC and RTCC MFD now use the same RTCC [15:22:10] and yes, I guess it's possible now that you see some numbers change in the RTCC MFD as the MCC is manipulating them [15:22:23] awesome [15:22:37] you can screw up the MCC from the RTCC MFD now [15:23:10] Haha, nice. [15:23:20] but I'm trying to make sure that you can do all the normal RTCC MFD operations without causing problems [15:23:46] like, if you just want to get a state vector uplink from the RTCC MFD because you screwed up the state vector that you got from the MCC [15:23:52] probably the most common case [15:24:28] still can't really recommend using the MCC and the RTCC MFD at the same time, but at least it shouldn't break anything [15:25:16] hey, could we add the rtccdebug.txt file to the gitignore list? or am I the only one that has problems with that [15:27:17] I think I noticed that too sometime ago. While we're at it, does Orbiter have a logging directory. Might be handy to move all the logging stuff to a directory and banish that from git completely. [15:28:05] Orbiter's log goes into the main directory [15:28:36] I guess we already have the lvlog in the git ignore file [15:28:38] Maybe we can just change the extensions to .log and ignore *.log [15:28:42] so same category [15:28:58] we can do that, sure [15:30:47] that would be awesome. I've been using it a bit for vecpoint and every time, I have to remember not to commit the debug file :) [15:30:53] I can change that when I merged this branch [15:31:16] That'd be great. Thanks [15:31:31] my main Orbiter directory is full of other garbage, so I always have to be careful there :D [15:31:55] what did you use for vecpoint? [15:32:40] You can also add stuff to you global gitignore, it will then be ignored without having to add those files to the repo's gitignore [15:32:52] helping me point specific radiators at the sun [15:33:11] oh, the vecpoint page of the RTCC MFD [15:33:33] I wonder what the real RTCC equivalent for that is... [15:33:39] yes, that one [15:33:47] there is a spacecraft pointing display [15:35:02] I think you would add a "instrument" for that display, a yaw and pitch angle for the pointing direction in body coordinates, the others being the sextant and the COAS [15:35:23] and then just generate the display specifiying the Sun [15:38:47] definitely will get implemented some time. The MED inputs seem difficult, so I'll probably not require the user to do the MED inputs [15:39:27] what I have done lately is make the inputs more user friendly, but then build the correct MED stuff out of the inputs [15:39:52] like, changing the launch date [15:40:03] inputting 16:7:1969 becomes [15:40:13] P80,1,CSM,7,16,1969; [15:40:40] because yes, there is only 1 launch vehicle for the mission, why do you care MED P80 :D [15:40:50] and CSM is the main vehicle [15:41:10] and then it's month, day, year, because America [16:00:13] yeah, we're odd like that [16:03:34] does it allow the option for both input methods? [16:03:59] yes [16:04:26] well, there are various buttons which do no further processing but are only receiving MED inputs [16:05:10] so it can't be done with the button to change the launch date on the config page [16:05:22] but you can enter the P80 etc on e.g. the online monitor display [16:11:49] and when the RTCC MFD is loaded for the first time it does a bunch of MED inputs automatically [16:11:57] mostly setting times [16:12:04] launch time, LVDC GR, AGS zero time etc. [16:12:10] GRR* [16:13:06] oh nice [17:40:43] sw34669 in the forum said: [17:40:48] "3) If you save a scanario and dont exit out of Orbiter the port for the RTC/mcc is still there and stops uplinks. Restarting Oribter works well." [17:41:00] I'm not quite sure what he means... [17:58:52] Indy, I think SW34669 was talking about the minor issue whereby if one exits Orbiter, but does not shut down the Orbiter client, and then restarts a NASSP scenario, a small message appears in the lower left corner (something about a bind failure?) and certain MCC uplinks may or may not work as a result (I can’t recall the practical impact of the [17:58:53] bind failure, I have not seen it for a long time as I always quit the Orbiter client if restarting a NASSP scn). [17:59:48] ah yes, thank you [18:01:34] I guess I do the same, quitting out of Orbiter, out of habit mostly haha [18:02:10] Indeed [18:03:33] isnt that because exiting a scenario doesn't kill the sockets we've created [18:03:40] yeah, I think so [18:03:53] I looked at that a long time ago, a little bit at least, but it wasn't so easy to fix [18:04:39] although it could be something like doing closesocket(m_socket); in the PCM destructor [18:05:09] but that is just a guess, would have to look at it in more detail [18:05:12] I would think that would work [18:10:29] unless windows and orbiter do something weird with them until the application closes [18:12:19] no, I think that would work [18:25:34] noticed I could already delete some parts of the old TLMCC targeting, as they aren't used by the MCC [18:25:48] flyby and non-free return options, gone [18:25:59] feels good, getting rid of outdated, unused code haha [18:30:28] morning! [18:34:10] hey [18:34:11] sometimes deleting code is even more satisfying than getting new code working :D [18:34:30] but I'm motivated to fly Apollo 10 and 11 again now to get rid of it all [18:36:51] only through LOI-2 though [18:37:08] Apollo 10 has a full day of landmark tracking [18:37:12] I'll never do that again :D [18:37:17] almost as bad as P23 [18:37:19] hahahaha [18:37:35] plus you have a new rope to fly with on 10! [18:37:44] true [18:38:02] new scenarios will mean no restart light [18:38:20] ah wait [18:38:25] when I say new Apollo 10 scenarios [18:38:39] we don't actually have any right now haha [18:38:46] never got around to creating them [18:38:51] hah [18:38:52] guess I'll do that this time [18:39:55] Apollo 10 is fun through the rendezvous day [18:40:04] Re landmark tracking - I was impressed with the P22s I performed on Apollo 11; while these updates are not incorporated, I was surprised to see N49 was all balls on both R1 and R2, not sure if that is sheer luck or whatever (I did purposefully try marking on a different location to see if it would generate a N49 error, and sure enough it did, so [18:40:05] Re landmark tracking - I was impressed with the P22s I performed on Apollo 11; while these updates are not incorporated, I was surprised to see N49 was all balls on both R1 and R2, not sure if that is sheer luck or good procedures (I did purposefully try marking on a different location to see if it would generate a N49 error, and sure enough it [18:40:05] did, so maybe the latter?). In any case, much more rewarding that P23. [18:40:07] but then you stay a whole other day in orbit, doing nothing but P22 [18:40:49] Good thing my AGC skills are better than my IRC skills. Not sure why the message repeated itself [18:40:55] it did haha [18:41:06] I think there can be cases where the W-Matrix isn't properly initialized and you get all zeros [18:41:17] I have not tried Apollo 10, I guess it would get old quick [18:41:34] when it works nominally you would get DV = 0 still on the first marks [18:41:47] and then on the second P22 you get "real" DR and DV [18:42:16] Do you mean a second landmark? Or a second P22 on the same landmark, one orbit later? [18:42:32] either [18:42:41] second P22 sequence, on whatever target [18:43:09] how bad is landmark tracking without the surface markers. I think I'm pretty good at my selelogoraphy, but there are gaps... [18:43:26] works ok I would say [18:43:39] if you have a good map for the landmark and study it a bit beforehand then it works well [18:43:45] Concur. I use a freely available Lunar atlas to help acquaint myself with landmarks IRL [18:43:58] we have a full Earth landmark maps document [18:44:03] sadly not for the Moon [18:44:41] we have the Lunar Landmark Maps for Apollo 12 [18:44:56] a few pages from Apollo 11 [18:45:20] 1 page from Apollo 8 [18:45:35] and the full document for 15 [18:45:42] so a bunch, but not complete [18:45:53] the Earth landmarks are all in one book [18:46:02] for the Moon it's mission specific [18:48:01] I have to say though, about the W-Matrix and DR and DV display, it's all still a bit of a mystery to me [18:48:21] some time I need to study the equations in full detail [18:53:57] completely different topic: I'm digging into the FCC again. where did you find all of the gains you're using in FCC.cpp? [18:55:53] let me check [18:56:40] because the gains might predate me working on this [18:56:49] FCC code used to be in the LVDC [18:58:08] and we still use the same [18:58:17] but I think I found something to confirm them... [19:09:02] maybe [19:09:17] haha [19:09:52] well at least for the coasting mode we know that we use the correct values [19:10:48] there is e.g. in the Saturn Systems Handbook a figure about the characteristics [19:11:17] with 0° attitude error it starts firing at an attitude rate of 0.2°/s for example [19:13:34] aha [19:13:40] Launch Vehicle Operational Trajectory! [19:14:29] oohhh [19:15:05] https://ntrs.nasa.gov/citations/19710005842 [19:15:07] for example [19:15:14] PDF page 181 [19:15:56] looks identical to Apollo 11 [19:16:10] nice [19:16:44] https://ntrs.nasa.gov/citations/19750016690 [19:16:57] and this has FCC tests and gains for the ASTP FCC [19:17:23] not the source for our gains, but they were quite close [19:18:14] hmm [19:18:17] Skylab Saturn IB Flight Manual lists a gain change with numbers [19:18:25] but only 3 numbers [19:18:34] and I imagine these are not significantly (like order of magnitude) different than AS-503 [19:19:07] unlikely [19:19:12] there could have been changes [19:19:14] I'm looking at this "A=3.75" on a DC amplifier on the schematics, but that must be only for that one part and not the gain as a whole [19:19:28] more reverse engineering work required lol [19:20:04] I mean, these gains are used in equations like [19:20:05] beta_pc = a_0p * AttitudeError.y + a_1p * AttRate.y; [19:20:24] right [19:20:47] so degrees and degrees per second to expected degrees of engine gimbal deflection [19:21:09] probably a lot more going on with voltages etc in reality [19:22:14] yeah [19:31:34] it's kinda silly how simple the thing is and yet how inscrutable and tangly these schematics are :P [19:43:35] the sign of good schematics :D [19:43:42] but it's not that simple [19:43:47] maybe in comparison to an AGC [19:49:29] also simpler than the ATCA probably though [20:26:07] well I mean, the equations it's solving are not terribly complex [20:26:22] if you ignore all of the switches and relays changing the gains [20:27:50] yeah haha [21:44:13] night! [17:24:36] hey [17:24:50] hey! [17:31:41] I'm responsible and documenting the config files that the RTCC is loading now [17:35:24] that sounds like a project and a half [17:36:28] yeah, takes a bit of time [17:36:35] a few pages in the RTCC MFD manual [17:39:57] I've cleaned out the SetMissionSpecificParameters function quite well [17:40:02] all loaded from file now [17:40:05] easier to adjust [17:40:14] oh awesome [17:40:34] only thing remaining really is the time of lunar landing [17:40:47] that seem to be saved as such in the RTCC [17:40:51] that doesn't seem* [17:41:19] PDI simulation comes up with the number for some displays of course [17:41:40] but if you want to uplink that time to the LGC you need to manually enter it [17:44:13] that's why I haven't moved it from RTCC MFD code to the RTCC class yet [17:44:35] I only do that when I know where it belongs, system parameter, some table or whatever [18:02:09] morning! [18:02:28] hey mike! [18:03:34] what's up? [18:11:34] not too much [18:11:51] hey I noticed something with pyul yesterday [18:12:29] no issues when I run it on linux, but when I run it on windows theres some character encoding errors [18:14:20] I think theres some ¢, that become ó [18:14:52] well that's dumb [18:15:32] I... am not sure what to do about that [18:16:08] hey [18:16:56] yo [18:17:54] the original Yul/GAP did have this problem. we have a Colossus 249 listing that was printed out on... "regular" paper for lack of a better word [18:18:02] and the character set in it is all messed up [18:18:12] so character encoding issues go way back :D [18:19:27] I really wish there were good ASCII equivalents for everything that shows up in the listing, but nope [18:20:34] and the bad one is what Ron used to transcribe it, right? [18:20:41] originally [18:22:54] I think so yeah haha [18:26:05] the AGCIS for Yul has a big table showing what symbols you get for each code when printed out where ( https://www.ibiblio.org/apollo/Documents/agcis_13_yul.pdf pdf page 32) [18:29:09] anyways, bit of a diversion there. :) I'll look into it at some point. I'm pretty sure this is the first time I've tried to use unicode for anything so I'm sure I've missed something [18:32:18] so the "H Console" version has the most capabilities? [18:33:15] which makes sense that that would work best with the H-1800 since it's an integral part of that computer :P [18:33:33] right [18:36:43] I also like the collection of characters available for the scribing projectors for the plotboards in mission control [18:36:51] all upper case letters and 0-9 [18:36:53] so far so good [18:37:02] only half of the lower case letters [18:37:07] ??? [18:37:18] + - . : / [18:37:32] open diamond, like <> [18:37:38] delta, lambda, omega, phi [18:37:39] and then [18:37:51] aircraft symbol, aircraft carrier symbol, destroyer symbol [18:38:03] and that's it [18:38:04] oh man that is an incredible character set [18:39:57] oh, and that page also says what I was confused about before about the large screens in mission control [18:40:16] the MOCR will be equipped with three projection television [18:40:16] systems, each capable of projecting any display available in the MCC-Houston [18:40:17] 945 line television system on a 7.5 by lO-foot screen [18:40:30] so from left to right there is [18:40:42] Projection 1, Projection 2 [18:40:52] Large (left) plotboard in the middle [18:40:59] Smaller (right) plotboard [18:41:04] and then the third projector [18:41:16] and those projectors or probably as simple as overheard projectors [18:41:38] at other times they show e.g. Maneuver PADs and of course the television from the Moon [18:42:28] but that at least explains to me the capabilities of the displays to the far left and right, just TV projection, no special plotboard stuff [18:42:49] https://www.alamy.com/apollo-11-mocr-during-eva-1969-image245902229.html [18:43:02] see the hand? :D Classic overhead projector [18:45:04] hahahaha amazing [18:45:06] yeah [18:46:08] now someone just need to make some MOCR meshes and textures [18:47:07] so 'half of the lowercase letters' [18:47:23] were those only the ones needed for certain abreviations like Ap, Pe, etc.? [18:48:17] maybe [18:48:34] this is the character set of the "scribing projectors" [18:48:58] "Each MOCR wiLl contain one 10 by 20-foot projection plotboard [18:48:58] and one 10 by lO-foot projection plotboard. Each plotboard will be equipped [18:48:59] with one background slide projector, four scribing projectors and two [18:48:59] spotting projectors" [18:50:50] the launch plots are mostly the plot, numbers and an upper case description [18:51:35] and in orbit, translunar, transearth etc. it is mostly maps [18:51:57] during maneuvers they had different stuff, maybe lower case is useful there [18:52:59] "The lower-case letters a, b, d, e, f, g, h, i, m, n, q, r, s, t" [18:53:12] no p [18:54:33] haha [18:54:34] weird [18:55:10] yeah, especially because one plot shows h_ and V_p, p for perigee. In the description is definitely is a lower case p :D [18:55:15] but I have no picture of it [18:55:21] might just be P [18:56:12] lol maybe [18:57:09] I have video of the plotboard during Apollo 11 TLI [19:00:56] uhh, you know what [19:01:05] you can of course have a lower case p on the background slide [19:01:25] https://youtu.be/wi0VEVgooyc?t=6313 [19:01:34] found exactly the display I was talking about haha [19:01:45] hah, indeed [19:02:43] and that large dot is from the spotting projector [19:02:55] it can do a few symbols [19:03:20] circular spot, two different point spots, two triangles for impact point on a map, CSM, LM and S-IVB symbols [19:05:12] https://youtu.be/Mawbfv6e2Lg?t=6313 same but more HD [19:06:09] and that nominal line of the trajectory is where the ephemeris, the collection of state vectors along the planned trajectory, really comes in handy [19:06:15] Can easily be generated from that [19:31:42] so I did a lot more studying last night and have some more FCC questions [19:32:29] sure [19:32:45] https://github.com/orbiternassp/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_saturn/FCC.cpp#L434 [19:33:20] is this an NASSP thing? because I don't see in any of the documentation where S-IC and S-II would have different layouts [19:33:52] yes [19:33:54] NASSP [19:34:03] okay cool [19:34:12] the order of engines as we define them for Orbiter is different than the real numbering [19:34:20] probably historical reasons [19:34:29] as in, nobody bothered ever fixing it [19:34:47] me included, I just copied that part over from LVDC code to FCC code when I created the FCC class [19:35:22] hmm [19:35:33] yeah [19:35:57] thought for a moment that I tried to "hide" that issue in the S-II systems class, but no [19:36:11] beta_y1c etc. are used in a different order there [19:36:49] sorry for the confusion :D [19:37:21] hehehe no worries :D [19:37:44] I also found last night how the gains are changed by switchpoints, and through that now understand a whole schematic page that was a total mystery to me before [19:38:09] so I know where the gains are set now... not in the DC amplifiers like I had originally assumed but rather within the filter networks [19:38:26] my current goal is to figure out how to calculate the actual gains for each switchpoint from the schematics [19:38:41] right [19:38:55] I think there are more sets of gains than actually are being used [19:39:23] there is a good page in the AS-508 Saturn Systems Handbook [19:39:30] PDF page 182 [19:40:43] I was kind of wondering how that all actually worked myself [19:41:22] hmmm [19:41:23] so switch points 1 and 2 are close to Max Q on the S-IC [19:41:43] so, including pre switch point 1, there have to be three sets of gains for the S-IC flight [19:42:14] switch points 3 and 4 are used during S-II flight [19:42:24] that works [19:43:24] switch point 6 is used late into S-IVB powered flight [19:43:40] interestingly switch point 5 is used in Timebase 5A, that is when the CSM separates from the S-IVB [19:43:47] so for coasting flight? [19:44:04] yeah I guess so [19:44:04] but other missions don't have that timebase, have to check if that is even used then [19:44:20] is this same page in the AS-503 saturn handbook? [19:46:11] well [19:46:13] https://archive.org/stream/fcc_schematics#page/n8/mode/1up [19:46:29] the bottom half of that page is all of the AS-503 FCC switchpoints, essentially the same diagram [19:47:03] yes [19:47:05] PDF page 28 [19:47:10] they got the order a bit weird [19:47:36] the Apollo 12 flight sequence program says that switch points 5, 7, 8 and 9 are all unused [19:47:59] so 5 only on Apollo 8 [19:48:12] and 7, 8, 9 are never used as far as I can tell [19:48:41] yeah 7, 8, and 9 are not even wired in the AS-503 FCC schematics [20:12:39] and before you ask about the control accelerometers that only the Saturn IB has, we don't simulate it [20:13:04] hahaha I'm completely ignoring those since we're only restoring a Saturn V FCC :P [20:13:24] good :D [20:13:46] I guess it wouldn't be super difficult to simulate that [20:14:37] but it would have to convert rotational acceleration to lateral, depending on where those accelerometers are located relative to the center of gravity [20:17:52] ah it is in the IU, kind of was expecting it to be on the S-IB stage or so [20:33:10] hmmm [20:33:22] do we have anything that describes the electrical inputs to the FCC? [20:33:42] like so many volts per degree of attitude error or whatever [20:37:34] maybe PDF page 257 [20:37:42] AS-508 Saturn Systems Handbook [20:38:08] for the attitude rate at least [20:40:35] oooh nice [20:42:13] oh and page 263 says 0.3V per degree [20:42:14] well [20:42:15] from the spacecraft [20:42:16] 0.8V per degree from the LVDA [20:42:59] perfect, thanks :D [21:25:20] wait, Mike, what sort of crazy project are you working on now? [21:30:09] hehehe [21:42:23] night! [22:56:01] n7275: sorry for the delay [22:56:17] at some point in the hopefully near future we're going to be restoring a Saturn V FCC [23:00:48] this one: https://www.youtube.com/watch?v=BZWO484gv1g&t=1m19s [23:04:21] which is why I have been collecting schematics and manuals for it :) [23:41:17] oh wow [23:41:46] hey no going to the moon without us, lol [23:59:02] that's awesome! [01:51:27] .tell indy91 hey! got the analytical integrator working for the Cooling class. based on this prototype code https://gist.github.com/n7275/2ffbe5e272d757d41d6699bb9fc43695 [15:38:48] hey [15:39:38] hey [15:41:16] analytical looks nice [15:42:48] solid as a rock [15:45:16] the question is, in our full systems simulation where everything is interconnected [15:45:21] does analytic hold up [15:46:04] I guess this isn't as problematic as e.g. a tank that is connected to more than one other tank [15:46:33] because for that an analytic solution for flow or heat transfer wouldn't really work [15:47:43] I think it might be possible [15:48:28] ok dumb question, what is the cooling class for again? [15:48:36] it transports heat from where to where? [15:48:43] just eps cooling [15:49:07] it's like a heat exchanger but for an array [15:49:41] but from where to where? [15:50:09] what are the thermic objects connected by it? [15:50:23] coolant "tubes" to radiators [15:50:57] so ELECTRIC:FUELCELL1 is getting cooled [15:51:25] or is that just for power [15:51:32] the code doesn't really make sense to me [15:52:06] yes theres a condenser tank that is getting heated by the fuel cell [15:52:29] cooling class is the interface for the heat transfer [15:54:15] oh, I was looking at the current Cooling class in the Orbiter2016 branch, but you have a bunch more work on it [15:54:26] the cooling class has two lists. one of them is: fuel cell, O2 preheat, H2preheat, rad1 etc [15:54:57] then theres a list of interconnected tanks that pump a water/glycol mix in a loop [15:55:20] SaturnSystems.cfg also looks quite different now in that part, so that's where I got confused [15:55:24] yeah, fuelcellPerformanceandcooling or something like that is the branch name [15:55:52] the latest commit has the analytical solution [15:56:43] I was just looking at the current state, not your branch, and there the cooling class wasn't really doing much yet [15:57:22] now it makes much more sense [15:57:32] it's getting quite complex [15:57:45] how many radiators do you need :D [15:58:28] I have all 8 [15:58:45] three coolant tubes per radiator [15:59:10] does that really all need to be separately simulated? I'm a bit worried about performance [15:59:38] hasn't impacted performance that I can measure [16:00:24] I just hate how CPU heavy NASSP is and it's not getting better. I have a decent PC and I can't reliably run the CSM main panel at 60fps [16:01:17] is there really no way to make it a bit easier? The SaturnSystems file almost double in size from your changes... [16:01:59] everything that can in some way be affected separately by a switch or display should be separately simulated [16:02:00] also telemetry [16:02:06] I am definitely for that [16:05:07] if it makes any functional difference to have all these tubes and radiators as separate things then you can easily convince me it's a good idea [16:06:10] I've done these things a bit too excessive at times as well, haha, especially in the Electronic Display Assembly of the CSM [16:06:17] every relay and transistor [16:06:32] but it does kind of make a difference, with redundant power etc. [16:07:17] I would never implement e.g. two relays doing the exact same thing and are just there for redundancy. Often they have redundant power, then they should be simulated as loss of a main bus or so makes a difference [16:11:51] in the Systems Handbook, what does that radiator bypass do exactly? [16:12:37] bypasses radiators 6-8 for that particular FC loop [16:12:58] I think I can make a good case for the additions [16:13:29] yeah, so segments 1-5 and 6-8 should definitely be separate, so much is clear [16:13:42] I did quite a bit of thinking before I implimented them [16:14:10] so what's the advantage of the 8 segments over 2 segments that simulate 1-5 and 6-8? [16:14:16] was worried this was too "brute-force" of a solution [16:17:23] it's not just performance, we had too much trouble in the past with these kind of systems with many tanks, pipes, valves etc. and struggled to make it behave nice or even to understand why it behaves the way it does [16:19:14] solar flux becomes much easier (can treat the radiators as flat plates). we could simulate failures (leaks etc) in specific locations. I'm not 100% set on this as the only way to do it, but I'll need to do some work on what forms an alternative would take [16:19:40] well my suggestion would be to have two instead of eight segments [16:19:43] 1-5 and 6-8 [16:21:22] I suppose individual radiator temperatures aren't something we're interested in [16:21:47] probably not, not for telemetry or a display, right? [16:22:26] display just cares about outlet temp, and temperature looks at inlet and outlet [16:22:40] But that's the only simplification I can think of. Anything else would make it a worse simulation [16:23:03] this EPS pipework was quite complex in the real CSM, no reason it shouldn't be for us [16:25:34] how are you simulating that bypass? [16:32:11] looks like older code to me, that directly interacts with the cooling class? [16:33:36] that's the next item on my list [16:34:09] probably wont interface with the cooling class any more [16:36:37] probably close the out valve on rad 8 (or "2") and repoint the in valve of the pipe to rad 5, then open it's out valve [16:38:16] tangentially related topic: is the main panel calling a bunch of getPointerByString() every timestep? [16:54:53] hmm [16:55:09] I hope not [16:56:12] don't think so [16:56:37] but I haven't looked everywhere yet [17:07:47] did you find any? [17:10:16] well not specifically on the panel. but there are a lot of calls to in per timestep [17:11:24] oh wait [17:12:37] it doesn't call it directly [17:14:05] can you point me to it? [17:19:51] I might be wrong. not sure where it gets called but PanelIndicatorSwitchStateRequested() has a bunch [17:20:51] and PanelSwitchToggled(), also not seeing where it gets called [17:22:11] and I think a lot of the QueryValue functions for meters and transducers etc call it [17:22:34] those first two are fine, they only get called when a switch is flipped [17:23:01] basically special code for specific switch classes [17:23:07] switchRow->panelSwitches->listener->PanelIndicatorSwitchStateRequested(this); [17:23:09] called in [17:23:36] wait a moment [17:24:47] hmm [17:25:56] I need to test this [17:26:10] I'll just add a counter that shows me how often PanelSDK::GetPointerByString is called [17:27:07] I think that would be very wasteful if any getPointerByString() gets called on every timestep [17:29:40] uh oh [17:29:43] it gets called a lot [17:30:13] a few hundred per second I think [17:33:17] the fix is to give the Saturn class a pointer to e.g. the valves [17:33:33] and then check on the valve directly instead of GetPointerByString [17:38:20] yeah. not good [17:45:13] you earned some code performance credit by finding that lol [17:46:15] but seriously, if you still want to go with the 8 radiator solution I'm not going to prevent that. Me looking 5 minutes into this topic told me 2 are enough, but in the end it's your call [17:47:35] I'll give it some serious thought, and will probably discuss again before any PR attempt [17:48:56] sure [17:49:44] there were some calls to Getpointerbystring in getfuellcellstatus that I killed, that's what got me thinking [17:50:08] I think I'm getting to the final stages of this MCCVessel branch, should soon be able to do something useful for other stuff again [18:05:42] nice! [18:16:28] morning! [18:17:53] yo [18:32:40] I tracked those Saturn V FCC gain numbers all the way back to 1967 last night [18:32:49] so they definitely did not change much [18:45:35] hey Mike [18:45:46] yeah, I wasn't expecting any big changes [18:46:05] I think we know some small ones from the "changelog" in the flight evaluation reports [18:54:36] oh [18:54:43] "gain numbers" [18:54:44] I can read [18:54:46] sometimes [18:55:25] I thought general FCC changes :D [18:55:56] hahaha [18:57:12] what source from 1967 did you have for them? [18:58:19] or just from the schematics [18:59:06] https://core.ac.uk/download/pdf/85245695.pdf [18:59:09] pdf page 34 [18:59:43] not a full list of gains, but the ones there do match [18:59:54] and no, I haven't figure out how to extract the gains from the schematics yet lol [19:02:26] so with that, and the fact that the AS-503 schematics were last revised in September 1968, a full year after that report, I think I can pretty confidently say that those gains are what these schematics should have [19:04:00] "Modify the Flight Control Computer (FCC) control [19:04:00] gains and shaping networks to satisfy S-IU-513 [19:04:01] design requirements" [19:04:13] so they changed for Skylab at least [19:04:40] not surprising since it launched with a space station instead of S-IVB + LM + CSM stack :P [19:05:08] yep [19:08:36] FCC got a nice workout on Skylab when the solar array and micrometeroid shield failed [19:10:03] haha yeah I bet [16:38:29] hey [16:54:14] good afternoon [18:09:48] I think I'm done with this branch. Will just think for a bit what I could have overlooked [18:23:00] nice. I'd offer to look it if, but I'm afraid I'm not much of an expert here [18:28:58] morning! [18:34:45] n7275, thanks, I think it's too many code changes to quickly check haha [18:34:49] hey Mike [18:37:12] I just hope I didn't forget to add any of the new config files [18:40:46] there is 45 of them :D [18:43:42] oh man [18:44:09] one per mission for mission specific stuff [18:44:22] that's 11 for Apollo 7-17 [18:44:58] one launch day specific file for any initial parameters [18:45:21] that's 13, I added two of the Apollo 11 alternate launch days [18:45:55] and for any mission to the Moon one file with TLI parameters and one for midcourse processor parameters [18:46:15] the last two definitely had a physical counterpart in the real RTCC [18:46:26] from tape or punch cards or whatever [18:46:52] and I think they loaded all the system parameters from tape as well, they probably had one prepared for each launch day [18:47:10] so they might not have that difference between mission specific and launch day specific [18:47:41] ah and I have the RTCC star table in a file as well [18:47:48] starts with the AGC navigation stars [18:47:54] and then about 100 more [18:52:14] the worst part about my change is that if you open the RTCC MFD for the first time during a mission, there is now a bit of lag [18:52:31] it builds the Moon and Sun ephemeris table from Orbiter API calls [18:53:05] but the good thing is, using that table makes all coasting integration a lot quicker [18:53:25] ah nice [18:53:30] and this issue doesn't happen the next time you use the MFD, as the RTCC loading takes care of building the table [18:53:42] so it's just 0.2 seconds longer loading time or so [18:54:12] when the simulation gets started [18:54:52] that's not too bad [18:55:38] all a balance of saving stuff in the scenario or loading it from scract each time [18:55:41] scratch* [18:56:03] don't want to add 3x81 vectors to the scenario [18:56:18] because that's how large that table is [18:57:43] and especially not saving everything that was in the memory of the RTCC [18:57:48] it had megabytes of space [18:57:51] megabytes! [19:01:23] any progress with understanding FCC gains? [19:07:33] not at all :D [19:25:49] maybe it makes more sense if you electrically simulate the FCC? [19:48:51] lol that's what I thought at first [19:49:00] but now I'm trying to figure out what the heck some of these components even are [19:49:07] which is a major blocker to simulation :D [19:52:27] right [19:58:10] reminds me of the ATCA, still want to simulate some components of it to see if we got the behavior about right [19:58:53] in the Systems Handbook there are some very detailed schematics [19:59:00] of filters, limiters etc. [19:59:34] ah nice, that would be cool [19:59:52] it has the resistance values of all the resistors in there [20:00:26] so I think it should be possible to simulate. I tried a bit, but wasn't really working right [21:55:07] night!