[15:01:26] NASSP Logging has been started by n7275 [15:01:28] good morning! [15:14:15] hey [15:33:48] Orbiter Sound 5.0 is so annoying [15:34:04] it always opens some utility when you type outside of Orbiter [16:27:10] odd [16:27:24] I've never had that happen [16:29:49] it seems to recognize some key combination I am doing [16:29:56] when I am not tabbed into Orbiter [16:32:19] ctrl+shift+s ? [16:32:46] hmm [16:32:54] maybe I am accidentally doing that [16:33:14] I am doing CTRL+S very often in Visual Studio [16:36:21] yeah, I usually dont have orbiter open when I'm working in VS, so probably why I haven't seen it [16:36:56] it probably isnt paying attention to window focus which is annoying [16:37:29] yeah, the sounds are also playing when you are not looking at Orbiter, but I think that was the case with the old Orbiter Sound already [16:39:48] supposedly there is a setting for that [16:40:38] in the Sound Config? [16:41:01] advanced_congfig.cfg or advanced_sound_config.cfg or something like that [16:41:28] aha! [16:41:38] Editable_Advanced_Configuration [16:42:00] "default false" [16:42:04] now that's a lie :D [16:42:11] thanks for the tip [16:42:11] lol [16:44:19] or I did another weird keyboard combination to enable it haha [16:49:39] morning! [16:49:51] I'll check on mine later when I'm home. I'm curious. [16:49:58] morning mike! [16:51:16] trying a different strategy on 045? [16:51:43] nah, was just updating the tickets last night to reflect the current strategy [16:52:01] I need to make a nice cleaned up version of 044 before I try to get more people helping on 045 [16:54:59] hey [16:56:25] hey alex [16:56:49] ahh, okay [17:01:26] does anyone know off the top of their head if the logging functionality in SPSDK gets enabled by debug mode? [17:02:33] hey Mike and Alex [17:03:49] what logging functionality? [17:07:34] I probably misread something [17:07:37] ProjectApollo PanelSDK.log [17:07:38] ? [17:07:54] I think it gets enabled in debug mode [17:07:57] #ifdef _DEBUG [17:08:03] yeah [17:08:07] but I don't think it does real-time debugging [17:08:23] just when building the systems [17:08:32] ooooooh [17:08:57] FILE *debug; [17:09:13] that's where it puts any error messages, but I think it is only used in BUILD.CPP [17:09:30] I'll just fstream out some stuff then [17:10:32] need to make some temperature graphs [17:11:36] so I can make sure I'm not sending you guys any more bugs [17:13:07] yeah, same reason why I have to fly about 10 TLIs in the next few days... [17:13:38] or I could fix up all the launch scenarios and the code, fly 1 TLI and then outsource the work to Alex [17:14:27] theres a solution :) [17:15:51] I "fixed" the radiator class. miraculously, without breaking it probably [17:16:04] but I want to make damn sure [17:16:14] what did you fix? [17:16:34] it now knows about air and convective heat transfer [17:16:44] oh awesome [17:16:59] that is one big source of issues we had in the LM ECS [17:17:13] no more SetTemp functions needed [17:17:33] music to my ears, and to Ryan's as well [17:18:18] haven't tried with apollo 5 yet, but I will this weekend [17:18:47] Apollo 5 easily breaks, hopefully I didn't recently haha [17:19:16] on Apollo 5 I got mostly annoyed that the LM was heating up a lot before launch [17:20:28] the bath of GetAtmTemp() K air that its sitting in should hopefully fix that [17:22:21] nice :D [17:23:28] what I'm most worried about breaking is all the antennas and other things that aren't radiators per se, but that have an associated "radiator" class [17:23:58] rcs quads, etc [17:24:27] we have a fun feature, if the RCS quads get too cold they stop working [17:25:16] good way to test them, lol [17:25:51] right now it can really only happen if you disable the heaters and point the quad away from the sun for about 20 hours :D [17:38:55] ahh. well they probably wont get that cold sitting outside at whatever temperature orbiter thinks Florida is in July (25°C, lol) [17:42:40] yeah, sitting at the cape results in the opposite problem [19:47:59] man [19:48:10] I wonder if Comanche 45 is going to be obvious once we figure it out [19:48:17] or if it will be something completely arcane [20:03:20] yeah [20:03:27] I'll try a bit more in a bit [20:04:10] I realized something else last night [20:04:41] S40.1 and S40.1B are totally separate -- so in addition to moving the end of S40.1B+THETACON, we could also possibly move the end of S40.1 or the beginning of S40.1B [20:07:31] I think I tried the end of S40.1 [20:07:37] not the beginning os B [20:07:39] of* [20:08:10] one thing that got me "fairly" small errors was just moving THETACON to bank 17 [20:08:18] but small as in [20:08:26] bank 16 in the 1000s, 17 in the 100s or so [20:08:42] wait [20:08:46] that doesn't make sense [20:09:07] when did I get that... [20:09:51] well it probably wasn't any good anyway, can't remember what I did. But it was mostly moving THETACON [20:15:00] and about the 5 words, I guess there are a bunch of ways to make it 5 only [20:15:11] but in any case they would have to go out of their way to get that [20:15:17] and it's not like they were short [20:15:41] on memory [20:18:10] yeah [20:18:43] so probably the answer is a fairly natural way to get 5 words [20:18:46] and not a tricky one [20:19:18] I'll just assume for now that they put the three new words in the same location as it is later on [20:19:44] reduces the problem by one magnitude of variations :D [20:19:56] I think given the comments that are there I think that is the best assumption [20:20:10] because there wouldn't be any reason for them to talk about a module change in comments after rev 45 [20:20:30] what I next wanted to try (will in a bit) it to just have the jump someone in S40.1 where it is convenient [20:20:36] not right after the three new words [20:20:45] somewhere* [20:20:47] also I have been getting more and more annoyed about that DMPR change lol [20:21:04] such a silly little change, and it wiped out the asterisks that would have let us easily pinpoint this more complicated one [20:21:11] haha [20:21:20] well it's a good change if it makes you feel better [20:21:23] good for LOI-1 [20:21:26] precisio [20:21:27] n [20:21:37] not really :P [20:22:01] I'd rather be able to better reconstruct buggy software than be unable to figure out better ones lol [20:22:55] 3 ft/s error in velocity-to-be-gained for LOI-1 [20:23:30] in "pitch" basically [20:23:46] so the orbit just gets rotated a bit too much or too little [20:23:56] probably not that noticable on Apollo 8 yet [20:24:03] but probably on 10 with the LM [20:36:28] just imagine if we only had Comanche 44/45 and I had to work out docked LOI-1 burns in the RTCC with that [20:36:40] that error would have confused me [20:36:59] so for me the DMPR change is good :D [20:37:01] hehehe [20:37:19] I just wish it had been done prior to Apollo 10 :P [20:37:32] oh I can agree with that [20:38:40] guess nobody ever did the math of the central angle calculation by hand as a cross check [20:38:46] at least not before the anomaly was found [21:27:21] so we basically have to find places where adding a goto only adds one word [21:27:24] and that twice [21:27:29] if the 5 words are correct [21:27:52] already tried one, almost at the end of S40.1, but didn't work [21:35:12] if we jump there and back then yeah [21:35:30] or there's a way to jump only to bank 17 and then off to bank 24 or whatever without going back [21:35:35] right [21:35:40] there are some goto's [21:39:18] or there's some other obvious way to do this [21:39:38] don't let my ideas fully dictate whatever you want to try :D [21:40:08] I consider my lack of experience in this an advantage :D [21:40:15] haha yes absolutely [21:40:29] one more thing that I have been thinking is that the 22500 bank difference in bank 17 is a suspiciously round number [21:40:39] those 2 trailing zeroes may not be a coincidence [21:40:42] ...but they might be [21:41:53] what would that indicate though [21:42:30] no idea :D [21:56:17] does Norton use a listing for his document? [21:56:48] so how sure are we really that the three new lines didn't move after 45 [21:59:44] yes, he uses a listing [22:00:05] and without seeing the unrevised page for 45 there's no way to be 100% sure [22:00:11] but did he ever use a 45 listing... [22:00:12] but he's usually pretty good about marking moves like that [22:00:21] almost certainly yes [22:00:39] I don't think he could have made this without one [22:00:46] well [22:01:03] he may have never used a 45 listing, but he definitely used 45 rev 2 [22:01:33] and 45 rev 2 would still have the fix as in 45 [22:03:36] yeah [22:03:53] that's one thing I'm going to do tonight, make sure that the 45R2 changes are identical to 51->55 [22:38:20] well, tried a bunch of things, but no luck [22:38:37] back to 10666 and 22500 and try again another day [22:39:19] night! [16:09:35] good morning [16:12:48] hey Alex [16:15:43] about to fly Apollo 8 TLI again with my latest round of fixes [16:16:01] if you want you can help and fly some launches and TLIs soon, there is a lot of missions to test [16:29:27] sure [16:32:57] just want to fly Apollo 8 and 9 to the end of all their attitude maneuvers [16:33:11] then just some small fixes to all launch scenarios [16:33:20] and it will be ready to go for some testing [16:37:45] great [16:39:13] I had a lot of trouble combining what I know about the attitude maneuvers from the little sources we have and how to implement that [16:39:56] Apollo 14 LVOT for examples has the time to maneuver to TD&E attitude (TB7+900 seconds) in the Events Processor module of the LVDC [16:40:08] events processor is great to schedule things on time [16:40:19] but they had the capability to inhibit and delay that maneuver [16:40:32] and the events processor is not good at making things happen at variable times [16:41:38] and that also didn't work well with Apollo 9. The maneuver to TD&E attitude is done on a time since GRR, not timebase 5 [16:42:19] so I am kind of using a hybrid solution, some special code in orbital guidance that sets up events in the events processor [16:42:25] no idea how they actually solved this [16:43:26] but TB5 and TB7 maneuvers can now in theory be inhibited and rescheduled, just like in reality [16:43:47] useful for the case of TLI not happening and doing TD&E in Earth orbit [18:11:06] morning! [18:30:27] hey Mike [18:32:11] I realized yesterday looking at the gravity model module change that if we jump to bank 17 with CALL or STCALL, we can get back with just RVQ, which is either 1 or 0.5 words [18:32:21] which makes the 5 word requirement a bit easier to hit [18:33:10] interesting [18:33:38] if it's a call then bank 17 might as well have the DELVSAB calculation [18:33:54] plus extras [18:35:02] well the additional stuff that needs to be moved would make it not very clean, so maybe it's just some part of S40.1 or S40.1B that is put in a subroutine [18:41:54] does STORE save the return location? But in any case you probably have to be careful to not put a subroutine in a subroutine or otherwise mess up the return location [18:42:00] uhh [18:42:06] I meant CALL/STCALL [18:42:21] yeah [18:43:41] it also can't be the the chunk with the "STQ" in it because the CALL would stop that from working too haha [18:44:35] right, that's to make nested routines working [18:45:38] with CALL it wouldn't make sense to move the end of S40.1 or S40.1B, because that already has a goto [18:47:50] it could be a STCALL instead of the STORE DELVSAB for example [18:48:19] yep [18:50:30] and then move the next 4 lines and make it STORE RVQ, VINIT [18:50:43] guess there are a few variations like that [18:52:32] at least that would be a solution that adds 5 words naturally [18:52:39] and not trying really hard to make it only 5 [18:53:54] yeah for sure [18:54:42] makes more sense to me than the GOTO solutions [18:55:39] I'm going to be mad if it's not actually 5 words lol [18:55:56] do we know that we have the right number of words in 44? [18:55:59] nope [18:56:07] fun [18:56:20] the banksums are right, which means "probably" [18:56:45] I'd trust Comanche 44 [18:56:49] but I did have to do that weird thing to LDPLANET [18:56:53] except for maneuvers :D [18:57:00] hehehe [18:57:11] but it should at least have no problems working right [18:57:42] even with the LDPLANET solution [18:58:33] yeah it should work fine [18:59:16] getting confused with versions again, when was LDPLANET added? [18:59:44] and when did it have a fix applied to it or whatever [19:00:59] it was added between C249 and C44, and presumably changed between C44 and C51 [19:02:26] right [19:03:05] in any case, I don't think they even used an input star vector for P23 on Apollo 10 [19:03:55] although I haven't seen the full loss-of-comm P23 schedules [19:09:21] that feature was new on Apollo 10 [19:09:36] that's why it doesn't appear in the Apollo 8 checklists :D [19:09:43] haha yep [19:09:49] PCR 682 [19:12:18] bye bye S-IVB-503 [19:12:30] all you have left to do is one more attitude maneuver and I am happy with you [19:14:52] although they tend to call it 503N. Not sure what the N means [19:15:18] oh [19:15:27] there was a 503 that was destroyed during testing [19:15:37] and then there were 503N, 504N, 505N [19:15:44] and then 506 etc. for the rest of the S-IVBs [19:16:37] "Following the loss of the S-IVB-503 stage during testing on January 20, NASA officials amended identification numbers of subsequent S-IVB stages to fill the vacancy created. The S-IVB-504 became the S-IVB-503N, S-IVB-505 became S-IVB-504N, and S-IVB-506 became S-IVB-505N. A replacement stage using an old S-IVB-507 tankage became S-IVB-506, and S-IVB-507 and subsequent stages retained the old identification. (The "N" [19:16:38] at the end of the stage identification stands for the word "New," a designation that became necessary after an earlier stage version exploded, necessitating the use of a substitute stage.)" [19:33:57] hahahaha [19:34:01] not confusing at all [19:38:16] speaking of confusing, the attitude maneuver I was anticipating was barely noticable [19:38:33] "Due to the initial alignment of the vehicle at the start of this [19:38:34] maneuver, less than a 2-deqree change in pitch attitude was required" [19:38:46] got me concerned for a moment :D [19:39:25] hahaha [20:14:50] Hey [20:14:56] yo [20:15:12] What's up? [20:15:54] cleaning up Comanceh 44, you? [20:16:19] Trying to get my Xilinx programmer working [20:16:49] Drivers won't compile, and documentation is pretty much non existant [20:18:14] compile? I'm used to getting binary blobs haha [20:18:18] what programmer? [20:19:03] platform cable USB II [20:19:14] DLC9LP [20:19:37] hey Thymo [20:19:49] hmm, haven't used that one [20:19:52] These drivers are shipped with the Xilinx ISE [20:20:03] oh jeez, ISE [20:20:07] Yes [20:20:13] I have never had any experiences remotely positive with ISE lol [20:20:37] I have never had a positive experience with ANY proprietary vendor IDE [20:21:15] Vivado isn't bad [20:21:24] definitely a huge step up over ISE [20:23:34] Too bad this is the only supported way to get this adapter updated. They just ship an ISE project for you to flash the update with [20:23:53] Boy am I glad the update implements a self-update capability [20:24:12] Heh [20:24:18] I think I got it [20:24:26] Used an opensource alternative based on libusb [20:24:41] At least it doesn't complain about windrvr6 not being loaded [20:32:30] It sees the programmer now. Had to unbind the ftdi drivers from the programmer [20:32:53] It complains about an idcode in a bsdl file though, no idea what that means [20:33:33] me neither [21:08:25] Firmware isn't loading as the device shows up as a different id as the supplied udev rules [22:07:15] I have now spent almost the entire day tuning EPS radiator temperature performance...its getting closer maybe one more day [22:08:51] haha nice! [22:15:59] awesome [22:16:04] good night! [23:36:08] thewonderidiot: Is Vivado backwards compatible with iMPACT at all? [23:36:27] As in, will it read the project files? [23:36:28] unfortunately I don't know what iMPACT is, so I can't answer [23:36:56] Part of ISE [04:12:33] alright, well I've confirmed that the comanche 51 -> 55 changes, when applied to comanche 44, make the module B2 checksums exactly match 45 rev 2 [04:12:39] so it really is just this one anomaly fix [04:19:35] Awesome news, Mike. [05:16:39] .tell indy91 hey, do you know what this was for https://github.com/n7275/NASSP/blame/425e30f22e710cb004ec03ff85dfc4c35a3fb34c/Orbitersdk/samples/ProjectApollo/src_sys/PanelSDK/Internals/Thermal.cpp#L40 [06:33:12] lol I just had a brief moment of "wait I'm a software engineer, why am I manually brute forcing this" [06:33:34] gonna try to write a script that looks at all possible groups of 4 words with an RVQ following to see if any have the correct sum by themselves... [08:04:15] no hits :D [08:04:19] so that's not it lol [09:08:35] worth a try though [09:12:32] n7275, that's for stability reasons. Hopefully never happens, but if it wants to remove more energy from a thermal object than it has, it is only allowed to remove 10% of the energy. [09:13:41] not a good way of doing things, but as you said before, doing thing one timestep at a time (so like an Euler scheme) causes some problems with mass and energy flow [09:13:51] things* [09:14:06] ahh, makes sense. [09:14:22] at least we are not getting NaN anymore [09:14:40] we've had a lot of trouble with that in the LM ECS [09:16:24] with any luck I won't need to dig into anything LEM related during this fuel cell project [09:17:14] but you are changing how radiators work, right? [09:17:21] That of course affects the LM as well [09:19:53] correct [09:23:17] all I'd really added was a line to warm radiators up to ambient air temperature at ~20W/(m^2K), linearly proportional to density so NRLMSISE-90 doesn't cook it [09:23:49] ah ok [09:24:00] what does that do in space? [09:25:34] in lunar orbit/cislunar space there's (double)0.0 heat transfer from convection [09:26:04] that tells me it won't break anything and might just help out Apollo 5, great [09:27:29] on the LM side of things [09:30:09] hmm, did we lose the Apollo 5 -1hr scenerio? I don't have it in my branch [09:30:53] that's with the WIP scenarios [09:31:06] where we also have Apollo 12-17 [09:31:19] I swear I can read... [09:31:55] I wont admit how long I'v been looking for that, lol [09:32:06] oh no, haha [09:32:14] "The scenario starts on the pad at T-1min40s." well that's a lie [09:37:03] that's from the scenario description, probably was never changed from our very old previous Apollo 5 scenario [09:42:33] I seem to remember an Apollo 5 incarnation from the early 7.0 days [09:43:02] this one's way more fun [09:46:28] speeking of old code: this thing still drives https://drive.google.com/open?id=1EIEkyGCW8jam8pmF4V7V6dYy38RCtEOL [09:47:42] yeah, you can move the Saturn V from the VAB to the pad [09:47:59] still worked when I last did a round of fixes for it [09:48:27] SSU has a better crawler though [09:48:40] oh that's cool [09:49:01] could have to do with the fact that about 0 work has been done on our crawler in the last 15 years [09:49:18] maybe, lol [09:51:29] I'm sure we'll get there, I'm not in a huge hurry to add these radiators to it yet though :D [09:51:49] haha [09:52:16] the only other vehicles we have that use the systems SDK are the S-IVB and the LRV [09:52:28] S-IVB has a single battery right now, not used for anything [09:52:56] the IU has an ECS as well, maybe some day we can simulate it [09:57:14] less things to worry about breaking right now and a good opportunity to fix any issues we have with the SDK before we do add them [09:57:45] yeah, definitely [11:36:40] uh oh [11:55:48] .tell n7275 just tried to launch Apollo 9, my fuel cells shut down after their temperature wasn't artificially kept up anymore [12:35:36] oh that's bad [12:35:45] hmm [12:35:56] just tried a fix, but I am no longer convinced that is the case [12:36:01] power is definitely lost [12:36:07] and then the crew dies, overheating maybe [12:36:30] happens at about T-30 minutes [12:36:44] I used the Apollo 9 MCC scenario if you want to test [12:37:05] and I just had merged your latest update, so I am quite sure it's caused by that [12:37:36] what I thought it was at first was this: this->systemsState < SATSYSTEMS_GSECONNECTED_1 [12:37:44] for the FC temps [12:38:06] that stops at T-1h40m I think, while GSE power isn't stopped until T-15 minutes [12:38:24] strange that It didn't happen on the apollo 8 scenario [12:38:38] I'll test the others [12:38:39] maybe temperature related? Different lighting? Not sure [12:38:47] try Apollo 9, works reliably [12:39:16] a lot of meters are doing weird things, but I think that is a separate bug for when power is lost [12:39:55] FUELCELL1 0 0.0000000004 475.0000 0.0000 0.0000000005 [12:39:56] FUELCELL2 0 0.0056666612 475.0000 0.0000 0.0074956237 [12:39:56] FUELCELL3 0 0.0000000004 475.0000 0.0000 0.0000000005 [12:40:02] I think this looks normal [12:40:59] definitely running, status is 0 [12:41:30] batteries weren't used [12:43:16] hmmm [12:43:26] I am using auto checklist execution [12:43:36] I wonder if the checklist is bad [12:43:50] but I'm sure we would have noticed before [12:44:11] and can you even disable GSE power... [12:52:04] very strange [12:58:05] I'm getting NaN voltage from the fuel cells [12:59:15] maybe that's the issue [13:02:25] oooh [13:02:31] might have found something [13:02:38] 0 power load might be bad for the FCs [13:02:51] reactant = dt * max_power * thrust / 2880.0 * 0.2894 ; [13:03:01] reaction = (H2_flow + O2_flow) / reactant; [13:03:09] divide by 0 maybe? [13:05:08] yep, that's it [13:06:07] reaction becomes NaN [13:06:13] because reactant is 0 [13:07:43] I'll put in a temporary fix, you can revisit it properly [13:07:49] that would make sense [13:09:02] basically the solution we had before with the 160W to keep it running [13:09:29] yep [13:10:11] but 1W is enough [13:10:16] just has to not be divide by 0 [13:10:36] and was your intention to keep the FC temps up until GSE power is disabled? [13:10:55] because I think you stopped the SetTemp one systemsState too early [13:12:34] although I will test that [13:37:53] n7275, still here? [13:47:35] yeah [13:48:16] maybe just keep settemp on a little longer then [13:50:16] I'm genuinely confused about how I made it so far in apollo 8 [13:50:47] probably the lighting, like you said, I guess [14:05:11] actually, I discovered something else [14:05:18] sorry, was away for lunch [14:05:39] the way systemsState is progressing is a bit weird [14:05:53] scdp = (atm.SuitReturnPressurePSI - atm.CabinPressurePSI) * (INH2O / PSI); [14:05:54] if ((scdp > 0.0 && MissionTime - lastSystemsMissionTime >= 50) || MissionTime >= -900) { // Suit Cabin delta p is equalized [14:06:03] that just never happens [14:06:33] suit/cabin DP for me is -28.9 or so, but that is a bit of a weird unit [14:06:42] well that's odd [14:06:55] so it doesn't progress at the time I was expecting [14:07:04] but as you can see there, at T-900 seconds it forces it to progress [14:07:20] so the SetTemp didn't cause any problem [14:07:31] as it was still doing its thing until T-900 seconds anyway [14:08:05] but that might all be as we had it before. Probably should be revisited some time, but not causing bugs [14:09:43] but with the FC bug, there has to be some weird condition that becomes true at about T-30 minutes that it even checks the fuel cell voltage [14:10:11] I seem to have a fuel cell powerload at T-1 hour which I find weird [14:11:30] main bus controllers have a NWayPowerMerge [14:11:48] which splits up the power load based on voltage [14:11:53] higher voltage, higher power load [14:16:20] is that correct though? Should the fuel cells have any relevant power load before T-15 minutes? [14:17:46] anyway, I pushed the temporary fix [14:18:01] hopefully prevents people complaining about the crew dying :D [14:21:46] yeah, glad you found it, rather than some new user. [14:23:16] yeah. Oh, and when I start the Apollo 9 MCC scenario I immediately had the issue for fuel cells 1 and 3 as they were on the main bus that drew the most power [14:23:32] needle on the DC meter was gone due to NaN [14:23:51] but it wasn't immediately causing bigger issues [14:23:55] might be random [14:24:05] maybe you got lucky on Apollo 8 [14:26:36] I'll probably enlist some help testing the next update. [14:27:30] yeah, I would have tested them more as well, but I was so deep into this LVDC update [17:03:44] morning! [17:19:26] hey [17:19:33] what's up? [17:20:40] fixing bugs, flying a bit of Apollo 9 [17:21:02] I thought of automating the solution for Comanche 45, but it seems quite difficult [17:21:22] what might be possible is to get bank 17 close to right [17:21:43] there are still variations like, THETACON moved to bank 17 or not [17:22:58] yeah [17:25:28] I'm double checking my rope counting, and it might possibly be wrong [17:25:45] my count doesn't match that in the Artemis listing, and I'm not sure why yet [17:26:36] you mean the number of words? [17:26:46] yeah [17:27:39] I guess we should consider options without +5 words then as well [17:27:59] heh yeah, for now, until I figure out what is counting wrong :D [17:29:56] there are some fairly clean solutions with a different number, I'll try some this evening [17:30:29] I'm not counting bugger words right... hmmm [17:34:13] hey [17:35:08] hey Alex [17:35:12] https://github.com/indy91/NASSP/tree/SaturnVLVDCUpdate [17:35:31] feel free to fly some Apollo 12-17 launches and TLIs [17:37:21] I'm taking care of 8-11 [17:44:35] ah great [17:44:54] Ill fly some today then [17:45:03] hmmmm [17:45:16] this report is wrong about Luminary 99 and Luminary 116 [17:45:22] and those we can be pretty confident in [17:45:31] since I'm not calculating the number myself :P [17:53:01] also I really don't know where Artemis is going wrong [17:53:05] is this another GAP bug... [18:46:53] okay so I'm going to say "probably 5, but take that with a grain of salt", lol [18:51:21] haha [19:07:11] indy91, very smooth [19:07:27] that was the point :D [19:07:30] at least initially [19:07:38] flying Apollo 16 launch [19:07:41] before it became a huge restructuring [19:07:51] although the restructuring helped [19:08:05] I used my T-60s scenario I already had [19:08:11] seems to work fine [19:08:14] so far [19:08:26] yeah they are mostly fine [19:08:57] I renamed some variables for orbital maneuvers, but I think it defaults to something good for the later missions [19:09:37] ah that only affects TB7 maneuvers [19:09:44] insertion: 92.6x92.9 [19:09:55] this morning I wanted to fix old scenarios and noticed that I didn't need to do anything [19:10:33] so basically all old scenarios before GRR are fine [19:10:40] yeah, except Apollo 8 and 9 [19:10:43] right [19:12:26] btw I am up to adding switches on side panels (4-9) [19:12:53] the switch axis for those panels is what I need to figure out [19:23:51] ah yeah, that's a bit tricky [19:43:41] TLI done [19:44:13] I used RTCC MFD to check the trajectory, using MCC-2 TIG of 30 hours, it will be 7.6 fps [19:45:02] slightly more maybe then it used to be but I think that is with now SV update in earth orbit now [19:45:09] no* [19:46:23] yep [19:46:27] that's probably the cause [19:46:46] can you also check yaw maneuver and TB start? [19:47:11] TB8* [19:49:07] flight plan has the times [19:49:17] S-IVB APS evasive burn is right when TB8 starts [19:56:28] I have to start those with the PAMFD still, right? [19:56:34] yes [19:56:36] ok [19:56:45] MCC can do it as well, but that doesn't help you much on 16 [19:59:18] and both of the commands have to be done on time [19:59:53] I think on earlier missions they could uplink the TB8 start signal and it then happened later at a nominal time [20:00:34] but normally that starts TB8 when the signal is sent [20:01:08] there is one condition that I haven't implemented yet that the TB8 start command has to be at least 480 seconds after the evasive maneuver command [20:01:29] don't want the APS ullage thrusters to start firing while the CSM/LM is still in the way :D [20:12:31] hmm [20:12:54] is the yaw maneuver "Evasive Maneuver Enable"? [20:18:28] indy91, it keeps saying "Uplink rejected" [20:19:51] hmm [20:20:12] I did it at the correct time, 4:12:20 [20:20:22] and source AS-511-S4BSTG [20:20:37] yeah, there would be a different message if the vessel was wrong [20:21:06] close the scenario, I want some parameters from it [20:21:37] search for [20:21:38] IUCOMMANDSYSTEMENABLE [20:21:39] 0 or 1? [20:22:02] and then I want LVDC_ModeCode27 [20:22:10] IUCOMMANDSYSTEMENABLE 0 [20:22:25] LVDC_ModeCode27 16496 [20:22:31] oh, 0 is bad [20:22:38] I did delete TB5a which enables it [20:22:53] but I must not have added it to the flight sequence program file [20:23:07] make that a 1 and it will work I think [20:23:15] but that should happen automatically [20:24:32] works [20:24:49] hmm [20:24:57] 1200.4,0,82 [20:25:03] that is what enables it [20:25:05] it's in there [20:25:47] do you still have a lvlog for about TB7+1200 seconds? [20:25:53] probably not [20:25:58] just deleted it I guess [20:26:05] yeah [20:26:10] TB8 works [20:26:55] well, I saved/reloaded in LEO so it was probably already lost anyway [20:27:31] nah, TB7 starts at TLI cutoff [20:27:41] ohh TB7, right [20:28:05] 1200 seconds is when the maneuver to TD&E attitude is completed at the latest [20:28:38] oh, I think I saved right after TLI cutoff [20:28:44] ah that is useful [20:28:51] I'd like to check that scenario [20:28:54] ok [20:29:01] and see why it doesn't enable the command system [20:29:52] has to be a switch selector routine bug which is bad [20:31:31] https://www.dropbox.com/s/622jhx48xt1o5dm/Apollo%2016%20-%20Post%20TLI%20cutoff.scn?dl=0 [20:32:14] thanks! [20:33:34] np [20:36:47] already found an unrelated bug [20:37:00] I guess it maneuvered at TB7+20 seconds to local horizontal [20:37:14] but that is wrong for these later missions, it stays in attitude for more than 2 minutes [20:37:32] so in this scenario it already did the maneuver (wrong) but accelerometers are still running (correct) [20:38:07] btw, is it still bad to save during powered flight? [20:41:24] looks ok, but I would still advice against it in general [20:44:23] switch selector commands are definitely working in TB7 [20:47:27] there are a few it does when it starts the maneuver to TD&E attitude, they worked correctly [20:49:22] I don't think anything can disable the IU command system again [20:49:49] the only function in our code that does that is the reset bus for ground systems, I doubt that is happening [20:51:01] [TB7+1200.399999] Switch Selector command issued: Stage 0 Channel 82 [20:51:08] ????? [20:51:37] IUCOMMANDSYSTEMENABLE 1 [20:57:54] ok just to confirm a few things [20:58:11] in the Config\ProjectApollo folder [20:58:21] J-Mission Flight Sequence Program.txt [20:58:33] does it have the line [20:58:33] 1200.4,0,82 [20:58:34] ? [21:04:57] no [21:05:33] maybe you forgot to commit that file? [21:06:06] https://github.com/indy91/NASSP/blob/SaturnVLVDCUpdate/Config/ProjectApollo/J-Mission%20Flight%20Sequence%20Program.txt#L283 [21:06:23] it's there [21:07:00] but you have my branch, so how can it not be there... [21:07:45] wait, do you not have the file at all? [21:07:49] or just the line is missing [21:07:55] just the line missing [21:07:58] oh ok [21:08:03] I have your branch, yes [21:08:14] so its weird that it wouldnt be there [21:08:22] yeah, it's definitely there on Github [21:09:15] can you look at it in the file one more time? Just really making sure that is the issue... [21:09:43] I've searched wrong before :D [21:11:47] oh hahahaq [21:12:00] I was searching with direction "up" [21:12:07] theres my problem :D [21:12:14] yep, its there [21:12:22] ah, good. Well not good, there is still a bug [21:13:37] but if that works then something needs to have disabled the IU command system I would think [21:14:03] but there is nothing that can really do that [21:14:53] IUCOMMANDSYSTEMENABLE 0 was in the scenario you had just closed after the uplink didn't work, right? [21:15:15] yeah [21:30:44] AlexB_88, nice docking probe [21:30:49] not extended :D [21:32:38] I forgot the checklists at KSC :D [21:34:54] I'll send you the checklists via IU command uplink [21:34:57] oh wait [21:42:24] AlexB_88, did you save/load between TLI and the uplink not working? [21:42:33] I wonder if it could be a saving/loading issue [21:44:06] no, only in LEO [21:44:12] hmm, ok [21:47:25] did you save the scenario where you had the issue? [21:47:42] not that I want it right now [21:48:07] but maybe I come up with something useful in there [21:49:48] yeah I did [21:50:18] do you want it? [21:50:53] ah sure, I can look at a few more things [21:51:36] like where in the switch selector table it is [21:52:03] as long as it's still the scenario before TB8 was started [21:54:04] https://www.dropbox.com/s/l55yuyli43ifdyi/Apollo%2016%20tests.zip?dl=0 [21:54:18] there are 4 in there, those were all my saves during the test [21:54:26] the last one should be the one you want [21:54:45] awesome [21:54:48] it has IUCOMMANDSYSTEMENABLE 1 but only because I manually changed it [21:56:15] LVDC_SST1PTR 27 [21:56:18] this is bad [21:56:51] all the switch selector events are in one table now [21:57:02] entry 27 is at the end of TB1 roughly [21:57:12] how did that happen... [21:58:47] oh I have an idea [22:00:37] aha, I have the same [22:00:42] it just happened later probably [22:02:54] yeah it started doing the TB1 commands at some point [22:03:12] switch selector wondering where the S-IC went already [22:17:18] I found it [22:17:24] fun fact [22:17:32] unsigned integers can't have -1 [22:20:04] so there is a time base that only Apollo 8 has, TB5a [22:20:12] the sequence for that is run when the CSM separates [22:20:40] there is an index that stores where in the table the TB5a commands are stored [22:20:56] unsigned integer indizes, which I set to -1 by default [22:21:09] which doesn't exactly work, they just have the maximum positive number [22:21:16] because unsigned [22:21:29] and I am doing a check if TB5a should be run [22:21:49] if TB5a exists (loaded from flight sequence program file) then run the sequence [22:22:07] the check I used was >= 0 , which is always true for unsigned [22:22:37] so it started a sequence at "-1", which is undefined, but then it switch to index 0, start of TB1 tablr [22:22:39] table* [22:23:20] so in short, you must have done CSM separation before IU command system could be enabled [22:23:33] must have been very close [22:23:52] and then the switch selector commands got screwed up at CSM sep [22:23:58] and IU command system was never enabled [22:24:57] ah yes [22:25:06] I did CSM separation early [22:27:01] we wouldn't have found this bad bug otherwise, so it's good that you did that :D [22:31:20] btw, the FDAI attitude rate scaling in the VC seems off [22:31:27] shows a lower attitude rate than 2D panel [22:34:25] fixes are pushed [22:34:33] any scenario before CSM sep should be fine [22:35:27] night! [15:32:14] hello [15:32:58] good afternoon [15:34:34] I think I need to change my approach on the cooling side of the fuel cell project [15:35:47] why is that? [15:36:45] the Cooling class doesn't really have the right physics [15:37:22] probably not the only thing in the systems SDK that has that problem... [15:37:33] yeah... [15:38:34] the way its implimented it acts as a loop of thermally conductive elements that conduct between each other [15:40:03] the elements of course radiate and add/subtract heat, but the heat transfer is based on the difference in adjacent element temperatures [15:40:48] ah yes, I remember that [15:41:09] that is very fun in near vacuum [15:42:10] its it's a good model of the wrong physical phenomenon [15:43:32] I dont see why I couldn't switch it to work based on coolant temperature and heat transfer between coolant and the element [15:44:47] sounds reasonable [15:46:49] as far as I can tell, the Cooling class is only implimented once and it's for this, so that's a plus [15:47:49] yeah, can't break too many thing at once [15:50:13] I was hoping that the new fuel cell heat/power/voltage/current model could be a separate project but these are very closly linked [15:50:43] something always gets too cold or hot with the current model [16:06:38] yeah, especially in the CSM and LM systems simulation everything is closely linked [16:06:58] hey [16:07:17] hey Alex [16:07:23] I got the missing SM panel again [16:07:58] I could use the DX9 debug controls to learn a little bit more about it [16:08:13] the mesh is loaded [16:08:41] I don't think it's a oapiMeshVisibility gone wrong, that fully hides the mesh even in DX9 debug mode [16:09:12] but what it seems to be is that some sets the opacity of the mesh to 0 [16:09:30] I don't understand much about this all [16:09:35] meshes have materials [16:10:50] and different properties, like diffuse color component something [16:11:04] when I look at the mesh file itself I find this [16:11:04] 0.74902 0.74902 0.74902 1.0 [16:11:17] those 4 numbers are for COLOUR4 [16:11:31] red, green, blue, alpha (opacity) [16:11:49] and when I check in the DX9 debug controls then opacity is set to 0 instead of 1 [16:12:03] and I can set it to 1 there and look at that, the panel appears [16:12:14] so something is setting this value to 0 and I have no clue what [16:12:24] very randomly and irregularly of course [16:18:26] those values can be loaded from config files, right? [16:20:25] the vessel config files? [16:21:37] I think so, but I'm not positive. [16:22:27] that would be the Saturn5 config file and there hardly is anything in there [16:22:51] by default it's in the mesh file itself of course, I haven't figured out if any function in code can change it [16:23:05] and it might as well be some unsafe, unrelated code anyway [16:23:08] so hard to tell [16:24:03] it's possible it's not our code, but odd that that's the only mesh it's happening to [16:24:21] which seems to indicate that it is... [16:25:25] well unrelated to the SM panels I mean [16:25:33] some function that means to change the properties of some other mesh [16:26:02] AlexB_88, what is ProbeVis doing with oapiEditMeshGroup? [16:26:28] if that accidentally is doing its thing to the SM panel and not the probe, could that have the same effect? [16:29:42] its hiding the probes when the forward hatch is open I think [16:32:31] there really isn't much code in the CSM that manipulates meshes [16:32:42] in the LM there is some for the lights I think [16:32:48] but this happens before the LM exists [16:33:45] this started happening at around the time I implemented the SIM bay door jettison [16:33:56] but that might be a coincidence [16:34:55] and it happens rarely enough that's hard to tell when it actually started [17:31:13] Apollo 9 S-IVB did all the good things [17:31:16] on to Apollo 10 [17:34:25] morning! [17:34:32] hey [17:39:14] what's up? [17:39:38] just Apollo 10 and 11 to fly to create some new scenarios [17:39:52] and if Alex doesn't find any more bugs in the mean time, then the LVDC update is done [17:42:07] nice :D [17:48:05] or maybe I should do Apollo 11 first because there is a chance we figure out Comanche 45 soon??? [17:51:50] haha definitely a chance [17:52:16] speaking of, how does that issue look? it was kind of a brain dump [17:52:35] looks very good [18:20:59] thewonderidiot, I'm looking at the consequences of the anomaly in Comanche 44 a bit more [18:22:26] DELVSAB is overlayed with P67 and P37 variables [18:22:55] ah and it looks like also P17, TPI search [18:23:27] but I guess in most cases DELVSAB will be 0 when it gets used in P40 [18:24:32] I guess 0 is better than totally random values [18:25:30] yeah [18:25:43] if DELVSAB is 0 then the result of the calculation is also 0 [18:25:51] BURNANG [18:25:59] as the Norton manual calls it [18:26:27] that makes the burn less accurate the longer it is [18:26:43] definitely a big deal for LOI-1 [18:27:10] but the anomaly report talks about huge angles [18:27:45] I think you would only get that if DELVSAB has a random, very large value [18:29:01] oh, also overlayed with P32 [18:29:06] UNVEC [18:29:31] or is it [18:29:54] I think it just misses out on overlaying it [18:51:41] UNVEC looks pretty far away, unless it's really big? [18:53:14] I think it's a unit vector [18:54:02] oh UNVEC is 15 not 16 [18:54:13] 1545, I thought 1645 [18:54:15] haha yeah [18:54:34] what looks very suspicious is MAMAX2 from P37 [18:55:03] I can try it, but that likely saves a large number in the same address as DELVSAB [18:55:55] if the error isn't very obvious with a 0 in DELVSAB, that's probably how they missed it in testing [18:56:05] so it would make sense for it to not always be crazy [18:56:18] yeah, it will be close to zero for most maneuvers anyway [18:56:33] you definitely notice with LOI-1, but not any MCCs [18:58:35] oh yes [18:58:36] EMEM3653 10766 [18:58:37] EMEM3654 25350 [18:59:04] yeah that looks not particularly close to zero :) [19:00:12] too lazy to convert, I'll let P30/P40 do that [19:00:19] so a 1000 ft/s burn stores this in DELVSAB [19:00:43] EMEM3635 1220 [19:00:44] EMEM3636 31645 [19:02:19] and that looks a good bit smaller, for quite a large burn [19:02:38] yeah [19:03:24] burn angle depends on the state vector, so it's a bit tricky to calculate DV from burn angle or vice versa without knowing more about the sim that discovered the bug [19:03:43] wait you gave a different set of addresses there [19:03:51] ... [19:04:05] did I really look at the wrong addresses twice in 10 minutes [19:04:10] hahahaha [19:04:23] EMEM3653 606 [19:04:24] EMEM3654 4466 [19:04:37] even smaller! [19:04:45] I knew the ballpark was about right [19:05:03] I checked the scenario and it had [19:05:04] EMEM3653 7 [19:05:04] EMEM3654 25462 [19:05:07] that was for MCC-2 [19:05:13] 10-20 ft/s or so [19:09:48] so P37 loaded 11786 ft/s [19:09:59] MAMAX2 is variable though [19:10:05] function of radius [19:10:10] so could be different [19:10:46] on their sim run [19:11:21] still, looks like probably the main issue [19:12:05] yeah, seems likely that they did a LOI-1 simulation after they had done a P37 [19:12:29] the actual burn arc is about 23° for LOI-1 [19:12:44] so it can't have been the opposite issue, burn arc being calculated as 0 [19:12:47] has to be giant DV [19:25:54] AGC calculates burn arc with the velocity at ignition [19:26:09] best numbers that I can come up with are [19:26:22] 34° burn arc as calculated by the AGC for a normal LOI-1 [19:26:44] 125° using 11000 ft/s instead of the actual DV [19:26:56] oof [19:27:30] anomaly report said they saw a 86° difference [19:27:32] seems about right [19:28:44] nothing else than P37 really touches DELVSAB, so they didn't need to do a P37 right before P30/P40 [19:28:53] as long as they didn't wipe the memory clean [19:29:23] because, P37 doesn't even work in the lunar sphere of influence [19:29:30] that would be one long simulation :D [19:29:30] their mainframe simulations probably all started with clean memory [19:29:33] hehehe [19:35:52] seems like the number comes from P37 though, the numbers agree quite well. But who knows [19:36:10] MAMAX2 can have values from about 0.5 to 1 lunar distances [19:40:34] so range of EMEM3653 would be about [19:40:51] 5753 to 13727 [19:41:17] octal [19:41:32] so the value I got was about average [21:57:37] night! [22:15:03] n7275: With the clogging implemented as currently in the Orbiter2016 branch are the times for a fuel cell to get clogged realistic? I just got a main b undervolt a couple hours before the next scheduled purge [22:38:08] Yeah about 8 hours later the voltage on MnB is already down to 26V again. I'm still 3 hours before that scheduled purge. [22:55:22] hmm, crap. I had based that on purge interval graphs. but I bet the value I had for voltage drop is wrong. [22:56:25] You are doing some more work on the fuel cells right, on top of the stuff already merged. What are you doing exactly? [23:09:15] yes. better calcuations of cell current and voltage using an itterative approch, and so that I get the right stead-state temperatures I also need to fix the fuel cell cooling system [23:19:01] Do you also plan on simulating the internals more realistically? Meaning in a way that the regulators just try to maintain pressure instead of being magically throttled by power load and voltage being based on skin temperature? [23:19:23] it's on my list [23:21:00] Cool. Do let me know if you need any help. [23:24:04] I'm definitely going to need help on testing in a few days [23:30:05] I can try to push through a quick fix for the the clogging tonight [23:32:23] Shouldn't be more than slowing O2 clogging down by about 2-3 times of current. It'll probably end up being replaced by the new stuff anyway [23:51:51] it will. [01:45:42] Thymo, here's the new model for steady-state fuel cell voltage https://drive.google.com/open?id=1igCYOnJENhNeqzuYMcDc0i7H2yup1OGh [03:59:00] oh cool. there's a "vector3" class in SPSDK that isn't in any way related to the OrbiterAPI VECTOR3. I'm just going to pretend I never saw that for my own sanity [15:16:26] Hey [15:16:34] hey Thymo [15:17:36] too much clogging, interesting [15:17:41] Just merged a patch from Matt for the fuel cells. Slowing the time it takes for the fuel cells to get clogged a bit until the new stuff is in. It was a bit crazy how often I had to purge [15:17:53] right [15:17:54] Yeah, had to purge like every 3-4 hours [15:18:07] maybe the numbers he found were the maximum expected or so [15:18:32] CSM Data Book probably has numbers, if he didn't already use them [15:19:22] n7275, just remember how old NASSP is. vector3 probably was implemented before the Orbiter API even had VECTOR3 [15:19:57] oh I know. [15:20:04] it works [15:20:05] Yeah, that's the current plan. Completely reworking the way fuel cells work so that they use molar masses and the proper formulas [15:20:08] Hey Matt [15:20:15] hey [15:20:28] nothing that has to challenge your sanity :D [15:20:51] I was just reading through your new changes and teaching myself some physics along the way [15:22:30] my branch fuelcellPerformanceAndCooling is where in doing the work, if you want to follow [15:23:07] Yeah that's what I'm looking at [15:24:19] With that new model did you take into account the solidifying and melting of the electrolyte at certain temperatures? [15:25:57] haven't yet, but I'd like too [15:27:13] would make the pad startup a bit more realistic [15:27:54] Would allow us to move to (I hope hope hope) scenarios starting from the plugs out test [15:28:07] I would love that [15:28:57] Would need a new MFD for that so we can control a bunch of GSE actions as procedures won't be on a strict timeline [15:29:15] aha, that sounds like my LCC MFD that already exists! [15:29:23] very barebone right now [15:29:33] and not involved in the normal countdown yet [15:30:54] Yeah, I have some extensive ideas. AGC stuff like switching to differenct ropes, (re)loading the padload after you've messed around, reinstalling optics covers after doing P03, Nitrogen fill and fuel cell activation, cry load. [15:30:56] an Apollo 8 countdown document I have says that the fuel cells were activated between T-42h and T-37h [15:31:01] I can go on but you get the idea [15:31:21] yeah there is a lot we could do [15:32:40] If you have all that working eventually I can think of making a scenario for LTA-8. Just need Alex to model a vacuum chamber ;) [15:32:55] fuel cell heaters are connected directly to the positive terminals of the cells not through a bus [15:33:06] ooo that would be cool! [15:33:47] just have to put a LM on the ground [15:33:51] and some LM GSE [15:34:22] I'm not sure the exact GSE interfaces with those terminals [15:35:47] n7275: The inline heaters? [15:36:18] yes [15:36:47] I think I read something about that. Let me look [15:39:50] hey while I'm thinking of it, I have a philosophical question relating to systems [15:41:20] http://www.ibiblio.org/apollo/Documents/ApolloTrainingElectricalPowerSystemStudyGuide.pdf [15:41:30] Page 39 describes fuel cell activation [15:41:51] From what I see is they just provided reactants at high pressure until it heated up enough [15:42:05] Block I [15:42:21] in the case where we have a component that "contains" other components. would it be better to have the sub components as members or as pointers? [15:42:28] Fuel cells weren't changed that drastically from block I to II [15:42:35] right [15:42:36] Not in regard of startup at least [15:43:21] n7275: So you mean a Fuel Cell object containg some regulators and pumps? [15:43:55] yes [15:45:18] probably pointers, as all the E_systems and H_systems are individually defined in the systems config [15:45:32] That's the way Nik did it for the sequential systems, modelling each relay. That way by simulating all the bits you get emergent behaviour. I'm just not sure how good that is from a performance standpoint, seems to work for seq. sys. [15:46:35] if sub components are members, then you also need to take care of e.g. saving and loading [15:47:16] yeah, I was on the fence. but that makes sense [15:47:16] all the things that normally work automatically if they are added to the systems simulation [15:47:38] in general the solution with members is probably better, OOP and everything [15:48:00] but not in this case, I think [15:48:35] One major pro is that you have more room for complex failure scenarios. By simulating it all you could make eg. a internal regulator fail and throw the whole fuel cell outta whack and giving you a challenge to diagnose it. [15:49:15] Makes telemetry a bit easier too, then you can directly hook the sensor to the pipe you want instead of making an estimation [15:49:48] yeah, my major concern was that they weren't protected from any getpointerbystring calls [15:50:11] but those also allow a lot of real world flexibility [15:51:12] con: something could get broken, pro: something could get broken (as in system failure) [15:51:37] lol [15:52:16] I'm a bit divided internally on the whole system definition in config files. It's a left over from when SPSDK was an actual SDK instead of being so specfic to NASSP. If I'd have to reimplement it I'd just define everything in code, don't really wanna be doing all those string search operations simply to find a pointer. [15:52:37] true [15:53:00] and it doesn't make mission specific systems any easier [15:57:58] agreed. it would be a colossal pain to switch away from the config model so we're probably stuck with it [15:59:01] at least for now [15:59:39] I thought we were stuck with a LVDC that has a large number of goto and label, but all it took was months of work with little gain in capabilities to fix that :D [16:01:28] there are a lot of unrewarding projects waiting to happen in NASSP like that [16:02:57] *cough*documentation*cough* :p [16:04:12] yeah lol, 50 or so hours of work to make a gauge needle do a slightly different thing. [16:05:18] hey, at least with documentation we might get some additional help. but yeah, that's a hell if a project [16:06:24] and more comments in code as well, if I suddenly disappear then someone has to spend a year studying the RTCC code to be able to do anything with it [16:06:37] Documentation is the one major thing still needed for NASSP 8 [16:06:52] indy91: Yes, please don't die. :D [16:06:54] also because the RTCC code currently has a bunch of duplications [16:07:07] I implemented a bunch of new features that the MCC never got to use [16:07:14] as I didn't have 100% trust in them yet [16:07:35] so my next RTCC project will be to go through the missions using the MCC again, make them use new code, delete old code [16:07:57] yeah, no dying :) [16:08:10] I'll try my best [16:08:14] The thing about getting documentaion for a mission is that you effectively have to fly the whole mission again. That takes soo long [16:08:23] Especially if it doesn't have MCC yet. [16:09:47] On top of studying your code I'll need a crash course on orbital mechanics. As far as that goes I know how to do a Hohmann transfer in KSP and how to calculate the altitude for the ORDEAL... [16:11:01] V82, then (HA+HP)/2 hardly seems like difficult orbital mechanics :D [16:11:43] Just to give you an impression of how much I know about this stuff. Since it includes HA and HP it's orbital mechanics in my book. haha [16:11:50] true [16:11:59] not even the FIDOs were all super experts in this [16:12:04] but they had support staff [16:12:19] those knew the RTCC and orbital mechanics quite well [16:13:36] and for the really difficult orbital mechanics questions they had Katherine Johnson [16:13:50] I think it was here that I heard on the MOCR loop when they asked a question [16:13:52] her* [16:14:18] hmm, no [16:14:38] https://en.wikipedia.org/wiki/Frances_Northcutt [16:14:50] she worked on Return-to-Earth calculation stuff [16:25:35] https://github.com/orbiternassp/NASSP/issues/6 [16:25:44] How much stuff is still needed for that btw? [16:26:06] Implementation for 9 and 10. I think we have all that don't we? [16:26:43] basically yes [16:27:19] the last problem we really had was LM ECS stability, but we made that work ok by running multiple timesteps of the ECS per Orbiter timestep [16:27:30] and there is a Apollo 9 and 10 only system that we don't have [16:28:41] Aight, cool. [16:29:22] but we don't really need that system [16:29:32] ascent engine arming assembly [16:29:46] I was thinking that after 8 we could switch to a more regular release approach so that we don't have years between releases but have more updates as features are implemented yet providing more stability than the daily snapshots. [16:29:47] let's you fire the APS remotely even if the PGNS is broken [16:30:11] yes, the big new feature in 8 is basically full Lunar Module support [16:30:14] Like a dumbed down programer? [16:30:17] we won't have such a big feature ever again [16:30:27] I mean, Skylab is pretty big [16:30:28] yep, that's exactly what it replaced [16:30:30] true [16:31:39] And we should find some Soyuz documents for ASTP because I don't really know of any Soyuz addons for Orbiter that are on par with NASSP haha [16:32:27] https://en.wikipedia.org/wiki/Soyuz_7K-TM [16:32:37] it was a bit of a special Soyuz version anyway [16:33:34] systems documentation on older soyuz spacecraft might be a challenge... [16:34:14] and there probably isn't anything in english [16:34:16] hmm [16:34:23] UHCL has a large ASTP collection [16:35:01] stuff like [16:35:02] Translation and Explanation of soyuz Control Panels (with photographs and charts) [16:35:33] hey [16:35:49] soyuz Familiarization Manuals [16:35:52] hey Alex [16:36:13] Soyuz?? Am I on the right chat? :D [16:36:22] the topic is ASTP [16:36:36] Apollo soyuz Test Project Training Document (In Russian), JSC. [16:38:13] ah, makes sense [16:39:34] Someone better start learning Russian then. I wonder if Europeans are allowed in their archives [16:41:52] I would think the bigger concern would be: do the archives still exist [16:42:11] or: who bought the archive in 1991 [16:43:12] yeah [16:44:11] I'm sure most of what we'd need have never been scanned [16:45:37] hopefully they're safe in a building with an intact roof and a non-flooded basement [17:26:25] morning! [17:27:21] hey Mikw [17:27:23] Mike [17:27:30] Hey Mike [17:28:39] morning mike [17:30:26] what's up? [17:30:38] launching Apollo 11 to create new scenarios [20:57:16] Nice the Github dark theme went live [21:02:06] Looks like they also added some kind of forum feature to repositories. [21:02:31] not so nice, I got a CTD at opening the forward hatch in the CSM [21:02:49] AlexB_88, debugging doesn't get me that far, but it seems to indicate the ProbeVis() function [21:03:01] On your own stuff our dev branch? [21:03:08] s/our/or [21:03:19] Not quite Guenter... [21:03:31] same one that I also had a (fairly weak) suspicion of that it causes the missing SM panel sometimes [21:03:43] my branch, but I've had it 2-3 times in the last few months [21:03:56] in Orbiter2016 branch as well, I'm pretty sure [21:04:09] yeah, I got it when I launch Apollo 9 to do the first testing of Sundance [21:04:14] launched* [21:04:49] so I think that Saturn::ProbeVis is sometimes doing bad things [21:04:58] but I don't understand what it does enough to say for sure [21:05:51] that function does get called when you open the hatch, so it's not debugging mode giving a confusing result when you had build in release mode [21:06:02] and the error was in the D3D9Client.dll [21:09:28] hmmmm [21:10:01] I mean, the code looks safe [21:10:24] the ProbeVis function changes the meshgroup for the probe to invisible and back [21:12:07] when is clbkVisualCreated called [21:12:22] only once when you go to external view or something? [21:12:50] the only thing it could be is if probe (the DEVMESHHANDLE) is pointing to the wrong mesh [21:12:56] then probe is not NULL [21:13:19] and the oapiEditMeshGroup could cause a CTD if the mesh group doesn't exist [21:13:37] and maybe hide the SM panel? big maybe :D [21:15:55] maybe the way to recreate the issue is: pre CSM sep scenario, go to outside view, stay in inside view from then to hatch opening, open hatch [21:16:01] I'll try this [21:16:50] hmm [21:17:07] no, I definitely used outside view after CSM sep [21:17:33] but maybe that doesn't call clbkVisualCreated again [21:20:59] but that's my best theory. probeidx probably gets a new number when the vehicle configuration gets changed with e.g. CSM sep [21:21:23] and the DEVMESHHANDLE probe isn't getting that update [21:22:15] AlexB_88, using oapiEditMeshGroup with a DEVMESHHANDLE isn't even a function with a description in the Orbiter API, how did you find that? [21:24:20] aha [21:24:29] I can replicate the CTD with CM/SM sep [21:25:09] loaded a scenario with CM and LM docked. Go to the outside view once. Do CM/SM separation. Open forward hatch. CTD [21:27:18] can anyone replicate that? [21:28:00] seems reliable [21:29:31] I'll try tonight when I get home [21:30:16] doesn't happen if I comment out oapiEditMeshGroup [21:31:37] and it happens again if I build again with oapiEditMeshGroup NOT commented [21:31:56] very happy to have a reliable bug or CTD for once lol [21:32:03] haha [21:32:18] Well I'd rather not keep it if you don't mind :P [21:32:53] I concur [21:35:11] Ehhh How do I sep again? haha [21:35:24] I hit the switches and triggered the SMJC while still attached [21:35:29] I armed the pyros first [21:36:03] what scenario did you use? [21:36:45] Apollo 8 for some reason opened the pyro breakers on panel 250 [21:36:45] I'm in my Apollo 8 scenario halfway through coast [21:36:49] make sure they are closed [21:36:54] Oooh ! [21:37:03] Yes I pulled those [21:37:08] that got me a few times in the past haha [21:37:14] it's in the checklist, so we do it [21:37:56] and that is why the crew waits until mission control sees the pyros being armed on telemetry :D [21:40:22] uhhh [21:40:30] Apollo 8 might not be the best mission to test this [21:40:38] don't think it had a probe [21:40:47] I used Apollo 11 before PDI day [21:41:01] but any docked scenario with a pressurized LM would work [21:41:20] and you won't get the forward hatch open on Apollo 8 anyway [21:41:28] unless you depressurize the cabin [21:42:12] Hmm. The SM stops rolling when it disconnects. That's a bug [21:42:13] Orbiter bug even? [21:43:43] maybe, there are conditions when the SMJC doesn't fire [21:43:57] I get why they waited. CM RCS doesn't have any roll authority. I'm stuck in this spin [21:44:08] did you loose all power when you separated or did you put the batteries on? [21:44:21] It doesn't power when you have the SM Bus unpowered by disconnecting the fuel cells [21:44:30] I did put the batteries on. [21:44:42] right [21:44:43] The SMJC didn't fire on 13 because the fuel cells were down [21:45:13] yeah, that isn't simulated in much detail yet, but when the separated SM gets created it does get SMBusAPowered and SMBusBPowered parameters [21:45:48] SMConfig.SMBusAPowered = MainBusAController.IsSMBusPowered(); [21:45:49] SMConfig.SMBusBPowered = MainBusBController.IsSMBusPowered(); [21:46:38] I can try to replicate it if you tell the exact order of switches, but, one bug at a time [21:47:36] The spinning? Just do CM/SM sep with logic armed only [21:48:00] oh I know [21:48:01] That way the CM stays attached. Wait for the roll jets to stop and then arm pyros and separate [21:48:03] I mean that it stopped [21:48:55] "The SM stops rolling when it disconnects." oh the SM itself, I thought you meant it stopped firing RCS or something [21:49:36] No it physically stop rolling [21:50:26] Reproduced the CTD on Apollo 9 before docked dps [21:51:02] oh good [21:51:31] oh weird [21:51:37] vs1.vrot.x = 0.0; [21:51:37] vs1.vrot.y = 0.0; [21:51:38] vs1.vrot.z = 0.0; [21:52:03] the SM uses the vessel state (position, velocity etc) from the CSM before [21:52:07] but [21:52:13] this sets the inertial rotation to 0 [21:52:30] I think that is what causes the rotation stop [21:52:58] Could retrieve the roll rate from the CM and then apply that after setting the state [21:53:18] actually I think all you have to do is not set them to zero [21:53:29] GetStatus (vs1); [21:53:40] this is what retrieves the vessel state from the CM [21:53:48] or rather, CSM just before sep [21:53:53] same thing really [21:54:07] I guess that makes the SM more stable [21:54:13] but it's wrong [21:54:20] should be removed [21:54:28] that's in [21:54:29] Saturn1b::SeparateStage [21:54:42] and [21:54:42] SaturnV::SeparateStage [21:56:26] I guess we have two issues to create [22:08:29] I can't find it in SeparateStage. Is it for new stage CM_STAGE? [22:09:20] Oh it's way up there. Found it [22:09:23] above if (ApolloExploded) [22:09:48] Ah yes [22:09:53] So that should just go? [22:09:59] I think so [22:10:49] the only problem I could see is if the SM has a different coordinate system [22:10:58] pretty sure vrot is in body axis [22:11:07] so it could spin around the wrong axes [22:11:17] Let me try [22:12:05] but I don't think that will be a problem [22:15:06] That did the trick [22:16:56] feel free to commit that then, same thing has to be done for the Saturn1b class [22:17:16] worst thing that can happen, SM comes spinning back at the CM [22:17:35] read a bunch of separation & recontact analysis documents on that [22:19:35] How old are our Apollo 7 scenarios? [22:19:44] 7.0 release [22:19:50] I just loaded one and the mission clock is all zeroes [22:20:09] yeah, that was when the mission time was a top level Saturn class variable [22:20:17] not in the mission timer class [22:20:39] Damn. Did you keep a list of what changed since 7? I lost track. [22:20:51] what also happens in old scenarios is the FDAI moving back to its normal orientation from 0 [22:21:09] I've opened those old scenarios many times for testing [22:21:24] and I remember what we changed for them haha [22:21:28] Yeah I noticed that, seems to have gone back to normal [22:22:17] just a sign of an old scenario, caused by changes to the ECA that I did a while back [22:24:16] Roll really picks up when the CSM is light [22:24:24] sure does [22:24:56] AlexB_88, can you take a look at this ProbeVis CTD? It's your code, and I don't really understand what stuff like "ges.UsrFlag = 3;" does [22:26:07] good night! [00:27:08] Hi folks [00:32:31] I've got to the first milestone of a configurable joystick module for NASSP. It works now for the CSM and for RHC/THC only but I wanted to have a minimal working version. Even in it's basic state I can do Transp and Docking in a pretty convenient way with my VKB Gladiator joystick with the stick itself mapped to RHC and a bunch of buttons are [00:32:31] mapped to THC axes. [00:33:27] If you are curious, check my github at https://github.com/ggalfi/NASSP and the branch called "vesim" [00:34:57] Vesim is the abbreviation for Vessel Specific Input Manager - sorry, I'm not good in naming :) [00:47:18] hey ggalfi! I'm not qualified to really dig deeper into that, but it sounds nice :D [01:07:04] Hi ggalfi, I was just thinking about you today, wondering how this was coming along. nice to see! [15:29:17] good afternoon [15:38:53] hey Nik [15:39:46] just saw the LVDC update email. nice! [15:40:19] I had just started the Apollo 10 launch scenario to create new scenarios [15:40:22] when I noticed [15:40:30] we don't even have Apollo 10 mission scenarios [15:40:42] and I didn't want to fly the whole mission right now [15:40:46] so I decided I was done :D [15:50:53] haha, yeah. I dont blame you. [15:51:15] do we even have checklists for 10? [15:51:19] we have [15:51:37] I just didn't want to have completely non-functional mission scenarios. The previous ones were old, but working [15:51:52] can't break what doesn't exist [15:51:56] for Apollo 10 [15:53:40] I guess next I'll take a look what ggalfi has come up with this time. Wasn't his fault before of course, but this update should be easy to merge [16:28:04] Hi all [16:30:06] hey [16:30:32] indy91, sorry I missed your last message last night [16:30:58] let me take a look at that [16:31:18] indy91_* [16:33:49] hey guys [16:34:18] ggalfi, I took a look at your branch, looks great. Should be easy to merge for once when it's ready haha. [16:34:44] I got two build warnings, one of the functions doesn't return a value for all paths [16:35:22] I haven't tried playing around with it with a joystick yet, but I can do that tomorrow [16:36:30] AlexB_88, I also assigned you to take a look at this: https://github.com/orbiternassp/NASSP/pull/565 [16:36:41] Sounds good. Could you please send me these warnings? Yesterday, before committing I've tried to get rid all of them. [16:37:09] sure, have to quickly change branches again [16:37:30] thx [16:37:31] I think it was Vesim::setupDevices [16:37:45] which has to return bool, but not all paths return a bool apparently [16:38:11] maybe at the very end of the function? [16:40:33] Oh yes, you are absolutely right. Strange that I haven't got warning for that. I thought that these warning levels are wired into the project files but maybe there are local settings as well in Visual Studio. [16:41:51] yeha not sure about that either [16:41:56] yeah* [16:43:14] but yeah, the warning points to the end of the function. warning C4715 [16:44:10] indy91_ review sent [16:44:36] "way too long, I'm reading this. 2/10" [16:44:39] I'm not* [16:45:01] would be the same as approval I guess :D [16:45:54] +25,054 −18,464 kind of surprised I added so many [16:46:09] must be in the config and scenario files [16:46:25] a lot more functions than before in the LVDC, where previously the code was all in the timestep [16:46:34] that adds a lot of empty lines and { } [16:46:56] update merged [16:47:36] I've corrected that, but I'll wait with a new commit till you test the current version. Maybe some more issues will arise. This missing returned value shouldn't cause any problem as setupDevices is called only once and return value isn't used there. [16:47:52] right [16:48:22] yeah I just don't have my joystick set up right now, don't always use it with NASSP. But I can do that tomorrow [16:49:19] and I have an Xbox 360 controller which I have used in the past to test two controller setups [16:50:16] Ok, that's sounds good. I've written some documentation (VESIM.txt) on how you can setup your own controller. [16:50:26] studying that right now [16:51:21] Though I have Xbox controllers at home. Just have to snatch it from kids :) [16:51:44] probably the most difficult part of this update [16:51:58] :D [16:52:30] so, can this already map switches in the CSM and LM to a joystick? [16:54:20] Only the CSM is supported right now. Wanted to keep the first commit as minimal as it could be. But the next step on my roadmap is to have RHC/THC mapping for LM as well. [16:56:51] ok, but in the CSM you can already map any switch in the cockpit to the joystick? Or is it RHC and THC support right now? [16:59:05] not seeing any code for it, but that's probably going to go through cbCSMVesim [16:59:27] Vesim is capable for any mapping, but I have to make changes in satsystems.cpp to have a button mapped to an action. [17:00:07] might also be difficult with diffferent types of switches, although a generic toggle switch should work without too much trouble. [17:00:44] Yes, either through cbCSMVesim, if you want to get notifified on events or you can query to button state with getInputValue. [17:01:53] For example for Abort switch, it is better to handle through use event, for optics shaft/trun switches the query is the better solution. [17:02:20] sounds like a great feature. Of course you don't have to implement that immediately, full RHC/ACA and THC/TTCA support will be fine for a first release. [17:02:34] or even just the CSM [17:02:58] can start as an experimental feature before it takes over all of our joystick code [17:03:20] Yes, I want to move in small steps and don't want to pour on you thousands lines of code [17:04:01] In the Apollo Configurator the option is already named as VESIM (experimental) :) [17:05:07] Theoretically, if Vesim is disnabled, the joystick should work as in previous versions. [17:08:06] It is easy to do the same game for the LM, similar changes will happen in the source as was done on saturn.c, saturn.h and satsystems.cpp [17:09:00] sounds good. In your VKBsim Gladiador config file, why did you have to reverse some of the buttons you mapped for the THC? [17:11:53] Because THC is considered as Axis type input. If you want to map buttons to an axis input, you will assign one for the maximal axis value (65535) and one for the minimal (0. To specify the button belonging to the minimal value, I used the REVERSE flag. [17:13:11] Certainly the name "reverse" was given because for axis-axis mapping it's meaning the reversal of the map. [17:14:29] ah ok, that makes sense [17:16:46] should be fun to do a transposition and docking with a controller, THC mapped to buttons [17:17:07] discrete inputs make a lot of sense for the THC anyway [17:21:40] Yes, the funny thing is that if you do T/D precisely along the checklist, you don't have to touch too much the RHC as CMC handles attitude pretty well. So to test the ergonomy of this setup I intentionally messed up things and tried a few approaches from some tilted directions, without CMC DAP. And yes, it is surely a fun! [17:29:33] morning! [17:32:58] hi [17:35:46] indy91_, so ges.UsrFlag = 3; makes the probe meshgroup disappear [17:36:30] and ges.UsrFlag = 0; makes it appear again [17:46:00] ggalfi, yeah that makes T&D a lot easier, only having to use the THC [17:46:05] hey Mike [17:46:29] AlexB_88, right. The bug surely has to be that DEVMESHANDLE isn't any better than the probe index [17:46:44] and CSM sep means the probeidx is now a different number [17:46:56] and the DEVMESHHANDLE probe is pointing to the wrong mesh [17:47:08] a mesh that probably doesn't have a mesh group 2 [17:47:14] and that is what causes the CTD [17:47:41] so you either have to update the DEVMESHHANDLE somehow, or use a different solution [17:52:03] ok, I'll try and find a way to update it [17:56:52] indy91 does the CTD only happen before sivb sep? [17:58:15] Good evening! [17:58:31] the CTD happens if you change the mesh ID of the probe and then try to open the forward hatch [17:58:48] the mesh ID changes either with CSM separation or CM/SM separation [17:59:36] I usually got it when I did this: Look outside to make sure the meshes are actually loaded, CSM separation, LM pressurization, forward hatch open, all without reloading [18:00:10] the quickest way to reproduce it was. Scenario with CSM and LM docked, LM pressurized. Look outside, CM/SM separation, forward hatch open [18:00:38] looking outside once works, not even sure that's 100% necessary [18:00:40] hey Thymo [18:01:21] Just came back from work, about to look at this stuff you PRed. [18:01:32] and already merged [18:02:08] Alex reviewed the PR for 5 seconds and said it was ok :D [18:04:34] ggalfi, do you know if the DPad on the Xbox 360 controller is treated like axes? And which axes would it be? [18:07:56] "5 seconds and said it was ok" and that is exactly why I'm still going to look at it haha [18:08:48] sure [18:08:50] +25,054 −18,464 [18:08:55] have a fun rest of the week :D [18:09:06] hahaha [18:11:18] but I myself also found some parts of the PR I had already forgotten about. Some temporary fixes I did that I probably need to revisit [18:11:43] I removed a variable from the LVDC that was used in the RTCC for example. I had to hardcode that number in the RTCC for now because of that [18:13:03] The hell is a "class 4 switch selector sequence"? [18:13:45] there are a lot of sequences, like all the commands sent to the IU/S-IC/S-II/S-IVB during time base 1, just after launch [18:14:03] then there are special sequences like S-II mixture ratio shift [18:14:08] that doesn't happen at an exact time [18:14:50] and for any of these special sequences that can happen alongside a normal sequence from a time base, there has to be some priority [18:15:06] so there are basically 4 levels of priority [18:15:21] ah wait, the EDD explains it really well [18:16:29] https://www.ibiblio.org/apollo/Documents/satinstunitibm_3.pdf [18:16:46] section on the switch selector starts at PDF page 41 [18:17:02] about the priorities on page 50 [18:18:34] I'll give it a read [18:18:38] TextOut(hDC, (int)(width * 0.7), (int)(height * 0.35), "TD&E Enable", 11); [18:18:58] Where does that text go? It's not a debug line. [18:19:14] Oh MFD [18:19:19] Project Apollo MFD, yeah [18:19:40] still uses the older MFD system with hDC [18:19:53] instead of sketchpad [18:20:20] that's the ground commands you can send to the LVDC [18:20:23] MCC also can do that [18:20:46] "TD&E Enable" inhibit TLI and let's you do TD&E in Earth orbit [18:28:19] You unconditionally return false in some lowlevel and cutoff getters. I take it these need to be implemented in the future? [18:31:18] @indy91_ , sorry I was away for a while. The easy method to find out an axis ID is to use a joystick tester, I use this one: https://gamepad-tester.com/ [18:32:44] ah thanks [18:33:17] Thymo, you mean like IU::SIBLowLevelSensorsDry? [18:33:34] Yes [18:33:45] that's how I implemented functions that are for Saturn IB or V only [18:33:57] some of that can probably be reduced [18:34:16] but I implemented a lot of things as virtual functions in the IU class [18:34:51] and then overload it in IUSV or IU1B [18:34:54] Right, I haven't gotten to the header yet. [18:35:19] but I don't really like the setup that all the Saturn IB or V specific classes are together in one file, it should be a bit more separate [18:35:45] virtual functions that don't really need to be virtual [18:36:01] just have to only exist in IU1B, there are probably some like that [18:42:24] LVDA::GetSIVBO2H2BurnerMalfunction [18:42:30] this for example is future expansion [18:42:35] that's a discrete input [18:44:04] Maybe in the IU1B you can just implement the function only in that class and leave it out in the IU. Or do you then need to override a bunch of functions? [18:44:29] I think one problem is the IU/LV connector class, which connects to the Saturn class [18:44:40] and not Saturn IB or V specifically [18:45:40] so that interface has to work for both versions of the IU [18:46:09] oh and for SIBLowLevelSensorsDry, I haven't created two versions of the LVDA class yet [18:46:38] if I do that then we have separate versions of all the relevant class and I can remove some stuff from the base classes [18:46:43] classes* [19:03:05] Will these changes break current scenarios that are in progress btw? [19:04:45] yes, the LVDC will be inert, not do anything [19:04:53] but no CTDs [19:05:09] so old scenarios where you are away from the S-IVB, all good [19:05:23] I should make a post in the forum concerning that [19:06:01] I think mine in Apollo 8 has finished it's maneuvers already so should be good. [19:06:47] yeah [19:07:01] and old scenarios before launch are also good [19:07:10] most of them at least [19:20:52] Is the lvlog always turned on? [19:21:46] I think it may be wiser to have a function to log something to the lvlog so we can turn it off to save some io and cpu cycles [19:22:04] Depending on a compile flag we can just compile out lv logging with a null operation [19:23:53] yes lvlog is always on [19:24:09] I actually commented out some lvlog functions as it became a bit too much [19:24:25] maybe three logging modes would make sense [19:24:38] off, low, high [19:25:00] high writing all the debug lines [19:25:38] There are some nice logging libraries out there. We might want to considering adding one to NASSP, we don't necessarily have to implment it ourselves. [19:26:09] right [19:26:51] at least an option to turn it off is probably good [19:27:29] we can always have commented lines that can be uncommented when we want to take a look at something specific [19:34:50] I see you're starting TB1 in both the minor loop and events processor. Just different events satisfying the conditions to start it? [19:36:34] ah, in the events processor that is actually for flight simulation [19:36:56] in the PhaseActivator function it sets a few values either to an index in the events processor or to -1 [19:37:24] for flight simulation, TB1 is started on schedule, at TB0 + 17 seconds [19:37:36] actual mission it's the liftoff discrete input [19:37:42] which gets checked in the minor loop [19:38:15] the document with example LVDC code translated to other programming language had a list of all events processor events for timebase 0 to 3 [19:38:45] so for those time bases I implemented them all as far as I could tell what they are supposed to do [19:38:59] //Events Processor Task List [19:39:00] if (true) [19:39:12] haven't even implemented the flag for flight simulation mode yet :D [19:39:41] for the other time bases I only know how many events there were, not what they do [19:41:20] so normal mission: EPTABLE[2] = -1; [19:41:26] flight sim: EPTABLE[2] = 3; //Liftoff on schedule (TB0+17.0) [19:41:33] Oh damn that's pretty nice. Didn't know you'd implement a simulation for our simulation. :D [19:41:56] haha, it's far from being able to do that, but there are bits and pieces of it already [19:42:44] simulated gimbal angles, simulated acceleration (also used as backup if accelerometers fail), all still missing [19:43:34] I can implement it in the Saturn IB, the EDD has enough information I think [19:50:35] I reviewed everything except the FSPs. No idea how to read those, is there any documentation for it? [19:58:47] Submitted, just some minor stuff. I looked at everything in LVDC.cpp but the diff tool made quite a mess so I gave it a look and it didn't look like anything going on that breaks stuff. [20:02:36] https://www.ibiblio.org/apollo/Documents/UAH-19671205-InterfaceControlDocumentDefinitionOfSaturnSA507FlightSequenceProgram.pdf [20:02:44] starting on page 31 [20:02:49] PDF page* [20:03:29] that's the flight sequence progeam in order when the commands are sent [20:04:27] at the end of the document are "SWITCH SELECTOR CHANNELS WIRED [20:04:27] IN VEHICLE BUT NOT PROGRAMMED FOR [20:04:28] USE DURING FLIGHT" [20:04:47] Saturn Systems Handbook also has a complete list of them per stage [20:04:57] As they are mission specific, I made separate files for them [20:05:04] as best as I could with the sources we have [20:05:37] the way you read it in the file is [20:05:50] time in time base/sequence, stage, channel [20:05:53] stage 0 is IU [20:06:01] 1 is S-IC, 2 is S-II, 3 is S-IVB [20:07:10] thanks for the feedback! [20:07:35] tliparam.T_RG = 578.6;, that might be a RTCC system parameter which name I can figure out [20:08:21] it has always the same value except for Apollo 4 and 6, but it would be good to not have that hardcoded, yeah [20:17:08] Ah it makes a lot more sense with that document. I guess this goes into some sequencer and not directly into the LVDC? Or is a switch selector like an IO channel? [20:17:59] switch selector is like the programer in the LM [20:18:24] the LVDC has lists of sequences, like in those flight sequence program files [20:18:41] and sends them out via the LVDA to the stages to "do stuff" [20:20:14] and like Sunburst which loads the stuff it wants to send to the programer into channel 10, the LVDC loads this sequence in an output channel [20:20:24] I think it was channel 10 in Sunburst [20:20:33] Cool. I might want to play around with those, sounds like I can make the booster do some fun stuff [20:20:47] PAMFD has uplink capability for it [20:21:01] just needs stage and channel [20:21:02] I know, I saw you use it on Apollo 5 [20:21:43] IU channel 80 switches S-II sep light on [20:21:50] you can even cause the S-IVB to start [20:22:20] S-IC has barely any functions that can be controlled with the switch selector, as it was started with ground equipment [20:22:38] the other stages plus IU have a lot [20:28:06] lol, almost fooled myself with the S-II sep light example [20:28:34] but those lights are powered by the EDS, so the light only goes on when EDS power is switched on... [21:24:54] Looks like SN8 has had another hold on the countdown [21:25:17] ah damn [21:25:26] I quickly looked at it last night when I logged off [21:25:31] they were at T-1 minute or so [21:25:50] Yeah yesterday the raptor had an auto abort [21:25:55] Today was manual hold [21:26:01] They're gonna try again in a bit it seems [21:26:09] almost wanted to login again to tell you about it, but before I could it already had the hold [21:26:40] I was watching it, got a notification [21:27:19] They're gonna try again at 2240 UTC [21:27:33] what I actually want to see is the SLS core stage getting fired [21:27:33] Just over an hour from now [21:27:42] should be soon-ish? [21:28:00] ah they just had an abort wet dress rehearsal for it [21:28:04] aborted* [21:28:53] Looks like the hold was due to range violation by an aircraft. Not confirmed though. [21:29:12] always the most annoying reason [21:30:20] for the SLS core stage, they need another wet dress rehearsal. But the next step then is a full duration firing of the stage. [21:30:32] Not seeing a date for it, maybe not this year [21:36:13] do we know what they are doing with Starship after this test? [21:36:24] more Raptors, longer stage? [21:37:59] SN9 is made entirely from steel 401 [21:38:12] Don't know what the test plan is besides high altitude [21:38:31] Just did some more testing with the SM by tumbling to large rates [21:38:41] on all axes. Sep still worked fine [21:38:50] PR coming up [21:38:55] great [21:39:14] yeah, the SM will just do what the actual SMs did, not go perfectly straight away from the CM [21:39:42] Yeah, quite fun. Watching it while crossing your fingers it won't smack you in the head. [21:40:23] there is an Apollo 11 anomaly report about the SM reentering the atmosphere, when they wanted it to skip out and not risk hitting the CM [21:40:31] that's why they changed the SMJC [21:41:48] We have the additional issue that the SMJC goes on pretty much forever. In the actual SM the fuel cells called it quites after a minute or so [21:41:55] s/quites/quits [21:42:37] oh really? I didn't know that [21:45:09] Yeah, pressure was lost from the tanks through the umbilical. They only had the stuff that was already in the pipes. [21:46:01] so the SM basically had a "Houston, we had a problem" moment every time it separated [21:46:15] Pretty much [21:46:39] docked CM/SM stages (I'm kidding) [21:47:09] that would be a loooot of connectors [21:47:20] sure would [21:47:32] eventually we will do that, in one way or another [21:48:06] the separated SM doesn't simulate all the systems like the CSM, but if it did then I'm sure we could expose the pipes in the SM to vacuum [21:51:48] a bit like the CSM/LM interface, there could be one connector call that wires CM and SM together and one that separates them. At least for the SPSDK stuff [21:52:16] Yeah just have an umbilical connector that does it all [21:52:21] but of course there are all the other connections [21:52:38] fuel cell controls and so many others [21:53:10] I wonder if there is a CM/SM interface control document [21:53:19] as both were made by NAA [21:53:35] The question isn't if it exists but if we can find it. [21:53:40] hmm, that's an interesting question [21:53:47] if it exists then NARA has it [21:55:15] drawing number will presumably be of the form MH01-xxxxx-yyy [21:55:33] assuming they use the same numbering scheme for internal and external ICDs [22:02:17] but I'm not sure if it would explicitly exist as an ICD or not [22:03:02] yeah, same [22:11:36] good night! [22:11:40] night [22:48:33] SN8 has one engine out. Was that part of the plan? [22:49:19] Looks like it. It gimbals violently on shutdown though [22:50:46] Wow [22:50:54] Now it's a glider. Exciting test [22:51:22] I should say lifting body [22:52:19] Aww [22:52:27] Crap [23:04:26] any landing you can (almost) walk away from... [23:05:53] I don't think you could walk after this one [23:06:28] Looking at the video again looks like she had a second engine out a couple of seconds before landing [23:07:03] Not sure if they had meant for landing on all 3 engines but they started with just two and lost another [23:07:50] s/lifting body/brick [23:07:59] Is probably a better word for it [23:08:33] lol, yep [23:08:57] still better wing loading that the shuttle probably.... [23:09:57] wonder if the fuel sloshed away from the sumps [23:10:36] Elon just tweeted that header tank fuel pressure was low during landing, that probably caused the additional engine out