[18:55:03] NASSP Logging has been started by n7275 [18:55:05] the city I live in changed the street name and number for where I live. I just don't get packages any more. [18:59:26] n7275, why would they do that??? [18:59:53] I've never heard about that happening here. Not since they had to rename streets named after Nazis [19:14:16] "to reduce confusion" [19:14:32] according to the post office [19:14:51] I would say they have largely failed in their goal [19:20:19] I live in an apartment in what was a textile mill in the 1820s through 1950s, so the "streets" around the mill mean that the same building had to have multiple street addresses. [19:21:59] hmm, maybe in about 20 years the confusion has been reduced [19:22:31] until then, tough luck :D [19:23:02] Where I used to live the same exact address had two entrances [19:23:24] so packages were often delivered to the other one and I had to go on a hunt where or who had it [19:24:08] also fun, I've had it multiple times that some Chinese food was delivered to our house entrance and it was kind of difficult to communicate that they should try at the other entrace [19:25:44] I have that exact problem too haha [19:26:27] in one case they insisted to go up one more floor to check if the right person was living there [19:26:35] just an attic up there [22:22:59] night! [15:56:10] good afternoon [15:57:05] hey Matt [16:11:57] morning! [16:19:40] hey [17:35:40] the pericynthion issue from two days ago is easy [17:35:45] the flowchart was wrong [17:35:53] the text says it doesn't enforce that limit at first [17:39:18] the lesson is, unless you have a printout of the actual code, there will always be errors... [17:48:23] hah, yeah [20:40:31] ah moon-centered RTE logic mostly working again after lots of changes [20:40:38] didn't think I would get there haha [20:40:51] don't have to delete everything [21:55:30] that's always good [22:31:00] not really giving the DV improvements I hoped for [22:31:28] but I know there were some cases where the DV optimization of a moon-centered RTE burn was suboptimal, should definitely be better now [22:31:35] just have to find those cases again [23:07:02] night! [17:05:30] hey [17:07:52] n7275, "Will almost always be CM, unless Apollo 5 gets MCC support, then you'll need logic for that" [17:08:01] it has had MCC support for a long time :D [17:10:28] but I guess it has never updated the rev counter or so [17:10:38] because of [17:10:46] if (cm == NULL) { return; } [17:12:21] hmm [17:12:33] how did Apollo 5 MCC support ever work with that return though :D [17:13:06] that comment did it's job in making sure the right questions got asked :) [17:15:05] ah it only does this logic once per second [17:15:18] so it only returns one timestep per second [17:15:27] otherwise it goes through the normal MCC logic [17:15:46] that probably would mean though the Apollo 5 MCC doesn't work if you have time acceleration with timesteps taking more than a second [17:17:05] there is no protection against cm == NULL anymore with your update I think [17:17:39] yeah any scenario that doesn't have a cm would crash [17:21:22] yeah, I'm going to add some better checks for that [17:21:57] in the RTCC you could actually set a vehicle as the primary one for the mission [17:22:10] although I am not quite sure what that did :D [17:22:18] but maybe that would work for the rev counter [17:22:27] choosing a primary vehicle (CSM or LM or S-IVB) somehow [17:22:41] oh interesting [17:23:05] hmm, it calls it "primary ephemeris" actually [17:23:12] on the mission initialization MED [17:23:22] so probably just does some display or processing only with one ephemeris [17:25:19] saves that in system parameter MCGPRM. Where does it use that... [17:26:23] it also calls it "first launch vehicle" [17:26:47] The first mission the RTCC software was really developed for was a dual launch CSM and LM mission, like AS-258 [17:27:04] so maybe it would just treat the liftoff time of the chosen vehicle as the main liftoff time [17:27:24] so maybe not something that should be directly used in the MCC [17:28:02] I mean, this whole rev counter thing, the MPT creates one, too, for both vehicles. Eventually the MCC and RTCC classes should use the same one for its processing, but that is still some time away. [17:29:15] anything that I can do by just looking at an RTCC routine I would like to [17:30:02] now that updateRevCounter is a function we can just delete it's contents down the road and add: [17:30:22] RTCC->function() [17:30:36] yeah, I don't think there is an easy way to do that right now. Given that there never was rev counter support for the LM before anyway, just make sure it doesn't crash on Apollo 5. Don't have to support it with your PR. [17:31:25] one day the MCC will automatically manage the MPTs [17:31:35] and then it doesn't have to do its own processing for this [17:32:00] sounds good [17:32:01] also with the AOS/LOS stuff [17:32:19] for the actual comm systems that can be moved to a MSFN class [17:32:47] something I haven't implemented yet is RTCC processing for AOS/LOS messages to the ground stations [17:32:59] or at least they get send a message on AOS... [17:33:39] that was a topic on Apollo 13 before the accident. They wanted to do DOI calculations early, but for that you need the LM MPT [17:34:11] but they didn't want to "activate" that MPT yet, or otherwise all the ground stations would get wrong acquisition messages haha [17:34:32] so that involved a bit of RTCC trickery [17:36:58] "acquisition data which will acquire [17:37:02] within the next thirty minutes will be transmitted to all remote stations and will [17:37:04] be regenerated every thirty, minutes." [17:37:24] not really useful for the AOS/LOS annotation in the MCC [17:56:20] is that the SCM info? [17:56:33] or part of it [17:56:54] SCM? [17:58:14] Station Configuration Message [18:00:02] I'm not sure, that's not the terminology used in the IBM document [18:05:40] I'm trying to find the document that I found that term in [18:05:50] it's one of the NASCOM ones [19:07:47] hmm, got myself into a nice goto loop :D [19:29:00] uh oh [13:57:23] .tell indy91, I seem to have caused an interesting bug... [14:37:54] hello [14:40:16] hey hey [14:40:32] uh oh [14:43:25] so if you have Vesim enabled, you get full deflection TTCA signal [14:43:49] and it seems to be related to some sort of DX8 null pointer [14:44:14] because I get an access violation when the LM destructor is called [14:44:25] I can't see how I'm causing this though [14:44:40] are you sure you are causing it? [14:44:58] there was a recent PR by Gondos that got merged related to the destructors, I think [14:45:10] hmm [14:45:29] maybe that's it [14:46:24] no, I'm not sure it's me. I guess I just assumed because I'm messing with pointers and casting [14:47:20] might already happen in the current Orbiter2016 branch [14:49:18] don't have a joystick handy right now, but I can try [14:55:33] hmm [14:55:37] anything I can do to replicate it [14:55:46] oooh [14:55:47] haha [14:55:49] TTCA [14:55:52] not THC [14:59:21] hmm I'm not sure about the TTCA, but I definitely get rapid fire RCS when I load a scenario with the LM [15:01:45] but I haven't any control device connected, so I am not sure if it's related to that [15:29:22] it happens to me with or without [15:29:34] in Orbiter2016 too [15:29:42] so it isn't me.... [15:48:48] with or without joystick you mean? [15:56:43] yea [16:00:26] + [16:00:41] whoops [16:35:11] do you think this is related to the initmodule/exitmodule pull request? [16:35:23] on the face it doesn't seem obvious how [16:53:21] my joystick is weird so I'm always suspicious [17:58:45] n7275, ah only because you were mentioning the LM destructor [17:58:56] thought it might be related because of that, but maybe not [18:00:30] has anyone noted this on forums/discord? [18:00:40] I haven't seen anything [18:00:58] me neither [18:01:08] but then VESIM is kind of experimental [18:01:15] not that many will use it [18:01:28] I wonder how long it has actually been this way [18:01:45] I think this is recent [18:02:02] within a week or so [18:02:48] uhh [18:03:09] oh [18:03:26] order of merged PR is when they were created [18:03:39] so I was confused, because there weren't many merged in the last week :D [18:03:58] many were just checklists [18:04:03] that Init/ExitModule one was 10 days ago [18:04:44] i think we're going to check out some earlier commits to find where it started [18:07:00] https://github.com/orbiternassp/NASSP/blob/776eca8107ce7dfdde88c2fd63ccaddada98280a/Orbitersdk/samples/ProjectApollo/src_lm/LEM.cpp#L507 [18:07:11] is where the crash comes from [18:08:09] dx8ppv is already null when release() is called. it's probably always null [18:08:33] ...which would explain the random rcs activity [18:08:46] I think [18:18:18] how does the LM destructor cause this though [18:19:21] because it only gets called when you close the session I would think [18:24:16] well that's where I get the crash [18:24:57] when [18:25:11] exiting the simulation [18:25:12] when loading the sim, in between or when closing it? [18:25:13] ah [18:25:30] could be related of course [18:25:40] but that won't be the code causing the RCS activity of course [18:27:23] I'm thinking some joystick code is looking at the wrong place in memory and doesn't know it should be causing a segfault [18:43:34] hmm [16:31:35] good evening [16:45:00] hey [16:48:35] bugs, bugs, bugs, for everyone [16:57:14] only typos for thewonderidiot, "ime base 8 enable" [17:02:46] haha [17:07:15] I've had no luck with the LM/DX8 crash thing yet. definitely doesn't happen with the Saturn class but all the code looks the same [17:07:50] I'll probably just message gondos and see if they can find the cause of it. [17:24:38] I would focus the debuggin on the VESIM code [17:24:54] that's the bigger issue, RCS firing [17:25:36] yeah. rendering the LM useless is a serious bug [17:26:35] with VESIM enabled at least [17:27:17] effectively breaking VESIM [18:24:04] oh fun. I get an assert fail when trying to run in debug mode [18:32:26] unrelated to vesim. its coming from the checklist controler... [18:35:09] ahh, it was just that particular scenerio [18:35:27] I do have key callbacks showing up in the VESIM log [18:37:04] so these thrusters are firing because vesim thinks keys are physicially being pressed? or at lease the function that would imply that is getting called [18:57:46] hmm LEM::clbkConsumeBufferedKey isnt getting called though [19:21:09] VESIM is directly hooked into the JoystickTimestep [19:21:53] so the joystick code of VESIM is what has to think it's deflecting a joystick [19:24:59] vesim.getInputValue [19:25:08] that's what I would expect to return bad things [19:47:28] looking at that next [19:50:54] definitely something weird going on there. I can't get the values to change at all. keyboard input or joystick, both have no effect on them. [19:56:42] vesim.getInputValue is just returning 0 [19:57:03] it still works fine in the CSM though, which is interesting [21:01:15] I'll try looking into it, too. Top priority for me has this map update issue, can't have the MCC failing calculations. [21:01:18] good night! [14:54:53] good morning [14:56:39] hey Matt [15:48:41] I have had any major breakthroughs on the Vesim bug yet. [15:49:49] hmm, annoying [15:50:40] I also didn't find a great solution for the map update issue. There are some constraints on the calculation, directly from text books, that doesn't make sense [15:51:18] I think I'll just remove those constraints, add an iteration limit (which should have been done a long time ago) and call it solved :D [15:51:47] the two real RTCC calculations for this are a bit problematic [15:52:05] one calculation only works in near circular orbits [15:52:24] I think for any rendezvous calculation that uses lighting conditions [15:52:50] and the other one is one I don't have the flowcharts for and works, like many things in the RTCC, by interpolation of an ephemeris [15:55:35] that second method is what they would have used in reality I guess [15:55:41] call the sunrise/sunset display [15:55:56] and the predicted site acquisition display [15:56:17] but doesn't really work well without the MPT [15:58:49] and I don't know this exactly because the FIDO wasn't responsible for map update, but someone called Flight Plan Support, who doesn't have a separately recorded MOCR audio loop and who I just hear faintly in the background talking to the RTCC occasionally :D [16:00:28] ahh, that's annoying [16:20:23] there's always lots of voices in the background, I was never paying much attention to it until I noticed Flight Plan Support was talking to Dynamics a lot, who is sitting in the RTCC to take calculation requests [16:20:36] then I was thinking "wait a moment, maybe he does important things after all" [16:31:46] morning! [16:32:12] hey Mike [16:32:47] got some nice quality scans that I never get to see? :D [16:33:11] but also maybe added motivation for your LVDC emulator [16:33:17] hahaha yes [16:33:22] and I have some questions for you [16:33:26] haha, I bet [16:33:37] not sure I'll be able to answer [16:33:40] 1) what is the newest LVOT we have? [16:33:45] uhh [16:33:53] ASTP [16:33:59] but for Saturn V, Apollo 14 [16:34:14] should be quite similar in terms of "padload" [16:34:27] okay, next question -- do you think there's any chance we might be able to pull 17 presettings out of this? or is there no chance those were determined at assembly time [16:34:36] ooooh [16:34:41] huh [16:34:48] probably not but... maybe? [16:35:45] like with the LVDC there is also going to be some mission specific ones, some launch vehicle specific ones etc. [16:36:08] right [16:36:11] I think the flight evaluation report has some presettings, for comparison with planned because of the delayed launch [16:36:24] let me check [16:36:33] oh right, delayed launch. they probably didn't know about that when they assembled the flight program :D [16:37:18] ah no that was 14 [16:37:30] presettings have everything for the full daily launch window [16:37:43] there wasn't any presettings change required for the late launch [16:39:21] I'm checking if there is any number I could tell you that says "yep, this is for that launch day" [16:39:32] ooh actually [16:39:35] maybe liftoff time [16:40:24] which I think is just called TL [16:40:26] TLO* [16:41:06] uhh, I am confused by our number :D [16:42:01] oh right, GRR [16:42:06] not liftoff time [16:42:09] 10363 seconds [16:42:23] that is 2:52:43 GMT [16:42:29] with planned liftoff time of 2:53:00 [16:44:41] it could be a few seconds off [16:44:42] earlier [16:44:57] the launch window opened at a full minute [16:45:28] but the calculated launch time for 72° is not on a full minute of course [16:45:37] so they just launch on the full minute rounded up [16:45:48] to 72.1° or something, different for each mission [16:45:58] hmmmm okay I will look for a TLO [16:46:28] no idea how that memory is structured of course [16:46:34] the LVOT has three parts there [16:46:39] EPO, TLI presettings [16:46:42] found it haha [16:46:44] which don't change for every launch day [16:47:10] 10304.57 [16:52:05] ooooh [16:52:12] surely that is the correct day then [16:57:16] oh I think for some reason they also have a DAY presetting [16:58:16] I think that must be 341 [16:58:48] 1972 was a leap year, so it would be the 342th day of the year, but they start counting January 1st as 0 [16:59:08] oh it's called DATE [16:59:57] can confirm, 341 [17:00:02] ! [17:00:38] so considering the Apollo 14 LVOT is on the current, public NTRS... [17:27:27] and if we were to find an Apollo 17 LVOT we'd share the same numbers [17:34:12] would be great to support the full launch window :D [17:34:28] and better numbers for planned and actual launch time as well [17:34:48] I was able to reconstruct some things in the past, like the launch time vs. launch azimuth calculation [17:35:07] so our Apollo 17 Saturn V already launches in the right direction with a delayed launch [17:35:11] but that's about it [19:22:07] ok, map update fix done, I hope [19:32:22] n7275, looking at VESIM. To be honest, this behavior kind of has to have been the case for a long time [19:32:27] at least with no device connected [19:32:42] vesim.getInputValue returns 0 without any connected device [19:32:50] but 0 is full deflection in one direction [19:32:55] 65536 - vesim.getInputValue(LM_AXIS_INPUT_ACAY); [19:33:01] and that is full deflection to the other direction [19:40:54] I can try with a joystick connected when I get a chance [19:48:42] I agree that it doesn't look like anything has changed recently [19:49:19] but it also worked for me a few weeks ago...and now it does not. [19:50:17] and you are sure you had VESIM activated all this time? [19:50:41] very sure [19:51:40] it's probably worth going back to the commit before the InitModule change [19:51:58] I've even forgotten to plug my joystick in before, but the first time I ever saw this RCS behavior was a few days ago when I pulled the last few weeks of commits [19:52:41] yeah. I never got around to trying that this weekend. got too obsessed with trying to debug the bad pointer [21:10:21] night! [23:04:16] .tell indy91, I can confirm that 9cce195445f1bc9a668ef269de1ce64b916aa765 was the last commit where we did not have this issue [13:54:07] hey [13:55:20] hey Matt [13:55:42] is that just before the Init/ExitModule [13:55:44] ? [13:55:52] yes [13:55:59] very strange [13:56:19] indeed [13:56:47] the fact that the Saturn classes work, and the LM doesn't makes me think this is a simple one-line fix though [13:57:02] it's just a question if which like though... [13:58:29] s/like/line [14:00:26] yeah [14:00:39] I'll try to fix my fix from yesterday then I can look at it :D [14:20:50] I'm just happy it's not my bug this time :) [14:24:02] but a bug I merged [14:24:08] ... so like, nearly all of them :D [16:54:59] morning! [17:00:51] hey Mike [17:01:34] what's up? [17:02:17] bugfixing my bugfixes [17:02:19] and you?:D [17:03:22] 675 pages into the AS-513 scan. hopefully should be able to finish it tonight [17:03:31] great! [17:05:28] and then the Saturn IB launch sim left? [17:06:28] yeah. that one should be a one-evening scan job [17:06:56] ^^ that has been my life for the past few days lol [17:07:32] haha oh boy [17:07:35] but so worth it [17:08:21] DSKY sitting in the background, watching judgingly [17:08:45] really just a DS since it's unfinished, so it is definitely judging me [17:09:03] still more than a LVDC had [17:09:32] an LVDC can turn a light in the CSM on and off at least :D [17:09:39] hehehe [17:11:51] did you have any more questions yesterday? I think all we ended up talking about is presettings [17:12:03] nah that was most of the things I wanted to ask about [17:12:12] I haven't gotten too far into looking at AS-512 [17:12:33] I guess with the later Apollo missions they really only wanted to launch at one day in a month, to a specific launch site [17:12:39] at worst launch a day later to the same site [17:12:48] honestly mostly have been digging through it looking for possible test cases for the MPY instruction for my simulator, because I think it might be working but also it very much disagrees with yaLVDC [17:13:05] so I wouldn't necessarily expect an Apollo 8 LVDC listing to have the December 21 launch presettings [17:13:15] right [17:13:31] but yeah, looking for MPY instances is what led me to find that "using MPY to temporarily inhibit interrupts" thing [17:14:22] yeah I kind of doubt early flight programs have anything close to the final flown presettings lol [17:17:45] wait, so MPY is multiply and is as slow as DIV, divide? [17:18:02] MPY takes 5 cycles to complete. DIV takes 8 cycles [17:18:24] and it inhibits interrupts because there can't be a any interrupts while an instruction is still processing? [17:18:31] basically yeah [17:19:00] same idea as the AGC inhibiting interrupts between EXTEND and the instruction following, or when the accumulator has overflow [17:19:08] jumping into the interrupt would cause loss of that state [17:23:21] I wonder if there is anything in the listing that is not code but still useful. The flight sequence program I guess, but I have that mostly figured out for 15-17 [17:24:21] at this point our LVDC is probably advanced enough that the only major upgrade is an emulator :D [17:24:31] and more presettings of course [17:25:47] hahah yeah [17:25:54] I figured as much :D [17:30:28] and any prelaunch program is missing? So the software could not be run as-is? [17:30:44] are there many jumps to undocumented memory locations? [17:31:16] I cannot imagine that being a huge obstacle really, the flight program should be quite self contained [17:31:50] there were a lot of jumps and such for AS-206RAM, but my initial reading of AS-512 is that it is basically self-contained [17:32:18] we'd have to make our own little preflight program to call the GFP initialization functions and jump to its main entry point, but I think/hope that's about it [17:33:28] yeah it shouldn't be too bad. Many things are done by the ground computer [17:33:38] like, driving the IMU to the initial attitude [17:33:56] with the PGNS that is done by AGC software of course [17:35:06] clock initialization would be one thing [17:35:26] LVDC and ground computer talking to each other for that [17:36:53] the start of the flight program should actually be a GRR interrupt [17:37:06] maybe that is all you really have to do, but I am probably thinking too simple [17:40:48] that flight program language requirements document might be helpful [17:40:54] it has an initialization section [17:41:14] some of which is called when the prepare to launch signal is given [17:41:43] which is at T-10 or 20 min or so [17:41:55] oh interesting [17:42:04] yeah PTL is what causes the jump to the flight program right? [17:42:17] hmm [17:42:25] I think that doesn't happen until GRR [17:43:34] "...and to transfer program control to the flight routines. This transfer is initiated upon receipt of the Guidance Reference Release (GRR) interrupt, at which time the flight program will be initialized" [17:44:27] yeah PTL is handled by the LVDC preflight program [17:44:47] gotcha [14:36:58] hey [14:59:46] hey Nik [15:08:40] any more progress with the VESIM issue? [15:09:42] nope :/ [15:11:12] I'm all the way down the probably cause list to: a random muon is coincidentally hitting the same bit in your and my RAM [15:36:14] oh I was wrong with the previous behavior [15:36:29] the CSM still has input devices listed with no joystick connected [15:36:33] but the LM didn't load them [15:40:45] Vesim::setupDevices isn't call for the LM [15:41:21] oooh [15:41:26] HINSTANCE dllhandle; [15:42:11] dllhandle = g_Param.hDLL; [15:42:53] for the LM this is done in the LM constructor [15:43:18] hmm, but for the Saturn, too [15:51:10] confirmed, dllhandle is NULL for the LM when it tries to set up VESIM [15:51:16] that fails so it is never set up [15:52:40] don't know why just yet [15:52:47] code looks about the same for Saturn and LEM [16:00:07] the two classes handle g_Param differently [16:01:29] LEM: static GDIParams g_Param; [16:01:34] Saturn: GDIParams g_Param; [16:02:01] and then Saturn uses "extern" to use it in other places [16:02:09] LEM class just has static twice [16:04:40] if I change it in the LEM to how it works in the Saturn class then the bug is fixed [16:05:57] all I did was, in LEM.cpp remove the "static" from GDIParams g_Param; [16:06:12] and in lempanel.cpp change static to extern [16:06:19] not sure how that all works yet... [16:07:36] static has more than one meaning in C++ :D [16:14:08] oh I see [16:14:37] before the InitModule change the code did [16:14:41] InitGParam(hModule); [16:14:45] g_Param.hDLL = hModule; // DS20060413 Save for later [16:15:05] the hDLL in LEM.cpp was initialized here [16:15:11] and InitGParam was in lempanel.cpp [16:15:17] and initialized the other one :D [16:16:46] n7275, I'll create a PR a bit later, you can check that it actually fixes the issue for you then, as I don't have a VESIM device set up [16:51:52] awesome. just getting back to this. I got very distracted for a bit. [19:54:10] I wished we had never gotten the AS-206RAM listing [19:54:55] the only reason we are all so careful about this all is because the owner of that was being careful [19:55:26] and some other people saying it's all so secret [19:55:43] I still wait for the Sunburst code to be taken down [19:56:02] as it has as much Earth orbit insertion guidance capability as a LVDC [19:56:15] but that would make too much sense, or just as little sense [20:02:03] I think the same would have happened if these were the first two [20:02:12] it's more that Ron doesn't want to go to jail [20:03:24] we wouldn't even have thought about ITAR [20:03:44] if these two suddenly came into our hands without much thinking about the LVDC before? [20:04:02] why was it never a topic with the AGC? [20:04:07] it connects to a launch vehicle [20:04:17] it can control it in a limited way [20:10:21] let's just not talk about the LVDC [20:29:08] I'm sorry if I was being harsh. If I knew I would never be allowed to see the listings and that there would be no real LVDC in NASSP I could easily accept that. It's the uncertaintly that gets to me sometimes. [20:29:17] uncertainty* [20:29:41] especially now that sometimes has become """available""" [20:29:45] something* [20:31:17] no hope is better than a tiny bit of hope :D [21:02:33] no worries, I totally understand [21:02:52] and I would absolutely love to put it out there [21:03:02] it's just something we need to be careful about [21:08:05] oh yeah, I am not blaming you and Ron at all. Just frustrated at the situation. [21:14:00] I've had to sign off on my Bachelor thesis not falling under ITAR back in the day. One of my colleagues said I should be very happy about that. So I am not totally unfamiliar :D [21:14:44] haha [21:14:55] wait how would it fall under ITAR, being produced by a German in Germany? [21:15:46] Eurofighter [21:15:54] which has Euro in the name [21:16:01] but with NATO everything gets muddy [21:16:08] you never know what hangs below its wings [21:16:16] ahhhhh gotcha [21:17:43] so yeah, this is causing lots of paperwork on our side of the ocean, too, thank you :D [21:19:20] lol everybody hates it [21:22:47] i can agree with that [21:31:24] good night! [15:41:18] hey [16:42:33] hey Niklas [16:44:09] happy with my 2 line code change? :D [16:44:43] yes haha. in retrospect it's very obvious why that causes an issue [16:45:08] we were just lucky it didn't cause them before [16:45:12] I was very much on the wrong track of tracking down the issue. [16:45:17] or unlucky, would have been fixed a long time ago otherwise [16:45:52] static is such a strange keyword in C++ [16:48:39] morning! [16:50:55] hey Mike [16:51:53] n7275, I guess the next project is your ground station AOS/LOS change [16:52:02] I'll check that out [16:52:36] i can't remember how far I got with that... [16:52:41] it might work [15:32:20] hey [15:39:20] hey Nik [15:49:48] I'm checking that Skylab simulation listing, to see if anyting useful can be derived from it [16:50:33] cool [16:50:42] we need more Skylab stuff [16:51:48] I've made a bit more progress on my 2 vessel AOS/LOS stuff. still have a few bugs to sort out [18:27:41] I'll try to catch some more bugs when I can [19:02:57] have to get up at absurd o'clock, so... good night! [14:35:10] hey Niklas [14:45:07] hello hello [17:26:59] morning! [17:33:37] hey Mike [17:34:55] what's up? [17:51:06] hey [18:13:37] got a happy LVDC emulator yet? [18:16:43] getting there! it's passing all of the tests from the PTC self-check now [18:16:46] how does one even simulate delay lines properly... [18:17:02] which leaves MPY, MPH, DIV, and EXM for me to come up with my own tests for [18:17:28] a right, PTC calling itself a computer but can't even divide [18:17:34] lol [18:17:41] I've convinced myself after lots of worrying that the multiplication is indeed working correctly and yaLVDC is wrong [18:17:56] bad Ron! [18:18:47] for delay lines -- using non-synthesizable verilog it's pretty easy https://github.com/thewonderidiot/lvdc_simulation/blob/main/components/dl.v#L12 [18:19:18] this construct makes `y` exactly copy whatever `a` does, just delayed by `delay` nanoseconds [18:19:35] when I go to put it into an FPGA, I'm going to have to turn this into a giant shift register [18:21:53] it's something I am always struggling with in NASSP when I want to delay something [18:21:59] like the SPS shutting down [18:22:21] but that's partially electronic delays, then valves closing [18:22:35] and then pressure going down due to vacuum with no new propellants being used [18:22:57] and then you have timestep length to deal with [18:23:48] which could delay it too much if the framerate is bad [18:24:21] which is why Orbiter is a bad simulator by tying the physics simulation to the graphical update rate :D [18:24:35] oof yeah those should definitely be decoupled [18:26:36] which is why I was thinking about implementing one myself [18:26:55] would make ECS more stable and stuff like PGNS to AGS downlink better [18:27:02] what, a replacement for orbiter? haha [18:27:04] if it was doing alternating steps at e.g. 1000 fps [18:27:14] haha, no, just a separate physics update loop [18:27:23] well [18:27:29] internal systems update loop really [18:27:32] not physics [18:27:42] ohhh I gotcha [18:27:50] partially we are already doing to stabilize the ECS [18:28:00] doing multiple smaller steps per Orbiter timestep [18:28:57] but that has its problems too [18:29:04] like vessel to vessel communication [18:29:12] ECS of CSM and LM are connected [18:29:32] and if there is one giant "valve" makings things a bit less stable it's the tunnel between them :D [18:29:36] making* [18:30:21] digging up a very old topic......... this sounds like it could potentially be helpful for the AGC counter rewrite as well [18:30:29] haha yeah [18:30:38] we were talking about that back then [18:38:29] I seem to recall way back in 2009ish that the whole reason for separating the graphics client from Orbiter was for to allow different update rates [19:07:58] LVDC question -- were the presettings definitely applied to specific addresses like AGC padloads, or is it possible that a change in launch date would cause them to reassemble the whole program? [19:10:59] hmm, sounds difficult to do. They should have the capability to try a launch on the next day again if the scrub comes early enough [19:11:21] I'm thinking about the AS-513 program listing, which has the April 30 launch date [19:11:58] oh in that case, I'm not even sure if there is anything launch day specific for Skylab [19:12:10] haven't seen those kind of presettings :P [19:14:43] in the Saturn IB EDD there are a small number of references to specific addresses actually [19:15:16] the launch targeting would be updated by uplink there [19:15:29] no idea if that was possible for AS-513 [19:16:25] "After all the targeting data is accepted and formatted the eight quantities must be stored in memory module 0, Sector 16, locations 360 through 367, in the order received" [19:16:49] for the lunar mission there would definitely be a lot more launch day specific numbers [19:17:03] but for Skylab 1, I don't know much about the LVDC there [19:17:12] missions* [19:18:10] but I am now wondering how they would have dealt with this on a lunar mission, how they updated it all for a scrub and new attempt next day [19:19:36] oh interesting [19:19:48] hmm yeah [19:20:11] you better not suddenly find a Skylab 1 EDD! [19:20:26] the worst thing that is missing from the Saturn IB one is the TLI section [19:20:36] the thing that started making me curious (aside from the question of if these two program listings are actually the as-flown versions) is that the two things you had me look at are defined as pseudovariables instead of actual variables at a memory location [19:20:41] because even the 1967 Boeing document doesn't have much about TLI [19:20:45] haha [19:21:12] the date and what was the other thing? [19:22:17] I don't think the date is used in any calculations, might have just been put there for keeping track of what the data is for [19:22:26] TLO [19:22:30] oh [19:22:36] well that is definitely used [19:22:40] hehehe [19:22:47] LVDC has a GMT clock [19:23:02] and it would compare that to TLO to see how far into the launch window the launch will be [19:24:44] should be used in Variable Launch Azimuth (LA) [19:32:33] but fixed memory locations, no idea [19:34:13] are you going to make the Apollo 17 presettings available to me at some point so that I can put them in our Apollo 17 scenario? [19:35:05] yup [19:35:52] just lots to do [19:36:14] ah ok, yeah no problem and no rush [19:36:33] doesn't open up huge new capabilities for Apollo 17 [19:36:41] just better numbers all around [19:37:33] any other new LVOT would open up launches later into the launch window [19:37:51] but for Apollo 17, because it launched later, I could derive some from planned vs. actual launch [19:38:04] just a quadratic function of launch time vs. azimuth [19:38:22] from 3 data points. Launch window open, launch window close, actual launch time :D [19:39:04] so we already have that, not perfect, but it works [19:39:22] right, makes sense [19:40:07] my current highest-priority task is running through all of the images again just to be absolutely 100% certain that in a few months we don't go "wait a minute why isn't there a picture of page 437" [19:40:19] ah yeah haha, ouch [19:40:25] so, painstakingly making sure all of the pages are present and fully in-focus before I send these back lol [19:40:37] didn't we have that with some early Colossus... [19:41:10] C237 doesn't have any assembler metadata (octals, etc.) and C249's scan is hot garbage [19:41:20] I wouldn't be surprised if 249 was missing some pages [19:41:38] but also various recent AGC program listings have problems [19:41:55] Luminary 116 is amusingly missing the page with the LNY-77 fix [19:42:07] and we had to reconstruct part of Sunburst from the octals because the printer chewed up a bunch of pages [19:42:46] ah yeah, they used the same scanner for the C249 scans as the Apollo 12 CMP checklists that we have... [19:42:48] we appear to have gotten extremely lucky and there are essentially no print defects in AS-512 or AS-513, even despite the fact that both are split across different stacks of paper [19:43:42] well actually AS-512 has one "defect" where a single "page" is split across two physical pages [19:44:02] it just stops 75% of the way down one page, and then the next physical page contains the reset of the lines [19:44:14] but the punch card numbers are sequential between the two, so I don't think any data is lost there [19:44:23] er, AS-513 has this [19:44:56] well for defective printers IBM would probably have to blame IBM [19:45:13] lol yes, 100% [19:46:52] "Unfortunately, the assembly listing we have of Flight Program 6 is missing a couple of pages (namely, pp. 90 and 96)." [19:46:59] I think I was remembering this [19:47:49] ah yeah, that too [19:59:07] Saturn Systems Handbook has memory addresses, too [19:59:51] hmm, maybe only for uplinked quantities... [20:00:11] which would have a stricter requirement to stay the same [20:00:22] oh interesting, I'll have to check that out [20:01:01] AS-508 one, page 20-3 [20:04:08] very interesting [20:04:18] how does uplink in the LVDC even work...? [20:04:28] haha [20:04:33] it's not like it has an UPRUPT like the AGC haha [20:05:21] yes it has [20:05:37] interrupt 8 [20:05:40] DCS [20:06:13] "Command Decoder Interrupt" [20:06:28] okay so the LVDA has an uplink interrupt, got it [20:06:47] and then these must be fetched from the LVDA via PIO? [20:07:27] astrionics handbook might be able to answer that [20:09:30] and the systems handbook has a section on the command decoder [20:10:33] I guess their uplink format must have had the equivalent of V21 or whatever [20:10:40] so the LVDC knows where to put the uplinked word [20:11:01] yeah I'll have to dig into it tonight [20:12:28] and of course the Saturn IB EDD [20:16:39] yeah I guess that would be identical between V and IB [20:19:08] what actually is a "pseudovariable" [20:19:15] does that only exist in code? [20:19:32] or would have some non-fixed memory location? [20:20:02] TLO would definitely have to be changed from one launch day to another [20:20:52] waaaait a moment [20:21:01] the LVOTs have two different lists for the presettings [20:21:07] one in octal [20:21:16] maybe that includes the addresses? I am not quite sure [20:22:55] yes [20:22:56] 100% [20:24:34] oh nice [20:24:42] pseudovariables are like #define in C [20:25:05] the name a number, and then you can refer to that number by its name wherever, but it doesn't actually live at a particular spot in memory [20:25:15] hmm I see [20:25:24] 11 and 14 LVOTs have the same address for TLO [20:25:47] 016373 [20:25:59] whatever that means :D [20:26:37] both have 016354 for DATE [20:27:24] of course potentially that is a different format or something, maybe not exactly a LVDC memory location [20:28:14] hmmmmmmmm interesting [20:28:27] I could see that being something like module 0, sector 16, address 373 [20:28:31] just clumped together [20:29:57] yeah, it has the value clumped together, too [21:03:46] night! [15:15:53] hey [15:15:56] good morning [16:06:51] I see we have some new EVA features [16:13:04] yep, you can drive around with the LRV+astronauts now [16:14:28] morning! [16:16:17] hey Mike [16:17:35] what's up? [16:19:51] not too much. contemplating my project list [16:20:17] how does its length compare to Santa's naughty or nice list? have you overtaken him? [16:20:50] by several orders of magnitude... [16:21:24] hehehe [16:22:47] I was doing really good on AGC stuff, and then LVDC happened [16:26:04] hey [16:26:12] yo [16:26:16] did understanding of LVDC addresses happen? [16:26:24] only a little bit [16:26:35] confidence that all 1310 pages of the listing are well-photographed and present happened [16:27:16] and I did find that TLO, while numerically defined as a pseudovariable called P.TLO, is placed into a specific memory location called V.TLO, which contains the only reference to P.TLO [16:28:17] I think it will be informative to extract all of the presettings from it and look at how they're all defined and where they're placed [16:28:19] ah ok, yeah at least for 512 it probably needs that [16:28:36] not sure 513 uses it or even has that variable [16:29:38] do the addresses from the LVOT make any sense? [16:29:56] didn't get that far before I went to bed [16:30:32] and can confirm, there is no P.TLO in 513 [16:31:36] doesn't have a variable launch azimuth [17:29:32] indy91, my LM ground station branch should be working now, it needs someone else to test it before I trust it too much. [17:29:43] yeah, I will do that [20:35:17] night! [14:57:59] good morning [15:01:48] hey [15:01:51] https://github.com/orbiternassp/NASSP/pull/933/files#diff-fbcc682914be9519723bd4e392e3becb13db6714395927976862369bdb5e7eecR945 [15:01:59] says CSM instead of LM [15:02:34] oops [15:02:41] lazy copy/paste error [15:02:55] just starting checking the code, haven't really tried it in-sim yet [15:07:39] int AOSCount[2] = {0, 0}; [15:07:51] why does that have to be an array? [15:08:00] it only checks on the current slot anyway [15:08:37] probably a remnant from before this got put into a function used for both vehicles [15:12:40] oh hmm [15:12:58] yep that would be a mistake there [15:13:41] it's not really a bug, but just not needed [15:14:06] my goal was cleaner code, so I'll fix it [15:15:05] I'm not sure the result as a whole *is* cleaner, but I like that it's a little more compartmentalized in a function [15:20:01] morning! [15:20:25] ooooooh yes [15:20:29] thank you :D [15:21:46] no engineering units, so not as easy as putting values from the LVOT in scenarios haha [15:22:13] should all be the same as AS-509 [15:23:08] though that table with the octals didn't have engineering units either heh [15:23:35] hmm right, I forgot that the LVOT also used pirads [15:24:19] this will probably remind me again that our pitch polynomial has a wrong sign... [15:24:32] hard to fix without causing bad things for old scenarios [15:25:43] I think I'll write some tool converting such a table to the scenario format [15:26:08] I already have one to convert LVDC scenario values to the RTCC format for TLI simulation [17:33:43] fun fact, the variable THTEO is called TETEO in NASSP. Reason? At the time that got implemented the Apollo 14 LVOT was the only source for the variable name and the scan is bad on that page, so you can't really read if it is a H or a E [17:33:59] hahahaha [17:34:01] and ever since we have been too scared to fix it because of backwards compatibility :D [17:34:26] of course it's not even called that in the GFP :D [17:34:46] P.THEO [17:36:02] I better convert that one to the correct unit we have in NASSP [17:36:25] it's basically the rotation angle of the Earth at launch window opening [17:36:49] if that is wrong by 180° then the LVDC does a TLI in the wrong direction by 180° :D [17:42:38] hahaha that sounds more like a TOI [17:42:44] trans-oceanic injection [17:44:36] oh it's much smart than that [17:44:41] it just does TLI half an orbit later [17:44:45] smarter* [17:44:50] so not through the Earth [17:44:57] so away from the Moon except towards it [17:45:14] instead of* [17:45:16] ohhhhhhhhh that kind of 180 degrees [17:45:18] got it [17:45:29] of orbit, not of attitude :D [17:45:39] yeah I think it's used for both determining TLI ignition time and the direction [17:46:02] more of a coordinate system transformation [18:31:09] ever have to paste the text you copied to just to remember what you're working on? [18:33:06] I copy&paste so often that probably wouldn't help me :D [19:42:25] it didnt help me much either. I have no idea where I was going to paste "1.4" [19:43:41] haha [19:43:54] TAU3RA [19:44:03] paste [19:44:05] ah I wanted to work on the Apollo 17 presettings :D [19:46:18] surely Microsft stores your last 100 copy and paste for advertizing analysis [19:46:40] that would help even more with figuring out what you were working on :D [20:04:31] I just get really weird targeted adds [20:10:24] thewonderidiot, did you manually transcribe the LVOT names of variables or were those in the listing, too? [20:10:43] uhh [20:10:47] hmm, what do you mean? [20:10:52] yeah, good question haha [20:10:56] hahahaha [20:11:01] did the listing have the LVOT names [20:11:16] oh, no, it didn't [20:11:18] or did you get those from some other source, having to manually write them in the presettings table you gave me [20:11:37] I started by copying down the LVOT names and addresses from the Apollo 14 LVOT [20:11:56] and then looked up what probably corresponded from AS-512 [20:12:03] some of the names are weird, but all of the addresses are the same [20:12:42] right [20:13:41] why do you ask? [20:14:36] I'm getting annoyed with our LVDC having different variable names for things, and different units [20:14:47] so I might start renaming things, in some backwards compatible way [20:15:09] so I was wondering which of the variable names to use. And then I wondered how you got the LVOT names [20:16:11] if I use the "real" names that makes some things pretty annoying to read [20:16:17] the TLI tables especially [20:16:29] internal names OA, CA, RA, DA, EA... [20:16:37] bad :D [20:16:51] LVOT is better [20:19:23] yeah the GFP names are very short [20:19:40] because they had to dedicate two characters to the beginning of every single thing to indicate what type it is [20:19:54] e.g. P.XXX for pseudovariables [20:20:21] sounds superior, let's write AGC code that way [20:27:27] but yeah, at least for most TLI parameters it was me who added them to our LVDC and I already had a LVOT available. So for those we already have the LVOT variable names in scenarios [20:27:38] everything preceeding me being involved is a bit inconsistent [21:07:38] ok, got all the presettings into the scenario format [21:07:59] tomorrow I will compare and do some checks on them [21:08:04] then they should be good to go :D [21:09:32] thewonderidiot, so what you gave me is everything from the "targeting presettings" section of the LVOT. There are a bunch more presettings though for Earth orbit insertion and TLI that are launch day independent [21:10:46] nothing too important though, affecting the trajectory is only the pitch polynomial [21:11:08] hmm [21:11:49] the timing for the mixture ratio shift during TLI is also in that other section [21:12:02] hmm, I gave you everything in the AS-509 LVOT table starting on pdf page 247 [21:12:08] is there another I should be looking at? [21:13:11] yeah, what you gave me is also on the pages 228-241 [21:13:38] but there is a bunch more from 210 to 227 [21:14:00] that's the numbers that wouldn't change for a launch attempt on the next day [21:14:22] but still mission specific, at least a bunch of them [21:14:52] I can tell you which ones I need for a good TLI [21:15:16] it's not many [21:19:13] all of them would also be acceptable ;) [21:27:33] let's talk about it tomorrow. Good night! [15:53:24] good evening [16:12:09] morning! [16:13:09] what's up? [16:14:53] I started adding more presettings to the spreadsheet last night [16:15:12] but it's going to be a slow process because the names in the non-address/octal tables have even less to do with the real names [16:15:33] so there is a lot of trying to line up variables by their comment descriptions and approximate values [16:16:40] I can't find what the LVOT calls BN5 anywhere [16:16:50] not fully convinced 17 still has it [16:17:45] ah yeah, BN5, I think I know where that could be [16:18:09] it might be deep in some time keeping tables [16:18:12] let me check [16:18:36] I'll just tell you the 10 or so variables I need for a perfect TLI [16:18:45] and then maybe the pitch programs [16:18:48] that's all I need [16:18:52] program* [16:19:56] ah right, events processor it is called [16:20:13] we have example code for that in the other programming languages [16:20:54] the timing of a bunch of stuff in the events processor is just in tables [16:21:08] EPTTIM is the name in the code translated to SPL [16:22:08] BN5 is always the same, so I didn't have to add code to make it variable [16:22:12] but for others I did [16:22:16] papiReadScenario_double(line, "LVDC_BN4", EPTTIM[95]); //TB7, task 3 [16:22:24] basically reas "LVDC_BN4" from the scenario [16:22:36] and then stores it in the events processor table in EPTTIM[95] [16:23:01] reads* [16:23:44] kind of surprised that the LVOT would have a separate variable name for it if the actual code doesn't [16:23:55] but it might just be hidden in that table [16:24:26] pitch polynomial is F10, F11 etc. in the LVOT [16:24:59] it goes together with T_ar, T_S1, T_S2, T_S3 [16:26:39] for TLI what I really need is t_B1A, t_B1B, T_2iRA, T_2iRB [16:26:50] those 4 decide the mixture ratio shift timing during TLI [16:27:00] without it some of the presettings you already gave me don't make sense [16:27:10] makes the LVDC very unhappy if that is off [16:28:19] okay, i should be able to get all of that tonight [16:28:29] great! [16:28:39] the listing does have a P.BN1 variable that I found when trying to locate BN5 [16:28:56] but I didn't track down where that led to [16:29:20] events processor tables is where all those BN something have to do something [16:29:28] F10 is called something like P.BA1 [16:29:35] it took me a second to figure out what it was haha [16:30:15] lots of scrolling through the "F" sections of the symbol index trying to spot an F10, but nope [16:32:31] there are more vehicle specific numbers, but we don't simulate that too much [16:32:47] like, different thrust and specific impulse values between different S-IVBs [16:33:16] right [16:50:36] hey guys [16:51:36] yo [16:52:39] hey Matt [17:06:58] what do we simulate as far as Saturn vehicle dynamics? [17:20:30] I have a crazy idea. [17:20:34] oh no [17:21:12] Orbiter attachment points support a "loose" mode [17:23:15] some sort of "pendulum" that we can modify the length, mass, and damping of, might be a not-terrable way to simulate dynamic mass. [17:23:47] Orbiter would handle all of the state propagation still. [17:26:59] not an "any time soon" project [17:27:54] but might be a fun way [eventually] of giving the LVDC a workout in keeping the pointy end forward. [17:30:28] I can't help but picture floppy kerbal rockets :D [17:35:12] lol [17:35:29] I imagine the first few tests would be quite comical [17:38:00] https://i.imgur.com/P0KGDKf.png [17:43:25] I never learned what this wrestling move was called [17:44:23] those F1s are giving it all they can to turn right side up lol [17:44:44] pretty sure I have limited the gimbal range since then :D [18:44:16] n7275, what do you think about making HGA signal strength go down linearly in the CSM skin reflection zone? [18:44:40] as a mid-term solution [18:44:53] better than no signal strength at all in the zone [18:45:33] we could also do this only to HornSignalStrength after the total signal strength has been calculated [18:45:43] that way the signal strength in the zone is still high [18:45:55] I think that's a good idea [18:46:08] but for the tracking, AzimuthErrorSignal and ElevationErrorSignal, it would then be low [18:46:43] that might have have a semi realistic effect though [18:46:51] might [18:47:00] option A or B? [18:47:08] which do you like better [18:48:13] I would do it to the horn signal strength. [18:48:51] it will still track at the edge of the zone, just not boresignt anymore [18:49:17] s/borsignt/boresight [18:50:07] signal strength stays high, but it could have trouble tracking with e.g. attitude maneuvers [18:50:19] and initial acquisition if it isn't pointing straight at the Earth [18:52:14] total signal strength would also be lower if it's pointing straight at the CSM I guess [18:54:00] I also like this solution, just not 100% yet about applying this to SignalStrength as well or only HornSignalStrength [18:59:52] for acquisition, this would only show up if scan limit warning was active anyway [19:01:13] technically the antennas track via phase sum/difference [19:01:52] so strength should go up and down as the path length of the reflection changes by multiples of 14cm [19:09:46] but the reflected signal would also be fairly weak at shallow angles [19:14:58] I think I'll apply it to SignalStrength, too [19:15:06] right now it goes to 0 [19:15:23] and with the change it goes down linearly. Maybe still not realistic, but better [19:18:00] from the perspective of what you'd see on the gauge and in telemetry I'd think it would be pretty close though [19:18:57] signal strength going down as you move into the reflection zone? [19:20:46] yeah [19:21:25] ok, it's settled then. I'll make a small PR in a bit [19:21:32] I think Ryan's scenario is a pretty good test [19:21:39] starts out outside the zone and maneuvers into it [19:26:55] good test [19:27:27] signal strength starts to slowly go down at -45° pitch [19:27:41] about 50% at the P52 attitude with -30° pitch [19:27:51] so problems tracking [19:32:58] no [19:33:01] not so :D [19:36:17] it's up if you want to check it [19:36:38] I am away over Easter, but I should have some time to give your LM AOS/LOS branch a good test [19:47:26] okay. I'll give it a check today or tomorrow. [07:50:14] thewonderidiot, no problem if you didn't find the MRS transition times, the important number was T2IR! [10:17:03] n7275, I hope this doesn't go on your list of pull requests I have refused to merge... [10:17:30] uh oh [10:18:13] I'm fine with it either way [10:18:19] haha glad to hear [10:18:39] the efficiency hawk wanted a change [10:18:50] and before I do a PR of a PR of a PR [10:19:03] or wait for you to do this tiny change [10:19:08] I just did it myself [10:20:04] in the end your code is still there :D [10:21:34] if I were super concerned about the ownership of my code, I wouldn't be working on open source projects :D [10:22:43] there is a way to attribute commits to someone else or to multiple people [10:23:04] but I always commit with the GUI, so I first have to figure out how to do that simple thing in command line [11:21:11] I think we still need some sort of "shadowing" (for the LM too) at some point. my last attempt at that broke reacq mode so I'll need to give that some thought [12:04:08] I'll be back on Monday or so. Have a good few days! [14:28:52] hi Alex [14:30:05] hey [14:30:22] whats new? [14:32:20] I'm still working on antennas, MaxQ added a bunch of functionality for surface eva stuff, and Jordan is working on 4 and 8k VC textures [14:32:37] also Ryan is flying and making checklists for Apollo 12 [14:33:11] and Mike got scans of AS-512 and 513 LVDC software [14:33:57] oooh [14:35:34] AS-512, thats Apollo 17? [14:39:31] I think I will test-fly Apollo 12 soon, haven't really flown full launch to splashdown since implementing the MCC [14:39:56] but I think a few others have and mostly went smoothly [14:45:32] I flew half of it RTCC/MPT I'm waiting to frely until we have Comanche 67 [14:52:14] ah yes, I was also waiting for 67 [16:12:07] and yes 512 is 17. [16:12:16] 513 is Skylab 1 [16:17:36] morning! [16:18:17] hey Mike [16:18:31] hey [16:22:04] holy heck do I like Jordan's progress on the VC [16:22:15] looks amazing [16:23:24] texturing was never my strong point, but he's taken care of it [16:29:13] yeah he's doing an awesome job with it [16:30:06] my texturing skills don't go very far beyond the MS paint spraycan tool, so I certainly have an appreciation [16:36:48] good evening [16:36:57] hey Niklas [16:37:55] I just read the chat logs, did I see something about better presettings for 17? :D [16:38:31] we're working on it, but I'm going to need a better description of some of these alleged variables that I cannot for the life of me find in the listing :P [16:38:48] ah [16:38:56] haha [16:39:06] well for TLI I now have everything I need, I think [16:39:55] I was giving it a test run before Easter [16:40:09] of course I broke the TLI PAD by renaming some LVDC variables to the correct name [16:40:22] but just the RTCC version of the presettings :D [16:40:29] what is the difference between t_B1A and T_2iRA (and t_B1B and T_2iRB)? I could only find one pair of variables that matched either description, and wasn't sure which ones it actually was [16:40:30] hahaha nice [16:42:46] oh that's two entirely separate variables [16:42:56] t_B1A and t_B1B it should be [16:43:12] bottom of PDF page 224 in the Apollo 14 LVOT [16:43:19] MRS transition periods for the IGM [16:43:58] T_2iRA and T_2iRB are the first stage of IGM during TLI [16:44:06] so it counts down that time [16:44:11] then causes mixture ratio shift [16:44:17] which has a transition period [16:44:32] maybe what helps you is the LVDC module in the LVOT? [16:44:34] would this support the full launch window? [16:44:35] yes [16:44:42] ah nice [16:44:51] > LVDC module in the LVOT [16:44:54] what do you mean by that? [16:45:02] oh oh [16:45:03] in the presettings table [16:45:07] has a colum [16:45:09] column [16:45:11] no, it doesn't help, I read the whole IG section [16:45:18] haha ok [16:45:41] maybe I can get better variable names from the translated code [16:46:11] it seemed like the code was written to expect the MRS to happen exactly at the transition between 4th and 5th IGM periods [16:46:20] ooooh wait a moment [16:46:31] in which case the transition time is the same as the duration of 4th stage IGM? [16:46:39] this might not be in the IGM code proper [16:46:58] you basically have preloaded T2 and T3 times for ascent to orbit [16:47:19] and after reaching orbit there are a lot of variables being overwritten for TLI [16:48:36] TimeToGoToRestartAndBetaTest is the function name where T2IR would be used [16:49:03] you know function names can only be 6 characters long in the LVDC right haha [16:49:09] module name RS [16:49:19] haha, that's the function name in our LVDC [16:50:24] oh yeah, there it is [16:50:50] entered once at reaching orbit for the first opportunity [16:51:02] and I think after the first TLI is inhibited for the second [16:51:51] ah, it's a module that is getting queued in [16:52:33] it helps that I converted our Saturn V LVDC to follow the GFP logic with the help of the updated astrionics handbook :D [16:53:14] T2IR is only referenced in IN [16:53:48] phase initialization [16:54:24] aaah right [16:54:36] that works, too [16:55:31] phase initialization is called whenever it transitions from/to powered and coasting flight [16:56:09] the comment on T2IR is "nominal 4th phase IGM time-to-go - 1st opportunity", by the way [16:56:46] yeah [16:56:56] you have 5 IGM stages total [16:57:11] first three during ascent. S-II before MRS, S-II after MRS, S-IVB [16:57:17] and then TLI before and after MRS [16:57:38] the IGM only needs 3 stages max of course at a time [16:57:46] for TLI it uses 2nd and 3rd stage of it [16:58:13] that's why fourth stage uses T2 etc. [17:00:13] ohhh okay and then t_B1A, when it says the "transition time", means "how long it takes to transition", not "time of transition" [17:00:29] ...right? [17:00:31] yep, sorry if I was unclear about that [17:00:52] okay so where would that be then... [17:00:54] we are missing a bit of code for TLI there I think [17:02:23] I would expect there to be a variable for this for launch [17:02:37] and then after launch the TLI value for that gets loaded into it [17:02:44] with first and second opportunity [17:05:54] hmm okay [17:06:41] do you see any reference to "artificial tau" in the IGM? [17:06:55] oh yes [17:07:00] would that be related? [17:07:12] that's used at ignition and also during the MRS period [17:07:21] there are some thrust related calculations there [17:07:27] and thrust changes during MRS of course [17:07:41] so in that transition period the IGM instead of expected thrust value, not measured [17:08:18] so it should only go there, at least in one case, if it's in a transition period [17:09:13] we have that at the top of the IGM, in the guidance time updates [17:10:25] so "time to remain in artificial tau mode for 2nd s4b burn 1st opportunity" [17:10:29] does that sound like the number? [17:11:04] yeah [17:11:22] P.TB3T, 30.0 for 1st opportunity, 1.0 for second opportunity [17:11:26] will add that to the spreadsheet [17:11:32] same as Apollo 14 then! [17:12:32] great naming, with the LVOT having a TB1 something there [17:13:09] yeah, that's what threw me off so hard lol [17:14:12] weirdly the second opportunity one is P.TBII [17:14:24] er sorry, other way around [17:14:34] P.TBII is first opportunity, P.TB3T is second opportunity [17:14:38] based on these comments [17:15:36] uhhh [17:15:45] or something like that [17:15:52] the wording in these comments is screwing with my morning brain [17:17:45] roman 2 :D [17:17:51] but TBIIIT is too much [17:18:53] haha oh jeez [17:19:21] S-IVB being the third stage, TB3 kind of makes more sense as a name [17:22:05] uhm so I found some more presettings that would be helpful [17:22:29] during launch it overshoots the altitude, to 100 NM, insertion at 90 NM [17:22:43] I think the IGM stage timing need to be tweaked [17:25:22] T_1i and T_3 with an apostrophe in the LVOT [17:26:06] these can easily be found from flight evaluation reports of course [17:26:13] accurate to a second [17:28:13] T_1i = 278.59 [17:29:41] P.T3P is "nominal IGM time-to-go from TR+TCI to 1st SIVB cutoff", and is 144.04 -- I think that is probably T'_3 [17:29:51] it used the default of 286.2 so far, so not too far off [17:30:13] yep, Apollo 14 value is 139.0 [17:30:18] so I think that's the correct one :D [17:30:51] oooh now I know why the default values are bad [17:30:55] S-II inner engine cutoff [17:31:11] I think the S-II goes into attitude hold, anticipating cutoff [17:31:23] but with one engine not running that comes later [17:31:32] so it overshoots the altitude due to att hold [17:34:55] our default value for T3P is 53.5 [17:35:01] quite the difference [17:36:15] oh yes that is a big difference [17:37:28] oh I compared the pitch polynomials [17:37:32] not that different from 14 [17:37:36] just [17:37:39] not as smooth? :D [17:39:06] heh [17:39:10] who needs smooth? :P [17:41:20] hmm, still overshoots the altitude [17:41:34] I think we have just not adjusted the Saturn masses for the later missions properly [17:51:59] cya! [21:40:54] night! [11:13:22] good morning [11:28:13] hey Matt [11:28:21] I'm in your branch and making some changes :D [11:28:42] small bug and a bit of cleanup, probably will become a PR to your PR [11:29:00] also, about CSM and LM AOS/LOS messages [11:29:24] do we want that? I think it's nice to have from undocking to docking [11:29:40] but as it is right now the AOS/LOS messages for the LM also happen when CSM and LM are together [11:29:49] and after the LM has been jettisoned [11:30:14] oh yes, that's a good idea. otherwise it could get quite spam-y [11:31:31] yeah, like in a TLC scenario with Madrid and Goldstone having signal [11:31:55] not only do you get AOS/LOS messages for both the prime and wing stations for those two [11:32:05] but now also CSM and LM [11:32:20] so in a random TLC scenario you could get 8 messages when you load the scenario [11:32:38] so either we do some additional check if CSM and LM are close togeth [11:32:48] are we are just not giving LM AOS/LOS messages at all for now [11:33:07] the close together thing wouldn't fix the issue after LM jettison [11:33:48] kind of tricky to get right then. If you shoot the LM towards the Sun like Snoopy then getting those messages for a while would make sense [11:33:56] if you crash the LM into the Moon though... [11:34:16] eventually I need to model ground station signal strength, and that should make things easier [11:34:18] so I'm kind of leaning towards only giving CSM AOS/LOS messages [11:37:37] hmm [11:37:51] are you following what ThatRedMelon says on Discord? [11:38:03] I'm just checking the LM code [11:38:30] your MCCVessel::clbkGeneric code returns 0 if there is no TransmittingGroundStation [11:38:47] and never updates the RFCALC_RFProperties [11:39:05] but then in LEM_SteerableAnt::Timestep [11:39:12] it never checks what clbkGeneric returns [11:39:32] so it seems like it doesn't take into account if there is no TransmittingGroundStation? [11:39:41] I have not looked a discord yet. one sec [11:39:58] "Should the LM S-Band be tracking the sun whilst in LOS? I'm getting a weak signal around 1 on the signal strength gauge and track mode auto can keep a lock on it. I know the CSM and LM signals are sort of linked (for now) and as soon as the CSM gets a signal from Earth the LM loses signal." [11:42:03] I think what could be happening is that the RF power isn't nulled when you go into LOS [11:42:14] but the global position of the ground station is nulled [11:42:22] in ecliptic coordinates that would be close to the Sun [11:42:26] oof it's because the vector is 0,0,0 [11:42:43] yes, but it has also power [11:43:29] if the transmitting power would be zero then the vector doesn't really matter, signal strength would be 0, too [11:43:49] yeah that's weird [11:44:25] if(mcc->TransmittingGroundStation == 0) { return 0; } [11:44:34] doesn't update the RF properties [11:44:40] so it uses whatever it had before LOS [11:44:43] I think [11:44:54] yeah. that makes sense [11:45:01] not a difficult fix [11:45:09] yeah, I'm on it [11:45:14] if I am doing changes already [11:46:14] I did a little bit of cleanup and there was one bug [11:46:54] hmm, what was the bug haha [11:48:46] oh right [11:48:54] VesselGlobalPos was used in AutoUpdateXmitGroundStation [11:49:15] only got updated in UpdateRevCounters [11:49:39] in AutoUpdateXmitGroundStation you had a local version of that variable, VECTOR3 VesGlobalPos = _V(0, 0, 0); [11:49:54] but that got only used to convert to local coordinates, Vessel_Vector [11:52:48] it was all a bit tangled together before [11:53:02] yeah, easy to overlook some remnant of that [11:55:51] I'll also get rid of some code duplication in MCCVessel::clbkGeneric for CSM and LM [11:56:05] so should the fix be that transmitter power is set to 0? [11:57:49] or do you want the antenna code to handle the return values 0 and 1 differently? [12:00:45] I think power set to 0 [12:01:51] good morning [12:01:53] hmm I tried replicating it, but I think I did it wrong [12:01:54] hey Alex [12:01:58] there is code in there that prevents taking log(0) so we should be safe [12:02:11] hi Alex [12:21:11] n7275, in MCCVessel::clbkGeneric [12:21:18] if(mcc->TransmittingGroundStation == 0) { return 0; } [12:21:28] same code as before your PR [12:21:31] but TransmittingGroundStation is now an array [12:21:38] so that never becomes 0 [12:21:44] because it's an address :D [12:22:13] that's why the bug ThatRedMelon is reporting is currently NOT happening in your branch [12:25:11] I think I'll just remove that TransmittingGroundStation check. In the GroundStations array the one with number 0 is an empty one with name INVALID [12:26:01] I'll just fix your bug temporarily to confirm the other bug haha [12:32:24] oh no. [12:32:28] that's bad [12:33:10] I had a few other instances of that that I found so I'm not surprised that I missed one. [12:34:03] I have confirmed the bug that ThatRedMelon reported [12:34:18] and I'll just remove that check. That should set the transmitter power to 0 [12:34:32] ground station vector to zero as well [12:34:48] we just can't add any new ground station in the array position 0 [12:36:06] we can't do that anyway with the current logic [12:36:23] because TransmittingGroundStation[Slot] == 0 means there is no station in AOS [12:40:25] n7275, one more thing, in antenna code I am seeing a EarthSignalDist calculation [12:40:39] I think that's somewhat outdated? it uses oapiGetSize(hEarth) [12:41:01] but now the ground station global position should not be the center of the Earth, but the ground station itself, right? [12:41:13] so the Earth radius doesn't have to be considered [12:42:46] hmm, and antenna code also does a check on the Moon being in the way, I think that's also not required anymore... [12:43:14] oh that's true. we can probably eliminate some calls there [12:43:46] right because the transmitter should be off at LOS [12:44:58] delete, delete, delete :D [12:45:37] but more changes requires more testing. I had hoped this branch could be merged today, but might just be a tiny bit longer for more checks [12:47:09] I can do some more proper testing this evening. [12:50:33] ah, the HGA change hasn't been merged yet into your branch [12:50:45] so I will not do any changes there to avoid a merge conflict, I think [12:51:56] ok, deleted a bunch, now testing [12:52:26] want me to merge the latest commits? [12:52:42] that would be great if you can do that! [12:53:35] should be good to go [12:53:55] nice [12:54:29] pardon the merge commit, Thymo, I can rebase before we merge :) [12:54:50] haha [13:14:23] ok, last point is the LM AOS/LOS messages [13:14:27] what do you think about that? [13:20:09] also, I think I want to finally change the names of the wing stations for Madrid and Goldstone [13:20:21] right now it also looks like a bug with the duplicate "AOS Madrid" [13:20:30] but it's two different station, a few kilometers from each other [13:20:35] one called MAD, the other MADX [13:20:49] not quite sure what name to display yet... [13:21:23] it almost looks* [13:24:39] maybe "Madrid Prime" and "Madrid Wing" or so [13:24:52] Fresnedillas Madrid Prime (MAD) [13:24:55] Robledo Madrid Wing (MADX) [13:34:22] I think I'll use MADRID and MADRID WING [13:36:50] that would work [13:40:44] and LM AOS/LOS? Should we just get rid of those messages for now? [13:41:32] I think so [13:41:34] or only show them if CSM to LM distances is between 100 meters and 2 lunar distances or so [13:41:58] which would prevent messages while docked and after TEI [13:42:00] oooo I like option 2 [13:43:44] or maybe a shorter maximum [13:44:05] I don't really want LM AOS messages for a crashed LM [13:44:20] hmm, can't prevent that with just a distance [13:44:38] you might fly directly over a crashed LM and the distance would be 60 NM [13:44:53] but on the other hand during rendezvous you easily have distances larger than that [13:45:23] but if it's crashed it won't be moving into and out of AOS [13:45:39] right, you just get the message at scenario load then [13:55:00] hmm the distance logic is a good idea, but there are some practical issues with the code [13:55:32] need to rewrite some things a bit as this requires good CSM and LM state vectors [13:55:35] positions* [13:56:04] and first checks if the scenario has both CSM and LM [14:09:14] any RTCC functions we could call to make the MCC less Rube Goldberg-ish? [14:17:12] hmm, none that really help here [14:25:20] I'll just delete LM AOS messages for now [14:25:33] we can always revisit that later, not difficult to add back [14:27:59] PR for the PR is up [14:31:00] I will look in a bit [14:31:05] sounds good! [14:31:16] that means I can go back to Apollo 17 LVDC presettings now haha [14:38:19] indy91, that TLI I flew years ago to get the delayed launch cutoff conditions will soon be just a bad memory :D [14:39:20] yep, there should be some nice TLIs whenever you launch [14:41:02] 4/9 lunar missions with full presettings now [14:41:08] at least if it flies the expected ORDEAL pitch rate would be much better [14:41:24] IIRC the delayed launch as it is now flies a fixed attitude [14:41:47] ah right, that is a bit suboptimal [14:41:55] I did a normal launch as a first test [14:42:01] might do one at the end of the window [14:43:30] nice to have at least one J mission with the full presettings [14:44:47] maybe test a launch at the end of the window & 2nd opportunity [14:45:09] ah yeah, that makes sense [14:49:58] doing TLI so late it might as well be 1973 already [15:28:24] did a TLI [15:28:32] MCC-2 is 4.6 ft/s with option 4 [15:28:50] ah wait, what about LOI timing [15:29:13] uh oh [15:30:10] ah, I am dumb [15:30:16] LOI is not the same as MCC-4 :D [15:30:30] predicted LOI time only off by 2 minutes without any constraints [15:31:30] 6.0 ft/s with time constraint [15:31:35] very nice [15:31:53] now back to prelaunch for a long delay [15:34:58] ORDEAL was also tracking nicely [15:38:13] sounds great [17:43:01] .tell indy91, do you mind checking this Apollo 12 TLI scenario? (TIG minus 1:15) I get a CTD right at TLI cutoff. https://www.dropbox.com/s/5r24d78u4yg8jdq/Apollo%2012%20-%20TLI%20CTD.scn?dl=0 [17:44:46] .tell indy91, https://www.dropbox.com/s/xcdv7h9qmb950ez/lvlog.txt?dl=0 [10:55:30] .tell thewonderidiot I think there is a typo in the presettings. TSTB should be the 15288.29 and not 16288.29. The octal value confirms this. [11:27:52] hey [11:28:49] hey Alex [11:28:58] I checked your scenario in my branch, no CTD [11:29:08] I can try again later with Ryan's branch [11:29:38] I would be kind of surprised if the LVDC could cause this [11:30:38] hmm I am on Ryans branch, maybe ill try it on the main branch [11:31:21] I had it happen twice in a row [11:31:27] we do have an "event" at TLI cutoff for checklists and stuff [11:31:37] kind of caused by the LVDC [11:31:51] so maybe it's something checklist controller or MCC related [11:34:36] just burning a TLI as well [11:34:40] Apollo 17 [11:34:49] launched one minute before launch window closing [11:34:52] 2nd opportunity [11:35:09] wasn't working for a while, tracked it down to a wrong presetting [11:35:22] typo either by Mike or in the listing itself [11:35:28] octal was correct [11:39:22] ah nice [11:39:30] 4.5 ft/s MCC-2 [11:39:35] without time constraints [11:39:54] and LOI time good? [11:40:32] looks about right, have to convert with the late launch and GET update [11:41:45] yes, very good [11:41:56] 85:27h GET [11:42:01] I launched 3.6 hours late [11:42:09] flight plan TIG is 88:55h [11:42:30] pretty good [11:53:12] ok so I debugged my scenario in VS [11:53:26] https://www.dropbox.com/s/w4499n0lbl1fqvs/Screenshot%202023-04-12%2007.49.30.png?dl=0 [11:53:32] seems to be checklist related [11:56:12] ah, not fun [11:56:29] a bit surprising [11:56:52] I have to check, but I didn't think that we were using the TLI ended event as a trigger for the checklist [11:57:19] Ryan won't be happy, the checklist files have been causing a bunch of annoying CTDs [11:58:20] we are thinking about moving away from the Excel files, but it would be a big undertaking [12:08:03] I'm not sure what to do about your scenario though [12:08:11] it's not a typical CTD really [12:11:47] right [12:13:05] maybe for now I can delete the checklist section in the scenario and re-sequence the checklists after TLI? [12:17:59] could work [12:18:03] just burning the TLI myself [12:18:16] PR is up for my Apollo 17 update btw [12:19:15] oh nice [12:19:42] TLI_DONE is the variable that saves the TLI cutoff time I think [12:20:12] maybe something screwy is going on with that [12:21:01] yeah, probably. not the saving of the time itself, but it triggers something in the checklist code [12:22:06] was there any recent changes to the checklist code? [12:22:31] no, only the checklists [12:22:40] we all have no clue what to change with the checklist code :D [12:22:56] just got the exact same CTD, so it's definitely consistent [12:28:14] hmmmmmmm [12:28:30] CSM-LV Separation 0 13995 TLI_DONE SIVB Separation Checklists 1 1 0 0 [12:29:22] and TLI_DONE is definitely used in a bunch of palces [12:29:24] places* [12:29:29] in the TLI checklist [12:29:40] but also to start the "CSM-LM Separation" checklist group [12:29:47] TIME = 0, DEADLINE = 13995 [12:29:53] have to look again what deadline means... [12:33:08] I wonder if the issue is there [12:34:01] it tries to start that new checklist group despite not being done with the current one [12:34:04] or so [12:38:34] PR approved btw [12:42:26] ah great, thanks [12:53:50] maybe I have a way to debug this [12:56:29] I made it spawn the CSM/LV sep checklist at TLI_DONE + 300 seconds [12:56:39] then I do not get a CTD at TLI cutoff [12:56:42] but 300 seconds later :D [12:56:51] it seems to have some difficulty with that checklist group [12:57:03] I'll try to get there in debug mode [12:57:57] ah interesting [13:08:34] ohhh [13:08:43] I think there might be a typo [13:09:08] in the Apollo 12 checklists.xls [13:09:53] in the GROUPS tab, it calls CSM-LV Separation [13:10:19] but its actually CSM-LV-Separation [13:10:24] so missing a - [13:13:30] indy91, yep that fixed it! [13:13:37] it was just a typo [13:15:30] oooh [13:16:58] I'm sure Ryan will be happy to hear it's something so simple [15:36:01] morning! [15:36:10] yeah, can confirm that was a typo on my part [15:36:14] hey Mike [15:36:20] ah ok, no problem haha [15:36:36] good that we have the octals to confirm [15:37:14] with the typo it started checking for restart preparation 1000 seconds too late [15:37:35] which was too late, it started TB6 immediately after that time passed [15:37:38] lol [15:37:41] and TLI was... interesting [15:37:53] 1°/s up, 1°/s down :D [15:37:56] yeah that's why I generally put both the octal and the decimal, when they were readily available [15:38:10] a bit of redundancy :D [15:38:14] I was already thinking into entirely different directions [15:38:27] like, us missing the LH2 venting [15:38:44] pushes the orbit up, higher orbital period, arrives later at a point in orbit etc. [15:39:20] but earlier restart test time is a lot easier :D [15:39:42] Apollo 17 having TLI later already than the previous missions [15:39:46] lol yep [15:39:55] hey all [15:40:17] yo [15:40:25] hey Matt! [15:40:37] Are my changes to your branch good or no? :D [15:41:13] thewonderidiot, I haven't checked any other values for typos, but I didn't see anything unreasonable [15:41:20] and I had two good TLI results, so... [15:41:38] it's now merged [15:42:00] I can probably automate a scrub of this one we get the relevant sections transcribed [15:43:47] if we figure out the scaling for everything then the octals could catch more typos [15:44:55] that's one feature I want for my padload generator, too. Have the actual padloads in there and then automatically compare all the octals [15:45:11] that's what I did manually and I did catch one ones vs. twos complement thing [15:46:29] indy91, yes that looks good to me [15:46:43] I think I merged your pr into my pr [15:47:59] yep [15:48:15] PR-ception, we've done it before [15:53:22] I did a bunch of tests with our saved scenerios and everything looks okay. it's so easy to miss something little though [15:53:43] indeed [15:54:07] I haven't tested much, but that's all that would be left. From my point of view it's ready to go [15:56:43] if something's broken, it'll still be an improvement over what we have now, so I'm fine merging it if you are [16:00:03] definitely [16:00:32] merged! [16:00:41] single digit open PRs, yay [16:01:37] I am kind of inclined to merge my cue cards PR soon, too. There are a few instances of the cards clipping through the side, but I have the fear that the work on this branch will just get lost if it isn't merged soon [16:01:45] ... like many other branches of mine before [16:02:13] it may be easier to correct the CM mesh issues if it gets merged too [16:03:03] I say merge it [16:04:03] and my heating branch should be mergable once I get some updated values from Ryan for a few LM system area/emissivity values [16:04:54] yeah, it's gotten plenty of testing by now [16:06:09] I need to figure out how I would upgrade old scenerios for the liquid density update [16:39:57] indy91, speaking of PRs what about "Rendezvous radar stays inertially fixed in slew mode", is that one on track for being merged in soon? I guess we were waiting on confirming this behavior happened IRL [17:02:37] AlexB_88, I just haven't tested my problematic cases again yet. I've had two cases that failed to drive from RR mode II to I, potentially due to the drift of the RR which the LGC gets confused by [17:03:46] it just got kind of stuck, like it was expecting the RR to be exactly at certain RR angles and then didn't continue [17:21:33] ah ok [17:24:57] cya! [18:31:01] time to send the LVDC listings back :( [18:40:55] :( [18:41:01] :( [18:59:23] here's hoping I can win one of them and get it back lol [19:02:13] I'm rooting against you [19:02:39] someone else might accidentially put it all on the Internet, you surely won't :D [19:02:54] hahahaha [19:03:27] counterpoint: somebody else would need to be even more crazy than me, to image 1500 pages that have already been imaged [19:03:52] good point [20:50:34] oh indy91, I have a date scheduled for AS-202 rope reading [20:50:40] should happen April 29 [20:51:00] oooh awesome :D [20:51:17] tries to find the BlockI branch among all the dust that has settled [20:51:27] hehehe [20:51:57] I'm not sure I can bring that branch up-to-date [20:52:09] it diverged just before we went from green to blue DSKYs [20:52:58] but if we can endure the old FDAIs and such we can surely get that mission to work [20:56:57] we endured them for many years, I'm sure it will be fine for one mission :D [20:57:37] one very short mission [20:57:42] with lots of SPS firings I hope [21:10:30] and then we have padload and such in the branch. Not sure what becomes of it, maybe one day it becomes a separate addon for Block I only [21:10:42] or someone starts work on a separate Block I CSM [21:25:21] good night! [11:30:48] hey [11:31:06] morning [11:41:07] I think I can get Ryan's Apollo 12 changes into their own branch by tonight. [11:54:32] hey guys [11:54:38] ah nice, sounds like a difficult task [12:18:33] not super difficult, just very time consuming [12:19:54] the rewrite_radiative branch should be good to go, although I want Ryan to give it a quick look and agree that it has the right commits in it [12:50:13] I see that Ryan's branch is moving the Apollo 12 launch scenario out of the WIP folder [12:50:39] are we relaxing the 7-11 constraint for version 8 I guess? [12:59:13] Apollo 12 now has MCC and checklist support, so not that much WIP about it [12:59:37] focus is still 7-11 though [12:59:51] Apollo 5 can also moved out of WIP with that logic [12:59:58] right [13:00:32] so I guess I don;t have an excuse to start making Apollo 17 MCC :D [13:00:57] oh nooo [13:01:14] I want to do some changes to Maneuver PADs [13:01:35] if we have the MCC for all missions that becomes a lot more work :D [13:02:09] I don't think Ill be starting it anytime soon haha [13:02:38] Apollo 12 was already so time consuming [13:04:47] I can imagine [13:05:00] I have a list of changes Ryan still wants done for 12 [13:05:13] right the map updates [13:05:20] and photo T times [13:05:39] and some minor tweaks like ullage times on Maneuver PADs and such [13:06:30] the ullage times were already set according to flight plan, those should be good already I think [13:07:32] ah, maybe it was sextant star check timing [13:07:51] ah right [14:38:37] as long as we don't start adding mission scenerios that I need to worry about breaking I'm fine with moving 12 and 5 [14:39:00] I have enough to break as it is :) [14:56:55] yeah I think we can leave mission scenarios out for now [11:52:05] hey Alex [12:00:42] hey [12:07:58] n7275, Im actually getting the same LM power issue that Max-Q experienced [12:08:46] I am late in TLC and just noticed my LM power breakers are popped [12:09:33] interesting [12:09:48] are you in a branch with Ryan's ASA changes? [12:10:14] yes [12:11:10] I guess I just need to pull the ASA breaker for now [12:17:14] so I pulled the ASA breaker I can go LM PWR - CSM and the breakers stay in [12:17:42] but looking at 4D, it reads ~4.4 volts [12:17:48] seems a little high [12:34:33] what does that equate to in current? [12:40:25] hmm good question...I was just looking at the system test meter [12:41:21] if it means anything, 15 minutes after the 4.4 reading, its now down to ~3.2 [13:14:05] I think 5V = 10A according to our SCE code [16:45:25] AlexB_88, any fun projects on the horizon? [16:54:47] well for now just fixing/finishing a few things with Apollo 12 MCC [16:55:11] maybe some more VC work afterwards [17:30:46] cya! [11:05:28] hey [11:09:15] hello hello [11:09:31] great job untangling that Apollo 12 update! [11:09:42] looks like a bunch of work [11:10:16] only issue I saw was that it still had an Apollo 12 scenario under WIP scenarios [11:10:26] in addition to the new one in the main folder [11:10:49] other than that I would merge it [12:03:46] good morning [12:04:34] hey Alex [12:17:36] ever checked out my cue cards branch? [12:17:51] updating it right now to the latest Orbiter2016 branch state [12:17:58] not yet [12:18:40] hmm maybe I did when I sent you the initial mesh [12:18:45] ah right [12:18:52] you did the first one [12:18:57] followed by many more from Jordan :D [12:19:18] ah nice [12:19:33] it's been a while, I have to check how complete it was [12:19:51] we will need many mission specific cue cards at some point [12:19:56] like for boost and TLI [12:20:25] so far it's only the ones from Apollo 15 I think [12:20:27] a few from 14 [12:25:26] definitely still a few minor flaws, aside from 1-2 major ones which were holding up the project [12:39:46] you know, I think there is only one real issue I want to fix before realising it [12:40:13] in two cases the cards clip into the side, but that is due to our CSM cockpit geometry having flaws [12:40:21] so that can't easily be fixed [12:40:27] might be fixed in Jordan's branch [12:40:44] so all that's really left to do is cut away a part of this one mesh... [12:42:29] releasing* [12:43:33] AlexB_88, want to help me out on that? It might be very easy for you to do in Blender [12:47:19] sure I can take a look...I have to go to work in a little while so maybe tomorrow or this coming week [12:47:34] just have to also get my blender setup properly on my laptop [12:48:36] ah ok, well if Jordan is around on Discord today I might ask him, too. Should be a quick job, whoever ends up doing it [12:48:47] https://imgur.com/a/eH6pdCn [12:48:53] I think this illustrates it well [12:49:24] that's the same card, but if you use the backside with the entry timeline then you would fold down the upper part [12:49:36] or otherwise you can't see the EMS :D [12:50:12] so I would just cut off the upper part in that case, easier than trying to make a mesh and texture with that part actually folded down [12:53:11] Jordan (and maybe you too) had the cards in the CM VC in blender and then cut out that part. But in this case it shouldn't be necessary to go back to the VC as no repositioning is needed [12:58:33] Ill try right now to load the mesh in blender on my laptop [12:58:51] hoping my RAM doesnt cath on fire :D [12:58:58] catch* [12:59:21] well that's the good thing with not needing to load the VC haha [12:59:29] ah right [12:59:39] PRE-ENTRY_ATTITUDE_TIMELINE [12:59:42] is the file [12:59:45] mesh and texture [13:03:31] whats your branch called againÉ [13:03:37] ?* [13:03:58] CueCards [13:05:32] yep [13:09:36] is there click spots to activate the cue cards yet? [13:10:15] yep [13:10:18] many of them :D [13:10:23] it's the velcro spots [13:10:26] not all of them do something [13:10:29] but many [13:10:32] ohhh [13:10:41] I am dumb [13:10:48] you cycle through them [13:10:54] I merged but forgot to build in VS :D [13:10:56] including not showing them [13:10:58] aaaah [13:11:06] welcome back to NASSP development :D [13:11:16] I was clicking those velcros like crazy haha [13:11:27] careful, or they catch fire [13:17:10] just trying it now, very cool [13:20:40] ok enough fun I will load it in Blender now [13:24:01] indy91, like this? https://capture.dropbox.com/v6VTWs7mvqoNtUbO [13:26:19] yep, that looks good! [13:31:54] great [13:31:58] indy91, https://www.dropbox.com/s/6kpqrwqw0559snh/PRE-ENTRY_ATTITUDE_TIMELINE.msh?dl=0 [13:34:02] ah interesting, it works without changing the texture [13:34:23] I wanted to see how it looks with just the mesh change, expecting something weird :D [13:34:52] indy91, I can remove that extra Apollo 12 scenerio, but check with Ryan before mergeing. [13:34:54] yeah the texture coordinates are the same [13:35:38] ok, I guess we can keep it that way. Makes the texture file a bit larger than it needs to, but no problem [13:35:44] btw the card clips a bit of the pitch rate needles on the FDAI, is that normal? [13:35:52] hmm [13:36:37] some cards could use some fine tuning of positions I guess [13:37:01] also, I was doubt the size of them, too, but partially it's the VC not having the exact right dimensions I think [13:37:16] you made the LM mesh from scratch, but the CSM still has some flaws in that way I believe [13:38:01] right, the CM VC is really just molded from the 2D panel [13:38:03] with this specific card, I can't put it further right or else the event timer gets overlap [13:38:07] the main panel [13:38:14] yeah [13:38:20] but I will move it 0.5cm or so up [13:38:40] I had a system for that without Blender [13:38:48] in a mathematical way haha [13:39:16] yeah I guess its a little challenging with the tilted panel [13:40:00] yep, that's the math part. I have a slope equation for it :D [13:40:06] and then you get to the side panels in the CM, tilted in more then one axis :D [13:40:18] that was a nightmare fore the switch axis [13:40:21] riiight, haven't dealt with that yet [13:40:33] no cue cards other than on the CSM main panel [13:40:40] n7275, thanks! [13:41:03] I still have a plan to eventually make the VC switch behavior same as 2D panel [13:41:57] with quadrilateral click areas [13:42:29] easier said then done though :D [13:42:42] yeah [13:47:06] I wonder how they did it with SSU [13:49:45] in a much more disciplined & organized way than I did :D [13:50:57] I think that applies to many things with NASSP vs SSU [13:51:30] but then in their philosophy they rather didn't implement import features at all than in a suboptimal way [13:52:21] hmm, now the pitch rate needle being not visible starts bothering me, too :D [13:52:54] oh [13:53:01] should I pull out the scissors again? [13:53:14] the front side of this cue card doesn't have velcro spots [13:53:21] there are a few cards like that actually [13:53:30] I am not sure they could actually attach these then [13:54:02] so you could only attach the back side so that you can look at the front side [13:54:38] the backside might just be something that was "handheld"? [13:54:52] it was the same with TLI and LOI go/no go limits [13:55:00] with those I ended up excluding them [13:55:42] right [13:56:16] I think that makes sense [13:56:19] I guess in space these cards float [13:56:47] so while you can't attach them you could review the graph before velcroing them?! [13:57:34] so [13:57:39] probably [13:57:52] I am taking out my scissors and cutting this card entirely [13:57:59] but now I am seeing something terrible [13:58:07] with the front side of this card [13:58:25] there is a one pixel outline around the transparent, top left part [13:58:35] didn't see that before [14:02:04] I am telling you, 80% of the work in this branch has been on tiny things like this [14:02:38] I worked a bunch on the code, but that took in the end not a lot of time [14:08:52] what decides of a part of a texture isn't shown. Is that a texture color or... [14:09:00] some setting in the mesh? [14:09:45] if* [14:46:50] hmm for the panel and VC textures we use oapiSetSurfaceColourKey to set the transparency color [14:46:58] is that what you mean? [14:47:08] I think it might be a problem with this one texture [14:47:30] I am reading something about "alpha channel" for dds files [14:48:09] this transparent area in the texture seems to not include the very outer edge of it [14:48:27] so there is a tiny, like one pixel, part around it that is not transparent [14:50:03] only with this ENTRY.dds [16:03:18] cya! [16:32:32] indy91, extra scenerio has been removed [16:36:53] great [16:53:05] n7275, oh wow, Github now detects the file having moved. That's awesom [16:53:18] e [16:56:31] I used "git rm" to delete it. not sure if that's part of why [16:58:05] hmm, not sure [21:06:03] night! [11:48:47] hi Alex [11:51:03] hey [14:28:49] hey [14:32:32] hey Niklas [16:30:45] I'm doing lots of reading about Saturn V launch targeting to the Moon :D [16:30:54] not sure anything will come from it though [16:35:17] I think the very first part of this would be a tool to calculate the lighting conditions at a specified landing site [16:35:56] because that is what drove the monthly launch window, there is really only 2 maybe 3 days in a month where the lighting is right [18:09:02] maybe some sort of sun angle search for a given landing site [18:10:04] yeah [18:10:08] probably an input interval [11:34:35] good morning [13:13:32] hey [13:38:32] I have 3 projects that I'm trying to determine if I should work on now...or wait until we can merge the other ones. [13:43:10] although if I count fixing CSM valve sizes that's 4, but I should probably work on that first [14:55:37] looking forward to see more realistic CM press to 5.7 duration [14:55:50] anyways off to work! cya [15:01:01] hey [15:27:18] hey Nik [15:27:48] Ryan is confused about the pull request :D [15:27:51] see Discord [15:53:24] there is definitely a better way to do these long-running testing branches in the future [16:11:15] and hopefully avoid doing complicated commit reshuffling twice :D [16:20:13] exactly ;) [18:49:08] I think I'm going to add to my old update scripts so that there is just one single update scripts for old scenerios [18:49:24] I'll make it work by version number [18:49:44] that sounds reasonable [18:56:50] there will be a lot of overlap in code [18:57:53] now I need to come up with a temperature(pressure) function [18:58:31] , and tank quantity.... [18:59:35] maybe I can just use the values from the documentation, if I did my job right those should work [19:00:47] I have a small PR up, fixing an RTCC MFD input for the Skylab rendezvous profile that MaxQ currently wants to try [19:01:16] and fixing a build warning I introduced with our AOS/LOS update :D [19:01:22] can't have that [19:03:41] "use the values from the documentation" always the best feeling when that just works out on its own because past you did a good job :D [19:22:47] one sec [19:23:52] approved [19:24:23] great, thanks! [20:42:21] so much for single digit pull requests... [20:44:06] I see liquid density twice now :D [20:45:49] the new PR seems quite small and managable [20:46:15] "Update Mission scenarios" nevermind, will be many files :D [21:04:37] you'll remember the last one was similar :) [21:05:19] haha [21:24:57] good night! [15:06:17] hey [15:08:39] hey [15:39:40] I'm looking at the RTCC TLI first guess logic [15:39:58] coming up with first guesses of a TLI before starting to numerically integrate [15:40:09] there is full FORTRAN code actually :D [15:40:38] and then I get annoyed by knowing that there is a Change 1 to the document, but the NTRS version doesn't have that... [15:44:07] I can add that to my ever growing list of things to transcribe [15:45:56] still, the list is not long enough [15:46:07] it would be great to have a lot more actual code [15:46:14] instead of faulty flowcharts [15:52:23] there is a separate MSC memo testing those calculations [15:52:35] seems like in the 60s they didn't have good RNG yet [15:53:05] they just asked 14 people to come up with random input numbers for testing :D [16:08:02] In a previous job I bought "laboratory dice" for a DOE project we were working on. [16:13:38] mostly for fun though