[20:06:28] NASSP Logging has been started by thymo [20:06:36] Should be fixed now [20:06:51] yep, looks like it works [20:06:52] thanks! [20:07:45] Uptime was at 151 days. Now it's at 0 again. Time to let that build again.. [20:08:58] Gonna have to take it down again when I get back from holiday. Kernel could use an upgrade. [20:09:09] But it's not that urgent. [13:34:06] hey [13:36:25] I am very smart. Flying some more Apollo 8 without switching to the development branch I have for the MCC changes [13:38:18] hey [13:38:20] nice [13:38:51] I think I didn't actually change the mission states in the part of Apollo 8 I am currently in so it's probably fine?! I'll have to check [13:39:36] oh haha I see, hopefully the states will still match [13:40:35] yeah, I didn't change anything in the middle of the translunar coast [13:40:45] just up to after TLI and then before LOI [13:41:10] Is there a certain document that would have the state of the LM batteries before initial checkout? [13:41:22] like which are on and which are off [13:41:32] ours have 1 and 4 on, 2 and 3 off [13:41:49] hmm [13:41:57] but the Apollo 12 Activation check would suggest that they are all on in lo taps [13:41:58] Systems Handbook might show them in specific states [13:42:15] it would if it wasn't missing the EPS page, haha [13:42:39] we have the one from Apollo 15, but it's different of course [13:44:14] isnt there a pre-launch close-out checklist or something? [13:44:25] yes, in the AOH Volume 2 [13:47:59] hmm [13:50:55] it's a difference between LMs [13:51:05] Apollo 15 LM Activation has Bats 2 and 3 in bp [13:53:16] but it's weird [13:53:24] the prelaunch checklist has it all in off [13:53:34] and then later during flight all in low [13:56:17] Im looking at LM11 AOH vol2 and I see the same [13:56:51] not sure the SCEA is powered at that point though [13:57:13] could just be that [13:57:21] hmm probably not, I guess thats just a switch position check [13:59:55] yeah [14:00:24] so from AOH Volume I and comparing the pre and post Apollo 14 versions of it I would say it's a mission specific thing [14:01:04] we use the later version right now, with batteries 1 and 4 in low, others off [14:01:15] but I guess it had all batteries online until at least Apollo 12 [14:01:41] yeah the Apollo 12 checklist has them all on [14:01:48] 14 also [14:01:50] so up to 14 [14:02:07] so we should change it [14:02:13] easily done [14:02:20] well "Verify" which implies that they were all on from before initial entry [14:02:25] yeah [14:02:56] do you want to change it? I'm in the dev branch [14:03:08] haha I had the code right in front of me, sure [14:03:09] lemsystem.cpp starting line 176 [14:03:20] ill change those to 2 [14:03:22] yep [14:03:29] for bats 2 and 3 [14:08:44] yeah [14:09:02] I wont change the ascent batts :P [14:15:34] this makes me want to properly implement the relay junction box and the deadface relay box :D [14:20:23] sure [14:27:38] hmm, so I tested the changes to batteries 2 & 3 and it works, but going to LM PWR - CSM and back seems to switch batteries 2 & 3 off [14:28:45] interesting [14:29:29] LEM_XLBControl::UpdateFlow [14:29:36] in lm_eps [14:30:29] the implementation seems to be lacking a bit of realism [14:32:43] in case -1 it sets 2 & 3 back to 0 [14:33:13] yeah [14:34:44] how it should be working is that the signal from the CSM can override the LM internal setting [14:34:57] and when CSM power is disconnected the LM power returns to what was set there [14:35:12] as usual a relay by relay simulation would solve this :D [14:37:09] hmm [14:37:10] so I guess its not a case of switching those to 2 as well [14:37:22] I think there actually is a wiring difference between missions [14:38:18] because you would want to have 2 & 3 off during CSM power ops [14:38:48] and then 2 & 3 back to on when the LM power is reset [14:38:55] that's only an Apollo 15 and later thing [14:39:07] ah ok [14:39:21] before I believe all LV taps should be switched on and off [14:39:24] but not 100% yet [14:39:42] funny that the EPS is modelling the J config while the panel is the earlier one [14:39:55] well partly modelling* [14:40:11] they probably only had the later AOH available [14:40:16] right [14:40:25] we have more information nowadays [14:41:29] I think one of the 1st thing we should do once we have the configurable systems in NASSP 9 is properly make the different versions of the LM EPS (systems & panel) [14:42:41] yeah [14:44:27] in the mean time, should I make case -1 in LEM_XLBControl::UpdateFlow turn all 4 back on? [14:47:07] researching that right now [14:50:36] what I am trying to figure out is two things [14:50:46] well, no [14:51:08] when CSM power is applied the state of the ECAs doesn't matter much [14:51:40] but when power is returned to the LM, should it go to LV or whatever was selected before [14:53:47] right [15:14:47] just set them all to LV I guess [15:15:13] a different solution would need the relay junction box properly implemented anyway [15:16:23] on Apollo 15 and later the LV taps were actually removed from batteries 2 and 3 [15:16:40] so that wouldn't work anyway [15:17:05] ok [15:19:39] https://www.icollector.com/Apollo-LM-Relay-Junction-Box_i22363936 [15:22:21] the CSM signal is the same as if you were holing the low voltage switch in the up position [15:22:28] holding* [15:23:28] that's the reset signal [15:23:44] so I think forcing them all to be in low voltage is correct [15:41:15] Ill make the change to LEM_XLBControl::UpdateFlow [15:41:59] on another topic, the LPD window FOV code we have sets the FOV to 60 all the time, I think we should rather handle this like the AOT view [15:42:18] which sets the FOV based on user screen resolution [15:42:54] without it, then the LPD markings are not accurate unless the LPD window markings are completly visibile without scrolling up and down [15:43:28] which is only true if you have a 16:9 screen I think [15:43:56] yes [15:43:57] but adding the same code for the FOC as the AOT has fixes this [15:44:01] FOV* [15:44:13] the person who figured out the AOT for us made some suggestions about that iirc [15:44:14] oapiCameraSetAperture(atan(tan(RAD*30.0)*min(h / 1080.0, 1.0))); [15:44:19] yeah [15:45:10] but he ended up saying it wasnt needed since we can do an LPD calibration, but imho we should use the FOV code. LPD calibrations were not meant for calibrating our sim's screen lol [15:45:51] and that was a feature added with Luminary 131 or so [15:46:08] yeah [15:46:43] and I believe you would benefit from this, aren't you using a 16:10 display? [15:47:17] indeed [15:47:52] I have tested the code with 1680x1050 resolution and its sets the FOV to 57 [15:48:11] and that makes the LPD markings line up perfectly with the HUD pitch scale [15:48:47] nice [15:49:06] I always had good LPD results, but I know that they were off a little bit on occasion [15:50:08] so at FOV 57 you will have accurate LPD markings, I think if you scroll the view however, you just have to go out and back into the LPD panel to re-center [15:50:34] yeah [15:50:38] no problem [15:50:41] yep [15:50:54] Ill commit that change along with the EPS changes [15:50:58] I can just about press the PRO button in the LPD screen [15:51:09] so rarely a need to scroll [15:51:14] right [16:01:10] tested a landing with 1024x768 (4:3) which gives an FOV of 43. Worked perfectly [16:01:52] with that I always had to scroll to the DSKY to see the numbers [16:02:03] I wonder if theres a hotkey to center the view [16:03:23] Home [16:03:28] "Return to default view direction." [16:03:34] so probably not centering it [16:03:40] hmm I think thats just direction [16:03:41] if it's not Home then there is no hotkey [16:03:45] yeah [16:04:19] home works in the VC for returning the view to center [16:37:34] dseagrav responded to my XRSound issue [16:38:52] I guess Ill tell him we are planning it but it may not be for a while that it gets implemented but well let him know when we do so that he can make the change to the autobuild [16:40:42] yes [16:50:18] morning! [16:50:36] hey Mike [16:50:43] what's up? [16:51:01] the classic multi hour research for one tiny change [16:51:05] hehehe [18:09:06] indy91, PR sent [18:09:37] I have various fixes in there along with the LM EPS and LPD FOV stuff [18:10:17] what's the panel direction one? [18:10:49] upper hatch, had to rotate it 180 degrees [18:11:13] ah [18:11:36] or else the open view did not match with what you see on the tunnel/hatch mesh [18:12:53] I also removed the annoying crash sound that you hear at interstage sep [18:13:08] I guess you wouldn't really hear anything there [18:14:24] yeah I highly doubt it made that noise [18:14:52] there are some pyros firing for sure [18:14:56] but in vacuum by that time [18:15:06] yeah [18:15:16] they might of felt a thump I guess [18:15:21] yeah [18:15:23] that's ok to be removed then [18:15:54] merged [18:16:13] thanks [18:30:05] Im suddenly getting that telecom bind fail message come randomly for some reason [18:42:11] hmm [18:42:13] weird [18:42:44] try closing Orbiter completely [18:42:52] I think I had it sometimes when I was immediately reloading [18:50:08] ah maybe it was still running somehow [18:50:32] Ive had it where I had to use the task manager to completely close Orbiter [18:50:34] Orbiter running twice could cause it [18:50:37] yeah [18:50:59] it's like the LM and S-IVB using the same frequencies, always causes issues :D [18:51:11] two CSMs are no good [18:51:55] yeah [18:53:42] speaking of LM and S-IVB, id like to figure out a way to delete the 2nd docking port on the LM after LM extraction. I guess is the LM->CSM->SIVB connector can return success to the LM after LM/SIVB sep command and use that to kill the docking port? [18:54:41] how far along is that, does the 2nd docking port still get created after reloading? [18:54:59] yeah its always there [18:55:03] hmm, ok [18:55:25] maybe you could add code in the LM timestep somewhere to check if the docking port is undocked [18:55:29] and then it deletes itself [18:55:29] its just defined in clbkSetClassCaps [18:55:40] ah right [18:58:45] the default Orbiter Shuttle should have the same thing [18:58:52] I'll check how it handles it [18:59:21] normal and ET docking ports get created in the constructor [18:59:37] in the separateTank function it does [18:59:45] if (hDockET) { [18:59:45] Undock (1); [18:59:46] DelDock (hDockET); [18:59:46] hDockET = NULL; [18:59:46] } [19:00:11] ah [19:00:13] and in clbkPostCreation [19:00:23] if (status < 3) { [19:00:24] }else [19:00:29] if (hDockET) { [19:00:30] DelDock (hDockET); // remove the ET docking port [19:00:31] hDockET = NULL; [19:00:31] } [19:00:36] so it gets deleted in post creation [19:00:39] ok [19:00:49] post creation is after loading? [19:00:51] I always forget [19:01:15] yes [19:01:17] after loading [19:01:25] so that is the appropiate place for it [19:01:30] sounds good [19:01:36] got to go out for a bit but Ill check look through that when I get back [19:01:41] ok [19:02:06] in doubt we need to add a flag for "separated from the SLA" [19:02:10] and then make a check on that [19:02:25] not sure if the docking has properly happened in PostCreation already [19:02:27] maybe it has [19:38:48] cya [11:40:58] hey [11:41:34] hey Alex [11:42:41] I think Ive managed to figure out the docking port deletion [11:43:29] ah, very nice [11:43:32] and the docking port is now defined in the constructor [11:43:45] both of them [11:43:49] yes [11:43:55] and deleted in post creation? [11:44:20] yes, but also in the timestep [11:44:31] using the flag for if separated [11:44:54] ah, we already had that [11:44:58] what was it used for? [11:45:45] or did you just add that [11:46:02] hust added a bool SepFromSLA; [11:46:08] just* [11:47:31] anyways Ill push what I have if you want to have a look [11:48:14] ok [11:48:24] I almost wonder if we even need a flag for that [11:48:45] because, the docking port should never exist in the undocked state [11:49:00] it gets docked together basically when the LM gets created [11:49:08] right [11:49:19] so the condition "is docked" is almost enough to delete it [11:49:50] https://github.com/jalexb88/NASSP/commit/ccdf4584ddb9fae2464dd63ec30b2ab0217b97b2 [11:50:01] a check on that would require it to be docked in post creation already [11:50:56] if ((!DockingStatus(1)) || (stage > 1)) { [11:50:58] hahaha [11:51:03] now this is creative thinking [11:51:14] separating the ascent stage while the LM is still in the SLA :D [11:51:29] the LM is only attached on the descent state I guess [11:52:21] I know I had tested it so I added it to make that work :p [11:53:33] yeah [11:53:40] I wonder if this was ever considered in any way [11:54:00] ascent stage alone is rather useless for most things [11:55:46] I put this in prestep but I dont know if post step would be better [11:56:38] should be ok [11:56:41] hmm [11:57:06] I wonder what this ascent stage case does to the connector [11:57:35] I'm pretty sure deleting a docking port currently in use undocks before deleting it [11:57:39] so that should be fine then [11:57:54] the undocking of the LM/SLA connector is done upon a docking event [11:59:36] and that stage thing is also the reason why we do need the flag [12:00:52] the descent stage isn't docked to the SLA though, right? [12:01:02] also, the docking pots used to both be in clbkSetClassCaps... I think then they would of been created after the connectors were registered in init ie: RegisterConnector(1, &LEMToSLAConnector); [12:01:03] when you stage before SLA sep [12:01:12] no not the descent stage [12:01:27] its in the right position but not docked [12:01:44] registering connectors luckily doesn't require them to exist yet [12:01:49] ah ok [12:01:51] it just registers the docking port ID [12:02:01] 0 or 1 in all cases right now, more aren't supported [12:02:01] but now they are before anyway [12:02:06] yeah [12:03:06] I was hoping in might of caused that CTD but maybe not [12:04:06] yeah, probably not [12:04:14] maybe something else with the connectors, but not that [12:04:26] right [12:05:19] I can add an undock(1) for the ascent stage case to be sure [12:05:51] to do what? [12:06:28] to be sure its undcoked before the deldock in the case of ascent stage sep [12:06:41] undocked* [12:08:19] or if (DockingStatus(1)) Undock(1) [12:08:38] DelDock "Any object docked at the port will be undocked before the docking port is deleted." [12:08:44] ah ok [12:08:49] DelDock takes care of it [12:08:52] good [12:09:18] and it's 99% likely that it will call the docking event callback for that [12:09:44] if not that probably would be an Orbiter bug [12:10:25] the only CTD from that would be if you try to command a LM ejection after the LM has already staged [12:10:51] but as I said, I very much doubt that is the case [12:12:40] I also moved SetDockMode(0); from SetClassCaps to the constructor [12:14:02] ok [12:14:05] whatever we need that for [12:14:12] maybe the dockingprobe code needs it [12:14:30] yeah [12:16:37] a bit more testing and I will PR this [12:17:13] but so far so good, Ive already tested it quite a bit last night, as you can see even trying weird cases like ascent stage sep from the SIVB :D [12:17:53] yeah [12:17:57] looks good from my side [12:18:26] I found separation procedures for TLC LM staging [12:18:29] but not in the SLA [12:18:41] I'm sure there are mission rules about this [12:20:14] ah yes [12:20:18] Apollo 11 mission rules [12:20:43] 2-12C "If normal LM ejection is not successful, no attempt will be made to man the LM and 'stage' to recover the ascent stage." [12:20:50] but this might not be the same for all missions [12:24:09] same mission rule for all missions I think [12:24:14] I checked 9, 12 and 17 [12:25:33] but it probably depends on the situation [12:27:42] what if you have a complete fuel cell failure between TLI and TD&E? [12:27:43] you probably want to get the LM at all cost then [12:27:44] yeah [12:28:18] speaking of mission rules [12:28:33] there is a wrong Apollo 8 direct abort maneuver [12:28:34] TLI+35 [12:29:04] they got a Maneuver PAD for a 4800 ft/s maneuver and the P37 numbers for the 24h hour faster return (7800 ft/s) [12:29:26] not sure what that is even based on, max DV is 10000 ft/s. Why go slower??? [12:30:21] the 7800 ft/s solution doesn't exceed the return velocity constraint either [12:35:13] using the slower solution is in agreement with the operational abort plan though [12:38:59] weird [12:40:32] maybe there is some other rule with maximum desired SPS burntime [12:51:19] now I too am wondering if I need that sep flag lol [12:52:43] why not: [12:52:48] timestep: [12:52:49] if (docksla && ((!DockingStatus(1)) || (stage > 1))) { [12:52:50] DelDock(docksla); [12:52:50] docksla = NULL; [12:52:51] } [12:52:57] post-creation: [12:53:06] if (docksla && !DockingStatus(1)) { [12:53:07] DelDock(docksla); [12:53:07] docksla = NULL; [12:53:08] } [13:08:50] yep it works [13:09:51] what does DockingStatus return for a docking port that doesn't exist anymore? [13:10:32] well it has to get by docksla 1st anyway? [13:10:58] yeah, I was just wondering [13:11:14] good question [13:11:43] param port docking port index (>= 0) [13:12:16] probably returns 0? [13:13:20] I can test with a test with a debug string [13:13:25] in the mean time: [13:13:34] https://www.dropbox.com/s/gmje2uclxete0h8/Screenshot%202019-05-31%2009.09.22.png?dl=0 [13:13:59] "Houston, we have LM extraction...uh wait" [13:15:17] partial extraction, what does the mission rule say, don't do that... oh [13:16:59] I guess the check on docksla should stay [13:17:04] Alternate universe Apollo 11 [13:17:06] then it doesn't matter how dockingstatus reacts [13:17:25] yeah, to me it looks safer [13:17:34] I mean, you can still crash the ascent stage into the Moon, if you had any sensors there to measure the impact [13:39:27] oh, can you add the same kind of code to the docking module? [13:39:29] ASTP project [13:40:20] there is an empty PreStep function [13:40:31] and you would have to add the post creation [13:42:05] sure [13:42:08] needs the exact same function name and format or else the overload doesn't work [13:42:43] I'll be gone for a few hours [13:42:47] cya later! [13:51:00] .tell indy91, dont we want to keep both docking ports on the ASTP anyway? Anyway sent the PR for now [16:18:11] morning! [16:25:17] hey Mike [16:29:54] hey [16:29:55] what's up? [16:49:13] more fixing of things here and there, you? [16:54:20] work work work [16:54:30] need to finish up those CDU models at some point [16:58:14] good evening [16:59:27] well, the SLA "docking port" and the one for the Soyuz are not the same [16:59:40] or rather, there currently is no docking port for the Soyuz [16:59:58] coordinate system wise it is almost on the same level, but not quite [17:00:22] hey Niklas [17:00:23] ah ok [17:00:51] hey Mike [17:01:04] SLA Truss attach point at 585.2 inches [17:01:12] if you wait a bit before merging the PR I can add the ATSP stuff [17:01:13] Soyuz/DM docking interface at 588.0 inches [17:01:53] yes that would be good [17:02:23] not sure how those two docking ports will be handled in the future [17:02:37] maybe by only having one active at a time [17:02:47] SLA attach point gets deleted, docking interface created [17:02:50] or something like that [17:02:51] eventually [17:03:14] AGC couldn't handle a docked Soyuz anyway :D [17:03:22] none of the versions we have at least [17:03:31] haha [17:03:34] that's the docked Skylab DAP reused [17:03:37] someday maybe [17:04:14] CSM + DM should work quite nicely by assuming the DM is a LM ascent stage [17:13:47] indy91, PR amended [17:15:13] and merged [17:15:34] thanks [17:18:48] on another topic, I figured out why my DEVMESHHANDLES are not getting initialized at LM initial creation, and only at LM loading from a scenario file [17:19:18] that caused the issue where the astronaut mesh appears in the LM when it gets 1st created on the SIVB [17:20:50] ah, good [17:20:52] but anyway, in clbkVisualCreated, GetDevMesh(vis, ascidx); does not work as expected because I think the ascidx is not yet initialized at that point. But if loading from the scenario file, it is initialized by then [17:24:28] so I tired as a test to call SetLmVesselDockStage() from clbkSetClassCaps and that makes it work correctly, but probably breaks a whole bunch of stuff too haha [17:25:09] probably not a good solution and I dont know if this is going to be easy to fix [17:25:59] the reason I tried it in clbkSetClassCaps is becasue thats where the deltaglider calls all the stuff in our SetLmVesselDockStage(), etc [17:28:00] hmm [17:28:07] order of things is an eternal problem in NASSP :D [17:28:14] so much depends on this saved in the scenario [17:28:28] maybe doing something in post creation would help? [17:30:37] well, I think the only way would be to initialize the meshes before clbkVisualCreated, which seems to me like itself is called pretty early seeing as the meshes indexes dont seem loaded yet [17:31:09] or is there a way to recall clbkVisualCreated after loading? [17:36:14] no, Orbiter calls the clbk functions [17:36:25] yeah thats what I thought [17:38:18] anyway I confirmed with some debug strings that it is the mesh indexes all saying -1 still when it passes through clbkVisualCreated at LM initial creation [17:38:36] and they say 0 as expected when loading the LM from a scenario [17:39:00] good morning [17:39:41] hey [17:40:42] have you seen the 11 checklists on the flight journal? [17:41:35] yes, I have [17:41:52] pretty awesome [17:44:24] indy91, anyways I certainly dont think we should re-order all the LM code just for that issue...its pretty minor, all it means is the LM astronauts will be visible all the time until scenario reload [17:44:32] thanks [17:44:50] ok [17:45:05] its much easier to read in one pdf [17:47:00] yeah [18:40:21] It wont fix the issue but I think I can make clbkVisualCreated by not calling say GetDevMesh(vis, ascidx); if ascidx is not yet initialized [18:40:36] make clbkVisualCreated safer* [18:51:02] probably a good idea [18:54:08] hmm it seems to not like the check though [18:55:24] hmm I know [18:55:55] I was doing if (ascidx) and not if (ascidx != -1) [19:34:47] cya!' [12:31:38] hey [12:59:02] hey Alex [13:01:52] I made a PR with a few fixes [13:13:48] I am also working on sending the LowRes bool and payload visibility flags to the abort vessels [13:21:27] also, right now the abort vessel's SLA panels dont extended like the SIVB vessel, is that realistic? [13:23:02] hmm [13:23:05] which do you mean? [13:24:10] if you abort during launch, the SIVB of the abort vessel's SLA panels stay closed [13:24:26] probably should open [13:24:38] always opens when CSM and S-IVB separate [13:24:51] not when you abort with the CM [13:24:57] yeah [13:27:58] guess those just don't have the animation [14:29:57] I think just not loading the SLA panel meshes if SM is not present is good enough [14:35:02] I mean everything would be happening so fast during a launch abort, you'd hardly notice the animation [14:35:22] so yeah, I just have it display the SLA's if the SM bool is true [14:48:59] wouldn't that make the SLA just disappear at the abort? [14:49:15] sometimes I like watching the whole thing from the outside, the SLA vanishing would look weird [15:05:13] yeah [15:06:08] its going to be quite the job to get the animations in all 3 abort vessels but Ill see what I can do [15:06:39] you don't have to [15:07:02] the other thing is with all the dynamic forces on the vehicle I am sure in reality they would rip off much quicker then a normal CSM separation [15:07:04] and if you do, can you not reused a lot of the S-IVB code code? [15:07:21] reuse* [15:07:26] yeah [15:07:41] I could set it to open much quicker then normal CSM sep [15:07:55] or maybe depending on airspeed [15:09:14] I'm sure there are studies about this [15:09:38] probably making it dependent on acceleration is best [15:10:12] ah well I guess there would be no acceleration anyway lol [15:12:34] https://web.archive.org/web/20100524024909/http://ntrs.nasa.gov/archive/nasa/casi.ntrs.nasa.gov/19740072593_1974072593.pdf [15:12:36] here would be one [15:12:43] not sure if there is anything useful in it [15:13:39] the documents referenced there would be useful [15:13:54] but they are memos that are probably not available [15:23:58] thanks [15:37:39] are scenario file variables already loaded by clbkSetClassCaps? [15:46:13] only post creation is after loading [16:02:04] yeah [16:02:20] getting there with the animation code [16:02:45] not too hard, just lots of copy/paste lol [16:18:22] and works [17:09:19] all different types of payloads will now be visible on the abort vessels (with panels opened) [17:15:21] I think what Ill do is speed up the panel opening speed just for the aborts with the full stack (S1C flight) which would have the most exposure to high dynamic pressures on the vehicle [17:15:44] and the other 2 abort vessels Ill leave at the normal panel opening speed [17:34:20] think I found a bug, if you abort shortly before launch and save/reload, at ignition you get a CTD: [17:34:35] https://www.dropbox.com/s/m22dbghq6kp4924/Screenshot%202019-06-01%2012.49.47.png?dl=0 [17:34:50] doesnt happen if you dont save/reload [17:41:27] ah good find [17:41:55] shouldn't be too hard to fix [17:49:32] alright so I got Sat5Abort1 done, now just have to do the other 2 [17:51:00] new features are: save/loading, LowRes flag and payload type handling and animated panel opening. Aborts should be more interesting now [19:29:52] awesome [19:30:36] I hope we make this kind of redundant code unnessary some day [19:31:15] Im about to push to my repo what I have so far (not PR yet), Sat5Abort1 & 2 are done and I will probably finish Sat5Abort3 tomorrow [19:32:03] yeah agreed [19:32:22] https://github.com/jalexb88/NASSP/commit/95944bab2dbf9d877372a973ad96bd08f86cc2a8 [13:47:36] hey [13:48:11] wow that's a lot of code for the abort vehicles [14:01:14] hey Niklas [14:01:40] yeah [14:01:54] I also managed to get working something we were trying a while back [14:02:40] using a docking port to attach to Saturn 5 to the ML [14:03:13] oh that's pretty great [14:03:20] what was the problem before and how did you overcome it? [14:03:24] all the stuff that was preventing it from working now is fixed, like GetWeightVector() not working right [14:03:38] that was the showstopper before [14:03:47] but now that thats fixed its working great [14:04:36] Ive already have it working and tested a full launch+ insertion [14:04:46] huh [14:04:58] we have a workaround for GetWeightVector() [14:05:47] so I wonder why that wouldn't be working [14:05:55] well its fixed in the beta I think, but yes for Orbiter 2016 stable I think it still uses the workaround, right? [14:06:14] oh its because my previous work on that was before you implemented that workaround [14:06:20] the code is still there, but it only gets used if the Orbiter function returns 0 [14:07:35] did we not have the workaround in place when you tried this the last time? [14:07:53] nope [14:07:54] previously we had that thing to unsettle the vessel with a small force, triggering the gravity calculation [14:08:22] in any case an important step for NASSP 9 you achieved :D [14:09:07] before I forget it, let me try to fix that bug you found [14:09:31] I remember quite well actually, the problem I was having is that I had the stack properly docked to the ML but the addforce trick was not working with docked vehicles on the ground [14:09:46] and there was no workaround yet [14:10:05] ah, I see [14:11:38] so abort before launch, then saving/loading [14:11:56] probably after GRR (T-17s)? [14:12:11] and saving/loading before T-0? [14:12:51] yeah I think its save/loading before T-0 [14:13:19] d you still have the link to the CTD screenshot? [14:13:23] sure [14:13:29] got the CTD, but the VS just-in-time debugging is still not working for me [14:14:02] I use Hexchat, always has the last 1000 lines of conversations saved [14:14:18] yeah [14:15:22] so about the ML/saturn docking port, its handled exactly like the LM/SLA docking port, deleted itself when undocking detected [14:16:04] and of course the undocking call is in the ML project at correct spot STATE_LIFTOFF [14:16:12] it's probably the ML code actually [14:16:35] calls that SIThrustLevel function for the liftoff stream [14:16:53] yeah that would make sense [14:16:54] I'll just add a stage check there [14:18:14] yeah, I would imagine the docking stages together thing should work like that [14:18:31] I think I've had something quite similar with the docked S-IB + S-IVB tests I did [14:19:12] yeah, that check fixed the CTD [14:20:40] and pushed [14:20:51] thanks [14:26:47] so SV accuracy was about 1100 at insertion, dont know if that better then before [14:26:59] definitely not worse [14:31:40] not sure really [14:32:33] better than in my S-IB+S-IVB test [14:35:08] I'm not really sure how and why docked vessels make a worse state vector [14:35:33] maybe some touchdown points or staging stuff that somehow isn't considered in the accelerometers [14:35:35] not sure [14:57:27] Ive been using a testing weight of 3000000000 kg for the ML lol [14:57:58] definitely makes it rock solid [14:58:13] not moving at launch [14:58:24] but maybe thats overkill [14:59:09] a fews zeros too many I think :D [14:59:14] 3,730,000 kg [14:59:17] would be right [14:59:23] Shuttle era MLP [14:59:44] yeah [15:00:09] would the Apollo LUT be heavier? [15:00:58] probably [15:02:25] I might go a bit heavier then that though just to ensure stability of the pad at launch [15:02:59] yes, that is more important [15:03:30] and the real one had probably a very sturdy foundation which is probably more important than weight, but cant really be replicated in Orbiter 2016 [15:06:01] I think SSU used and accurate weight for the MLP, but then again they attach the shuttle to it, not dock [15:06:22] which probably means its physics are not very relevant until release [15:07:27] yeah, we don't have that luxury [15:07:45] 7000000 seems to work good [15:07:49] kg [15:07:57] and that Shuttle MLP mass is missing the LUT [15:37:12] optics switches in the CSM [15:37:16] NASSP 8, yes or no? [15:37:30] still always annoys me how wrong that is [15:38:12] I was just going through old pics and found this, that's why I am asking :D [15:38:12] https://i.imgur.com/dTMT1is.png [15:43:42] you do the panel change, I can take care of the rest [15:44:13] including the Checklist MFD [15:46:51] oh yes I will get that done for sure for NASSP 8 [15:47:45] and the full screen telescope/sextant for the full 60 degrees [15:48:28] just send me the bitmap when it's done [15:48:56] sure [15:51:28] I still want to confirm if Apollo 7 flew in the updated config of those switches [15:52:32] an Apollo 7 checklist actually calls them both "Optics Mode" [15:52:50] the "Zero" switch is usually referred to as just that, the zero switch, so I need to check [15:55:04] the config we use is of course from an early Block II Systems Handbook [15:55:08] probably better to model the 8-11 one anyway [15:55:23] 8-17* [15:55:50] yes [16:17:21] my ML/saturn docking port implementation is essentially finished, just need to add the dockinfo to all the scenarios [16:20:44] Ive also removed the AddForce calls for the saturn V in the LVDC [16:20:54] which is no longer needed [16:32:57] the hold down force? [16:33:39] and it just does the undocking at T-0? [16:36:24] how does this work with aborts? [16:36:30] pad aborts* [16:38:06] yes [16:38:15] pad aborts all tested [16:39:10] they actually work better, addforce previously interfered with pad aborts at ignition [16:39:33] oh [16:40:40] I guess the ML undocks anyway, even in the case of an abort [16:40:53] no proper code for that yet [16:44:07] the countdown would stop based on a signal from the EDS [16:48:52] well, very weird: The Apollo 14 launch scenario has a CTD with the new docking ports added to it, the fix? Make it Kitty-Hawk instead of Kitty Hawk lol [16:49:19] it doesnt like when I use DOCKINFO 0:1,Kitty Hawk [16:49:26] only works with the - [16:50:07] but thats very weird because I have a whole set of Apollo 14 scenarios that use Kitty Hawk and the LM docked together and no issues [16:50:18] does it use the name differently there? [16:50:35] same name Kitty Hawk [16:50:51] DOCKINFO 0:0,Kitty Hawk [16:50:53] yeah [16:53:09] is using blank spaces for hyphenated vessel names maybe not safe? [16:53:36] hmm, not sure [16:53:47] I remember there was some issue with this a while back [16:53:50] can't really remember [16:55:40] you know now that I think about it, the CTD I was getting in the past few weeks (the one we think has to do with connectors) maybe related to this [16:56:07] because I think the one thing in common was it was just my Apollo 14 docked scenarios doing it at startup [16:58:46] unless you've noticed that CTD in other missions? [17:02:03] hmm initial tests im doing seem to confirm this, I changed all the vessel names to Kitty-Hawk in my Apollo 14 scenarios [17:02:24] CTD seems to be gone [17:02:53] when did that CTD happen? [17:03:08] I did get it, but I'm not sure if it was only with your Apollo 14 scenario [17:03:22] very possible that the issue was related to that [17:06:18] happens at loading [17:07:55] might happen on Apollo 12 scenarios, too [17:08:12] I have one I can check [17:10:24] yep [17:10:42] the LM CTD or the ML/Saturn CTD? [17:10:56] LM CTD [17:11:22] but I am sure the ML/Saturn would CTD on Apollo 12 too [17:12:26] probably some case where it cuts off the vessel name [17:12:35] and then tries to access "Kitty" or "Yankee" [17:12:44] could probably fixed in some loading code of us [17:13:14] yes the ML/Saturn CTD's with Apollo 12 [17:14:04] and doesnt CTD when I add the - [17:14:14] yeah [17:14:28] that would be better then adding all the - back :D [17:15:32] if the problem is the ML code then it either might load the LV name wrong [17:15:42] or it does the string comparison wrong [17:15:54] in DoFirstTimestep maybe [17:20:16] I was indeed using an Apollo 14 scenario from you where I got that CTD [17:22:01] but that can't have been the ML [17:22:16] those vehicles get deleted when the Saturn is far away [17:22:16] no [17:22:21] It happens in the LEM too [17:23:24] so the LM and ML are both reading the Saturn vessel name wrong [17:23:33] when there is a - [17:23:37] have you confirmed that yet? [17:23:41] yes [17:23:47] I have made various tests [17:23:54] I mean by debugging [17:24:04] and figuring out where exactly in the code the problem is [17:24:40] I have tried debbuging but it only points to ntdll.dll and such [17:24:54] "attach to process" [17:26:43] so it is something that is reading the vessel name [17:26:53] I am quite sure yes [17:27:17] its just not liking the blank space [17:27:54] hmm [17:34:42] I wonder if it could also be an Orbiter issue rather than a NASSP one [17:35:39] maybe [17:39:41] we could just put all the - back in the code/scenarios [17:40:03] I think its just ARCore.cpp and ProjectApolloMFD.cpp that need them [17:42:52] and your're probably right, all default Orbiter scenario's vessel's seem to have at least a _ like name_name [17:46:10] we should ask the doctor [17:47:11] yeah [17:47:40] I'm trying to at least figure out where roughly the CTD happens [17:48:46] right [17:48:57] full debug mode? [17:50:23] yes, and a debug point at the start of each callback function in the LM [17:50:34] but the CTD is inconsistent, of course [17:50:38] trying to trigger it again [17:51:53] ugh I know [17:52:37] it was so annoying trying to reproduce it in the LM, the ML however is consistent [17:52:53] but also the ntdll thing? [17:53:19] maybe you could also try to find it by adding a debug breakpoint in the constructor and each callback function? [17:53:31] just to get ahead of the CTD [17:53:38] and then manually get your way to it :D [17:54:08] it definitely happened during loading the LM for me [17:54:15] Orbiter loading the LM [17:54:24] but I don't know yet if it's the LM constructor, or later [17:58:08] oh [17:58:10] got a CTD [17:58:19] in InitDirectSound [17:59:42] I had this before [18:00:04] alternating with the ntdll CTD without any usable info, haha [18:00:32] well, this is ntdll as well [18:02:26] just re-tested the ML CTD and its ntdll [18:12:28] hmm [18:12:47] there is a null pointer whose address is used [18:13:06] that should usually cause a CTD. Not sure if it's not misleading though [18:13:59] yeah, I think the pointer itself isn't zero so all good [18:29:54] anyways, ill be out for a bit, cya later [11:43:05] hey [11:43:22] I discovered some fairly major EDS issues [11:44:28] hey Niklas [11:44:40] oh really? [11:44:50] btw I PR'd my abort vessel changes [11:44:54] first, EDS bus 2 has no power at all [11:48:34] the circuit breaker for that needs some two way logic [11:48:47] battery C -> CB -> EDS CB [11:49:53] would be the normal flow [11:49:57] which we currently don't have [11:50:03] the only thing we have is [11:50:11] battery charger -> CB -> battery C [11:50:33] because this stuff gets rewired in the battery charger class I'll add some code there to make this work right [11:50:47] ok [11:51:02] need to make sure I'm not creating any circular WireTo [11:51:14] because it changes direction [11:51:27] also, creates some interesting wiring, not sure if that is really right [11:51:41] like you can power anything the battery C would be powering with the battery charger [11:51:42] I think [11:51:58] and the other thing is that auto aborts need double inverted logic and not direct logic [11:52:14] what I mean is that loosing two EDS buses should cause an auto abort [11:52:35] and we have it right now that loosing two EDS buses makes an auto abort impossible [11:53:29] step 1 in a main bus loss checklist during launch is EDS Auto - Off [11:53:39] because you are quite close to a false auto abort in that case [11:54:42] these changes shouldn't cause any issues in old scenarios [11:54:57] not even if you had a scenario saved during launch :D [11:57:49] I discovered this all because of the ML stuff we were talking about [11:58:11] and how EDS Power to Off should inhibit the launch [11:58:31] then I implemented that inverted logic and opened 1 EDS breaker [11:58:39] which caused an abort. That didn't seem right :D [11:59:09] strange that I never discovered before that EDS bus 2 had no power [12:02:18] interesting stuff indeed [12:05:42] oh, and here a video of Mike trying P63 with his hardware simulated AGC plus AGC Monitor: https://www.youtube.com/watch?v=RWkSH0wxy80 [12:06:00] based on the pre P63 core file I created from a veeeeeery old scenario [12:06:32] there was a moment where I thought "oh no, why is the descent rate at PDI so high" [12:07:12] simply the first time we tried to land the LM with the Virtual AGC [12:08:01] oh cool [12:25:02] about the vessel name thing, do you mind if I add the hyphen to our scenarios (and where needed in code)? [12:25:38] should only be relevant to Apollo 12 and 14 [12:44:33] yeah, I think that's a good idea, I haven't really been able to figure out the issue [12:44:52] old Apollo 12 and 14 scenarios will have problems with the PAMFD [12:45:08] but you would only need to rename the vessels there as well [12:45:58] yes [12:46:12] and RTCC MFD just can't do mission auto detection [12:48:05] I will do that with my up-coming ML/Saturn dock update. All launch scenarios will be updated anyway to add the DOCKINFO lines [12:48:22] so that feature will be in NASSP 8? [12:48:37] guess it doesn't cause any big problems [12:48:52] sure, its not to big of a change [12:49:01] just breaks old prelaunch scenarios :P [12:49:31] yeah, well not really actually, if the DOCKINFO is not present in the scenario, it will just liftoff a bit quicker [12:50:05] the worst issue with that is that P11 won't be running until after the liftoff has already happened [12:50:19] right [12:51:00] I can update the mission scenario pre-launch scenarios too [12:51:11] we probably should stop doing changes that break old scenarios when we switch from alpha to beta [12:52:24] agreed [12:53:58] oh [12:54:01] "Charlie Brown" [12:54:05] Apollo 10 [12:54:06] another one [12:54:18] hmm [12:54:26] might just be legacy code [12:54:46] nowadays the CSM is always called AS-505 [12:55:04] that is inconsistent anyway [12:55:15] early missions use mission number, later ones use the vehicle name [13:01:42] so the main reason Id like to get the ML docking port is for proper pad abort behavior after ignition, (add-force caused the CM to go shooting into the ground) [13:04:42] right [15:43:12] hmm [15:43:30] so in our circuit breaker class there is a "todo" [15:43:43] it resets the power load with each call of DrawPower [15:43:53] "\todo Note that this will not work properly if more than one source draws from a CB. [15:43:54] " [15:44:10] it calls the source power draw each time [15:44:16] so it's not like it's not drawing the power [15:44:21] it is just not indicating it right [15:44:56] everything that draws power from EntryBatteryC goes through BatCPWRCircuitBraker [15:45:03] 6 circuit breakers are connected to BatCPWRCircuitBraker [15:45:45] due to the wrong power draw number in the circuit breaker class this leads to the EntryBatteryC current being correct, but BatCPWRCircuitBraker current only shows the power draw from one source [15:45:56] from one connect e-system I mean [15:46:05] probably the last one that does the DrawPower [15:46:32] quite strange, I'm sure there is a reason for doing it this way, but it leads to wrong indicated current on the DC Amp meter [15:48:33] interesting [15:50:34] http://www.ibiblio.org/mscorbit/mscforum/index.php?topic=725 [15:50:40] this is referencing it [16:05:23] ah, CircuitBrakerSwitch has no function called by the PanelSDK which would reset the power load [16:05:41] I think that's why it is done there [16:05:59] no function called each timestep [16:08:47] probably goes beyond the scope of this EDS bus fix/slight rewiring [16:14:42] haha yeah I bet [16:15:32] Here is my initial commit for the ML/Saturn docking port [16:15:33] https://github.com/jalexb88/NASSP/commit/1435b5999ee36d04b986dbeee5a85afcfb47c489 [16:15:39] still some testing left to do [16:18:12] when does the docking port get deleted [16:18:13] lift off? [16:18:22] becuase you also have some code in SeparateStage [16:19:40] oh [16:19:47] is that for pad abort? [16:20:05] yes [16:20:58] STATE_LIFTOFF has the normal liftoff undocking command [16:21:13] then it gets deleted at the top of prestep [16:27:17] morning! [16:29:16] hey Mike [16:30:50] hey [16:36:35] what's up? [16:37:03] saw your P63 video, pretty cool! [16:38:01] best part is the way you implemented the panel switches :D [16:39:13] hehehehe [16:39:19] thanks! :D [16:47:10] hmm, I am not sure I am going to PR changes [16:47:26] I cant quite get it as stable as how we have it so far [16:47:34] might have to wait for NASSP 9 [16:49:24] which part isn't stable? [16:50:34] well, the ML has new touchdown points and those are hard to fine-tune to be stable with the docked Saturn V [16:51:07] the reality is the TD points that are on the Saturn V right now are actually pretty good, might be safer just not to mess with that [16:53:08] ok [16:53:17] I have an idea for the pad abort issue [16:53:21] the AddForce [16:53:29] add a check on the stage in the connector code [16:54:14] hmm [16:54:20] why is that even an issue [16:54:27] the LVDC calls that function [16:54:33] the LVDC shouldn't be doing any timesteps then [16:54:51] after an abort [16:57:36] I know I thought the same but it seems to [16:58:05] I think AddForce only lives for one timestep [16:58:24] so maybe that last timestep where the LVDC still does a timestep is the issue? [16:58:50] "note The force is applied only for the next time step." [16:58:54] is that a clude? [16:59:29] clue* [16:59:49] I mean, it's quite a gigantic force for a LEV [16:59:57] even if it's just one timestep [17:01:24] another thing we should add, since its now possible to fire RCS on the pad, is time accel limit of 10x through all of prelaunch [17:01:56] because RCS makes the vehicle active for a few seconds before settling [17:02:14] and if you have higher then 10x, the vehicle might tip over [17:03:00] 3708 m/s² [17:03:07] 5 F-1 engines on the LEV [17:03:22] lol that will do it [17:03:49] 61.8 /s velocity change in 1/60 seconds [17:04:48] I'll try to think of another way to prevent it [18:28:25] indy91, PR sent, just the vessel name changes [18:28:51] I put my ML/Saturn dock work in a dev branch for now which Ill save for NASSP 9 [18:55:02] cya [15:47:12] good evening [15:49:25] hey [15:53:06] just some final testing for the EDS fixes [15:53:52] oh nice [15:54:34] Ive been re-organizing the touchdown point functions in Saturn. The touchdown points themselves have not changed but I made a single "ConfigTouchdownPoints()" function which is overloaded with all the required values, and is called from every stage requiring it. This makes the code a bit cleaner, not having the whole touchdown points function at every stage [15:54:46] like this: [15:54:56] I like making code cleaner [15:55:02] https://www.dropbox.com/s/yn4ngvyr1z4t1jp/Screenshot%202019-06-04%2011.54.40.png?dl=0 [15:55:40] yeah, I guess it's the same basic setup for all stages [15:56:04] yes [15:57:02] the LM is a bit different as the whole structure of the TD points differ from stage to stage (not all have 4 points) [15:58:33] I sent the STI Information Desk an email, requesting the LM Data Book [15:58:55] the two PDFs we got so far were about the RCS and changes from mission to mission [15:59:06] only later we discovered that they have more [15:59:15] could just be part 2 of it, which we already have [15:59:17] but I did try something: I made the hover stage TD update itself once at touchdown with the actual mass of the LM [15:59:18] redlines etc. [15:59:49] oh, I guess that makes things more stable [16:00:27] yeah, well right now its mass is empty mass + average fuel mass at landing [16:01:17] which works pretty good anyway, but I guess this would be good for the case of some Top Gun pilot that manages to land with like 20% fuel left or whatever :D [16:02:08] \"For whom does the bell toll?\" ... \"Delta Guidance\" ... \"Oh!\" [16:02:33] title of a Tindallgram about Delta Guidance which would be more fuel efficient :D [16:03:40] haha [16:07:33] oh, wanted to mention: When in the CM stage, separating the apex cover with the docking probe still attached, causes a CTD [16:08:37] good to know [16:08:44] shouldn't be too hard to track down [16:09:08] I think when I implemented the SECS I kind of suspected there could be trouble there, haha [16:10:39] will investigate that next [16:10:59] DC indicators [16:11:13] ok [16:11:15] as I said before the current will be displayed wrong for that [16:11:33] voltage and current are actually measured at different points [16:11:41] for us it's in the same place though [16:11:51] so I think I'll make that directly BatteryC [16:12:16] right now its measured on the CB that connects the battery to everything [16:12:42] which was mostly right before, but with the wiring changes not anymore [16:13:33] https://www.dropbox.com/s/b2jg44y3zdr3qzv/Screenshot%202019-06-04%2012.12.58.png?dl=0 [16:14:04] oh, in CMChute [16:14:37] maybe the wrong mode is given to it or so [16:15:08] yeah [16:15:36] have to check how the thing gets created [16:16:19] brb [16:50:31] back [16:54:43] what is your opinion on the saturn_launch.wav file that gets played at liftoff? I personally always found it a bit over done and prefer to hear the normal main engine sound come on instead. For that reason I modified that sound file to not include the initial launch sound effects, but leaving the voice calls part after it alone. [16:55:59] Is this something that I should commit, or leave as-is in? [17:09:30] let me listen to the sound first [17:09:56] the current one [17:13:07] ok [17:13:57] personally I find it too loud, and the drop-off to the regular engine sound after its finished playing is too un-natural [17:14:30] but I wont change it if the general consensus wants it [17:15:07] well, being so close to the tower did have an effect [17:15:20] right [17:15:34] but our version might still overdo it [17:15:49] The Apollo 8 folder has a better version [17:15:54] and the astronauts didn't hear much anyway, it's more like they felt it [17:16:03] so which perspective are we using? [17:16:04] yeah [17:17:47] ok listened to it closely, I would agree that it's a bit overdone [17:28:23] I like how the most difficult part right now is triggering S-IC engine failures to test the EDS :D [17:28:42] I think I have an improved way of adding scheduled failures in the scenario though [17:33:58] ok, done [17:34:06] now the apex cover CTD [17:37:33] AlexB_88, what did you do to trigger this? [17:37:44] was it during an abort or normal entry [17:37:58] abort [17:38:18] but it could happen during normal entry too I guess, if you forgot to jettison the docking probe [17:38:39] yeah [17:38:52] the LET should be pulling the docking probe away [17:39:14] the way I came to it was doing a CSM sep, not abort from the Saturn, so it was not technically registered as an abort, and so the docking probe was not jettisoned at LET jettison [17:39:38] you mean CM/SM sep? [17:39:47] and then when the apex cover came off, then CTD [17:39:53] CSM-LV sep [17:39:59] on the pad? [17:40:00] or later [17:40:07] then I did a CM/SM sep [17:40:25] on the pad and later [17:41:07] ok [17:41:08] even on the pad if you do a CSM/LV sep, then fire the LET, then CM/SM sep, then try activating the ELS [17:42:07] yeah [17:44:00] damn now I cant re-create it [17:44:11] but here is a scenario where it should definetly happen: [17:44:13] https://www.dropbox.com/s/ipiwkr1mikvzmyr/Apollo%2011%20-%2002%20-%20Before%20Launch%20T-30sec%200001.scn?dl=0 [17:44:26] thanks! [17:45:08] in that one the CSM is already sep from the Saturn after launch, just fire off the LET, do CM/SM sep, then activate the ELS [17:45:28] ok [17:48:46] hmm [17:48:48] no CTD [17:50:46] but it's weird [17:50:55] the first thing that happens in the scenario is CM/SM sep [17:50:59] without me doing anything [17:51:15] and the launch escape motor is firing [17:52:05] and the SM is flying away at ultra high speed and then just disappears [17:53:11] and there is a separate probe vessel flying around [17:55:13] oh wait [17:55:15] haha [17:55:22] I haven't merged most of your latest commits [17:55:36] so this issue probably introduced with that [17:55:42] got introduced* [17:55:44] I'll update [17:58:47] could be [17:58:54] the scenario doesn't even load for me now [17:59:37] I'll try to debug [18:06:01] nothing [18:06:08] but it reliably doesn't load for me [18:06:51] there are four vessles with the same name in the scenario [18:06:56] ABORT-S4B1 [18:07:44] yeah, you did a copy & paste error [18:07:48] in Sat5Abort1 and 2 [18:07:59] when the SLA panels get created, they all have the same name [18:08:05] I'll check if that is the issue [18:10:07] same error [18:12:26] oh bad me [18:13:30] CTD is after Saturn loading, but before Saturn post creation [18:13:43] so maybe a loading issue with one of the other vehicles [18:15:11] I think I'll be able to track it down [18:20:52] weird that it doesn't even load for me though [18:20:58] maybe some setting is different? [18:21:02] high/low res? [18:23:45] maybe another clue: [18:23:54] this time it didnt CTD, but did this: [18:24:06] https://www.dropbox.com/s/xck9ddgyksz3ntz/Screenshot%202019-06-04%2014.23.33.png?dl=0 [18:32:22] I think there is still one error for me to overcome before I get to that one [18:32:43] if we have different behavior, maybe you forgot to commit some files? [18:33:46] ah [18:33:54] AS-506-ABORT:ProjectApollo/Saturn5Abort1 [18:34:04] if I delete this vessel from the scenario it loads [18:34:19] but I can't even debug the constructor of it [18:34:23] it doesn't get that far [18:35:03] maybe it's a missing mesh [18:37:26] yeah [18:37:37] brb [18:38:13] yep [18:38:33] hLM1 = oapiLoadMeshGlobal("ProjectApollo/LM1"); [18:38:44] what I have is [18:38:46] LM_1.msh [18:39:30] I guess you must have a LM1.msh as well? Or else you shouldn't be CTDing as well [18:39:43] same issue in Saturn5Abort2 [19:05:16] thewonderidiot, you there? [19:26:34] AlexB_88, did you get my last few messages before you left? [19:37:05] ill have a PR ready in a minute or 2 [19:37:48] AlexB_88, did you get my last few messages before you left? [19:38:42] ah [19:38:50] just reading it now [19:39:02] now I can load the scenario [19:39:07] but there is one more difference [19:39:13] it has to do with the EDS change [19:39:24] you aborted when auto abort was enabled [19:39:41] which stays enabled until manually disabled or when the LET is jettisoned [19:40:17] but now the lack of any signal from the EDS combined with the auto abort enable relay causes a LET abort [19:40:38] so for me the CM immediately separated from the SM [19:40:56] when I disable that relay in the scenario I finally have the same setup as you [19:40:59] and I get your CTD [19:41:19] and just before that the docking probe attaching in a weird place [19:41:31] ok, is there still an issue with ? [19:41:35] with Saturn5Abort1? [19:41:46] probably not [19:41:57] this CTD has probably nothing to do with it [19:42:06] ok [19:42:17] so the Saturn5Abort1 and 2 issues were the LM1 mesh name and the SLA panel names [19:42:44] and I got a reply from the STI Information Desk [19:42:47] "CSM/LM Spacecraft Operational Data Book, Volume 2 19730069126 (not available publicly) has 644 pages - all of them a series of updates/amendments, latest date 5/12/1971. It will need to have an Export Control determination, which could take some time to do; before being made public." [19:43:39] if it's really all amendments, like the documents we already have, then it's a bit disappointing [19:43:44] I'll still try to make it available [19:44:54] so, one thing I still need to research about that CTD [19:45:06] if apex cover jettison is possible with the docking probe attached [19:45:11] indy91: what's up? [19:45:25] just wanted to tell you about that LM Data Book request [19:45:37] a few line above :D [19:45:42] haha [19:45:43] nice [19:46:02] so some time in the distant future it will magically appear on NTRS with no warning [19:46:05] or not [19:46:07] yes [19:46:19] but it might not be the "normal" LM Data Book [19:46:25] just amendments and changes [19:46:26] maybe [19:46:48] 644 is a lot of pages for just amendments and changes [19:47:06] it's really not :D [19:47:25] we already got two LM Data Book documents from NTRS [19:47:46] both have the un-amendment RCS pages and lots of amendments to many subsystems [19:47:59] 410 and 837 pages [19:48:55] but the baseline document should still be around the same size I guess [19:48:58] it is for the CSM [19:49:35] maybe the LM one just has more and longer amendments [19:50:31] the 837 pages document is 100% amendments [19:50:51] ah [19:50:54] so is the other one [19:51:26] I guess that should tell us that the LM consists of revisions and revisions only [19:54:36] but there should be the baseline LM Data Book somewhere [19:57:21] maybe at NARA [20:00:53] well we know the MIT Museum has one [20:01:20] oh, nice [20:01:52] we just have to tell them it's Apollo 11 related and they will give it to us then :P [20:02:29] haha [20:02:35] Debbie agreed to have it scanned [20:02:47] the problem was just that she's busy I think [20:02:50] maybe after the anniversary [20:02:57] ok [20:03:01] sounds good enough [20:03:03] or you can email her and ask [20:03:07] right [20:03:37] thanks! [20:04:08] did you see the LM G&C data book the computer history museum scanned? [20:04:18] hmm [20:04:22] very different document but it has been helpful for me [20:04:29] where is it? [20:05:07] https://archive.computerhistory.org/resources/access/text/2019/01/102789076-05-01-acc.pdf [20:05:28] ah [20:05:38] yes, I have had that since January [20:05:56] lol [20:06:00] nice [20:06:32] I can't really remember it, but I downloaded it then [20:06:36] so either I sent it to you then, or you found it right when Dag had it scanned for us [20:06:45] both sound likely [20:06:54] but you probably linked it [20:07:10] I want the LM Data Book because I was researching DPS nozzle throat erosion again [20:07:30] when firing the DPS thrust goes up and specific impulse goes down over time [20:07:40] which has a fairly influence on the throttle down time in P63 [20:07:50] we always get late throttle downs [20:07:58] as compared to the actual missions [20:08:09] but I had never found satisfying numbers so far [20:08:45] MIT sims used some constant value only really valid for full thrust [20:08:50] might be good enough [20:09:11] constant thrust increase with firing time, and ISP calculated from thrust [20:12:53] if you were to fire the DPS for a loooong time at a low thrust setting then you would get so much erosion that the nozzle gets holes [20:17:45] indy91, PR sent [20:17:56] the SLA panel fix included [20:20:23] still looking at the other CTD [20:20:42] there are three attachment points defined in the Saturn5 config [20:20:56] and one additional one gets created by the dockingprobe class [20:22:23] the PR is missing the fix for the CTD I was getting [20:22:34] hLM1 = oapiLoadMeshGlobal("ProjectApollo/LM1"); [20:22:41] shouldn't it be LM_1? [20:23:01] I only have LM_1.msh [20:23:25] how did I miss that [20:23:43] how does it not cause a CTD for you is what I would be asking :D [20:25:25] weird indeed, anyway PR amended [20:27:02] do you have a LM1.msh in your NASSP mesh folder? [20:27:17] maybe you considered renaming it at some point? [20:27:45] anyway, PR merged [20:30:42] no I dont, it was just an oversight on my part [20:33:18] ah damn, forgot to overload the lemsaturn.cpp Sat1Abort1::SetState [20:33:41] with the LowRes [20:34:29] but of course LEMSaturn.cpp does not have LowRes [20:34:33] yet [20:45:53] night! [11:52:26] morning [11:55:20] hey [11:55:44] I chose to use the lazy solution for our problem [11:55:56] the apex cover can't physically separate if the docking ring is still in place [11:56:44] so I just added a check so that that doesn't happen [11:57:05] I quite reliably was able to get the weird thing where the probe is on the underside of the CM [11:57:12] and I really don't get how that works [11:57:19] it's not the separate probe, it's just a mesh [11:57:32] sounds good enough to me [11:57:40] but yeah thats weird [11:57:45] there could be something screwy with the offset, but then the probe would only be in the wrong place, not orientation [11:57:57] I don't think it's one of the animations, those get deleted [11:59:34] and with my EDS change auto abort would have to be disabled anyway to get to the state of your scenario [11:59:39] which is definitely possble of course [11:59:51] same scenario, just after IECO [12:03:23] oh, and I have just added launch cutoffs :D [12:03:42] there are many conditions which would be able to cause that, but right now it's just the EDS power switch to off [12:03:52] sends a GSE cutoff signal to the S-IC [12:04:04] and prevents umbilical disconnect [12:04:33] works after ignition, too, you can see the rate needles jitter :D [12:08:40] there is no launch recycle yet of course [12:10:20] oh cool [12:10:33] today Ill start the optics panel [12:11:00] awesome [12:11:05] shouldn't take too long to make [12:11:31] Ill send you the bmp when its done as you requested [12:11:56] yeah [12:12:08] it's a whole lot of coding and checklist changes, I can do those for once :D [12:13:37] its basically just making a separate zero switch, right? [12:14:42] and the CMC inputs will depend on two switches then [12:14:50] so that requires a few changes [12:15:32] like, the zero switch in zero will prevent the "CMC in control of optics" bit [12:21:20] looks like a few of our switches are in the wrong place there as well [12:22:52] we have: mode switch, speed, coupling [12:22:58] tracker, trunnion [12:23:00] and it should be [12:23:19] zero, telescope trunnion, coupling [12:23:22] mode, speed [12:23:31] so all over the place [12:23:47] but that will just required switching panel coordinates around, no big issue [12:26:17] yeah, just looking at that now [12:27:37] so just splitting the mode switch in 2, and moving around some of the other switches and removing the tracker switch [12:28:23] pretty much [13:02:53] I better add a provision that permanently stops the launch [13:03:14] or else, if you give the EDS power again, the ML will disconnect the umbilical [13:03:28] causes an immediate pad abort :D [13:04:29] yeah [13:05:05] it would be the S-IC stage logic cutoff interlock [13:05:37] hmm [13:05:43] or rather, all engines must be running of course [13:41:57] oh I was thinking of something yesterday, could we make the CMC/LGC software be loaded via configuration file? That way it would be easy to switch software (say if you want to try Zerlina on 14) without having to do so in code [13:42:33] I guess a bit like the LVDC switch selector ones [14:19:13] that would be part of a mission file [14:19:33] which will have many more configuration items [14:19:38] right [14:21:00] we could start implementing that, if it doesn't break scenarios [14:23:19] yeah, maybe a simple one for now [14:24:33] with just things that can easily be configurable already (no panel or systems difference yet) [14:27:34] and old scenarios could load the config with the mission number [14:29:13] probably makes sense to make that some string, not a number in general [14:29:34] Skylab missions and ASTP shouldn't need a higher mission number to load right [14:37:05] oh btw, dont think the optics panel changes will require any switch position changes. All I am modifying is the labeling. The switches will need to be rewired to the correct system of course, and the zero switch will require being a 2-position instead of 3-position switch [14:39:40] well, the positional data of some switches will have to be swapped I guess. like the mode switch will become the old tracker switch, and the zero switch will be in the place of the old mode switch [14:40:46] TELTRUN and SPEED are also being swapped [14:45:05] yeah, it's just switching the names of the switch in code [14:45:20] where their position on the panel is handled [14:50:39] right [15:15:46] indy91, https://www.dropbox.com/s/6pshkbok6aqf49p/Screenshot%202019-06-05%2011.15.25.png?dl=0 [15:17:41] nice [15:17:54] now all the other bitmaps with the optics panel need this as well :D [15:18:39] hmm, about the zero switch [15:19:03] almost looks like it's a 3 position switch without "down" setting [15:19:08] Off is in the middle? [15:20:12] hmm [15:20:29] almost looks like it has a guard that prevents it from being switched to the down position [15:22:16] it's shown like that in the Systems Handbook as well [15:22:21] Off is in the middle [15:23:23] I wonder [15:23:48] if the panel we currently use is an old revision of it, old Block II, then maybe they didn't change the switches [15:23:54] just the wiring and labels [15:24:47] I guess I'll create a new switch class for that [15:24:52] so maybe the zero switch has a dummy down position? [15:26:44] it probably is a 3 position switch with some way to prevent the down position [15:26:50] need to find a good photo [15:33:08] not really great photos [15:33:09] https://www.flickr.com/photos/projectapolloarchive/21658248726/in/album-72157659052908231/ [15:33:13] https://www.flickr.com/photos/projectapolloarchive/21672888852/in/album-72157659052908231/ [15:33:18] but I think there is something [15:48:09] yeah [15:49:23] morning! [15:51:38] hey Mike [15:51:56] indy91, so I guess Ill remove the "optics door" light [16:01:55] yeah Ill remove it as per the pictures [16:04:47] hey Mike [16:04:58] that's not even there in an Apollo 7 onboard video [16:05:53] here you go Niklas: [16:05:55] https://www.dropbox.com/s/1npqujg7la4blwo/opticspanel.zip?dl=0 [16:06:23] awesome [16:06:32] I'll make something nice out of it :D [16:06:46] nice [11:14:56] . [12:08:20] morning [12:08:29] hey [12:10:37] optics panel coding is done [12:10:47] currently doing the checklists, lots of work [12:10:54] cool [12:10:59] yeah I bet it is [12:11:01] and I have pictures [12:11:04] https://historicspacecraft.com/Photos/Apollo/CM-101_FoF_Greg_Fieser_2012_04.jpg [12:11:05] Apollo 7 [12:11:19] it's hard to make out, but the upper left switch seems to have labels for 3 positions [12:11:29] that would agree with our old panel [12:11:47] from checklists I know 100% that Apollo 8 already had separate zero and mode switches [12:11:49] ah, right [12:11:55] then [12:11:56] https://historicspacecraft.com/Photos/Spacecraft/Apollo_9_Navigation_Panel_Stewart_Bailey_01.jpg [12:11:57] Apollo 9 [12:12:11] Zero is the up position, Off is the middle position [12:12:17] and there is some sort of ring there [12:12:27] maybe to prevent the down position [12:12:35] looks like Apollo 7 flew with a paper FDAI 1 :D [12:12:53] haha [12:12:56] I guess they took that one out [12:13:00] and then [12:13:01] yeah [12:13:02] https://history.nasa.gov/afj/ap16fj/pics/p122_optics_control_l.JPG [12:13:04] Apollo 16 [12:13:10] notice a difference to Apollo 9? [12:13:41] it's a normal toggle switch with up and down position [12:14:16] so my theory is. Apollo 7 flew like we had it, and the following CMs were already build with the three position switch [12:14:27] so they just had changed the wiring and labels [12:14:39] many CMs in production at the same time [12:15:01] but all of the completely new builds then, so probably the J-Mission CMs, had the permanent change to a toggle switch [12:15:27] I haven't found a good picture from Apollo 15 yet [12:16:36] the Systems Handbooks are all "wrong", show the switch as having Off in the center position, even for Apollo 16 [12:17:56] right now I just have it as a normal toggle switch, was the easiest solution [12:18:09] but maybe I'll make a special class for it [12:18:26] the label for off is centered, so that would be consistent [12:20:09] would just need the surface and click areas of a three position switch [12:31:19] yeah [12:31:45] btw, I noticed we still have "collision.cfg" can that be deleted? [12:31:56] probably, I'll check [12:40:30] yeah, that folder can be deleted [12:47:59] ok [13:12:27] halfway done [13:18:43] oh, and I have a good rendezvous scenario for Mike [13:18:49] just after Apollo 11 LM insertion [13:19:02] with the CSI PAD up, so I can give him all the right numbers [13:22:39] I'll be back later [14:27:58] back [14:34:24] wb [14:36:35] I have the feeling I am introducing so many new checklist errors, haha [14:36:40] easy to do [14:38:34] haha [14:39:33] but what I think I can achieve is no CTDs due to wrong switch names [14:52:26] yeah [14:55:28] oh, one thing I noticed, the new optics panel in the LEB panel looks fine, but on the SXT and SCT views it looks a bit... pixeled [14:57:16] hmm [14:57:26] the bitmaps look quite the same [14:58:11] looks quite different in sim [14:58:16] than the raw bitmap [14:58:18] which is strange [14:59:58] I feel like it is looking worse than before, but I'm not really sure [15:01:13] I think it is just different, not worse [15:01:35] fewer lines [15:01:45] the "brackets" with Controller on it are not there anymore [15:01:53] so that just makes it... different, haha [15:03:33] I can definitely make them less pixelated, more smooth [15:05:00] sure. That can be done at any point later, when I am done [15:07:03] ok [15:07:41] just the generic CSM checklist left [15:07:54] have you decided whether to make a separate class for the zero switch, or just leave it a 2-position toggleswitch? [15:08:46] I think I'll make it a special toggle switch with up and center positions [15:09:02] that fits the bitmap and probably fits most flown CMs [15:09:07] Apollo 8 to 14 roughly [15:09:43] there are always small config differences between every mission [15:09:56] sounds good [15:10:16] as I just learned they added two circuit breakers for Apollo 16 and later to the LM final sep switches [15:10:30] because they are single point of failure without [15:10:34] an are we leaving Apollo 7 with the old switches, or just make it it the same as the new configuration? [15:10:37] so bad things happen when one thing goes wrong [15:10:58] same for every mission [15:11:06] ok [15:11:20] we can always look up how it was if we want to re-add that [15:11:36] right [15:12:28] we can save the bmp's for when we get the proper mission config logic in NASSP 9 for the panels [15:12:34] yeah [15:12:40] those LM final sep CBs would be a good test for that actually [15:13:01] they were added as a panel 277, which is between 276 and 278 and currently just grey for us [15:13:40] the big panel 230 they added (among other things) for the J-Missions is located where we currently have something else I think [15:13:53] and it's many more switches, so probably not the best thing to start with [15:14:13] two CBs in an empty spot sounds much nicer :D [15:16:00] yeah [15:16:01] are there any other differences to our CSM panels with the block II spacecraft flown for Apollo 8-11? [15:16:19] I think the BMAG temp lights was one [15:16:33] missing* [15:17:06] yeah, those can be added [15:17:13] the logic for them is already there [15:17:18] right [15:17:24] well, static temperature, but in the CWS [15:18:41] and high gain antenna scan limit can be removed [15:18:51] ok [15:20:43] the most annoying of all alarms if it were functional and, as in our case, no HGA auto tracking is implemented yet [15:20:59] Apollo 7 definitely had the BMAG lights [15:21:20] and HGA alarm wouldn't be relevant [15:21:26] so no mission needs that really [15:28:48] checklists done, now the three position switch that thinks it's a toggle switch [15:36:57] morning! [15:37:05] easier solution would be to just use the Apollo 15+ configuration for the switch [15:37:07] hey Mike [15:37:12] what's up? [15:37:33] CSM optics panel update almost done [15:37:55] we are switching from the Apollo 7 (probably) config to what was flown on 8 and later [15:38:34] how go the 210 alarms? [15:41:05] https://www.dropbox.com/s/ge1cccexgbh9prn/Screenshot%202019-06-06%2011.40.50.png?dl=0 [15:42:34] I can take care of adding those after you've pushed the optics stuff [15:43:12] sure [15:49:23] using the three pos switch bitmap with an offset almost does the trick for the zero switch [15:50:12] don't like the click areas though, so needs a special class anyway [15:58:27] nah, good enough [16:00:55] so the update is done, push is imminent. Could use a bunch of more testing of course [16:01:02] will do [16:02:08] done [16:02:33] well [16:02:39] bitmap uploads are slow :D [16:04:14] I guess with this commit I have to make sure my EDS power switch is on at launch :D [16:04:24] and all the EDS breakers in, yes [16:05:34] that connection is also the third auto abort trigger [16:05:45] 2 engines out, overrate and physical integrity between CSM and IU [16:06:17] that wasn't the case for us before [16:07:10] oh and I did a dumb thing with the ELS before. All that work to have two separate systems (A and B) and then I didn't properly connect system B [16:07:26] so now a complete loss of Main Bus A still has the SECS fully working [16:07:44] something we of course try on a daily basis and so we quickly found this issue :D [16:08:35] and I can add S-IC engine failure for before liftoff now [16:08:48] the ML checks if all engines are running before giving the ok to commit [16:09:46] beginning of a terminal countdown sequencer and all its ways to stop a launch [16:10:45] great [16:10:56] just tried the optics panel, looks great [16:11:43] well, the "look" part was all you :D [16:11:55] any issues with the zero switch click area? [16:12:03] hardly noticable I think [16:12:11] it has the click area of a normal toggle switch [16:12:28] Ill fix the pixelated stuff and separate TELTRUN to TEL TRUN, as that Apollo 16 pic showed [16:12:37] TEL TRUN [16:12:50] no, no issues at all [16:12:55] with the zero switch [16:15:51] great [16:15:59] nice little hacky solution, hehe [16:20:18] is the same logic available for the Saturn 1B (EDS off to cancel launch?) [16:20:28] nope [16:20:43] not sure if that all worked the same at LC-34 [16:20:48] right [16:20:50] I have very little information about that [16:21:04] but it could be added quite easily [16:22:29] also, I noticed that liftoffStreamLevel is getting GetSIThrustLevel() in the ML project, but LC-34 is a bit less dynamic, it seems to just set it to set it based on mission time. This makes it happen after aborting [16:22:45] ah [16:22:53] I'll look at that [16:23:32] not to put too much on your plate, but I though that it wouldn't be too hard to change [16:23:46] yeah, probably simple [16:24:16] no progress on 210s, we have been working on other things [16:24:46] ok [16:24:55] I was thinking about it, you didn't get that on the sim AGC [16:27:00] AlexB_88, and I found another thing for the future mission file, Apollo 16 and 17 used the Mode IB time (61 seconds instead of 42 seconds) that the Saturn IB is always using [16:27:18] to really make sure it's a water landing [16:27:31] so that should be mission specific rather than vehicle type specific [16:28:14] that is not just a procedure difference, a delay timer in the SECS uses that time as well [16:28:43] interesting [16:34:49] indy91: because long long ago when setting up the hardware sim I set IMUOPR = 1 :D [16:35:16] makes sense, haha [16:37:06] so likely you will get one program alarm further next time [16:37:21] I know all about it, when I first started running P63 I got them all, too [16:39:48] hehehe [16:55:48] thewonderidiot, the Apollo 15 CMC state for P37 I gave you needs one input, the TIG, first thing in P37. That is 292h GET. [16:56:04] and if you want I have an Apollo 11 rendezvous one, LM just after insertion [16:56:12] needs 3 full nouns of parameters inputs [17:10:11] sounds great :D [17:15:09] indy91, so I added the BMAG temp lights to cw_lights.bmp and the main panels any other coding changes required [17:15:12] ? [17:19:23] ah yep it works [17:20:03] I just set BMAG 1 to light with temp greater then 1 C [17:20:22] no further investigation needed :P [17:25:09] indy91, PR sent [17:31:58] yeah, I had done the coding a while ago [17:32:50] about the smoothing on the SXT/SCT optics switches, still isnt as pretty looking as LEB panel ones, but I am planning on re-designing the SCT/SXT views anyways with the full 60 degree views. They will have the same versions as the LEB then. [17:34:17] sounds good [17:41:11] the zero is the default position, is that correct? (on the zero switch) [17:44:31] yeah [17:45:46] pre backup crew cabin ingress switch position [17:46:09] ah ok [17:46:11] zero and manual [17:46:26] also the liftoff switch positon [17:46:36] but I think the optics are unpowered anyway [17:49:03] in the PR I just made, I also removed the scan limit light for the HGA [17:49:17] ah, good [18:00:20] thewonderidiot, https://pastebin.com/3pV4Z3wu I added a full description of what you should be doing and seeing at the top [18:00:27] you wanted a more complicated one :D [18:12:47] hehehehe [18:12:48] thanks! [18:12:53] I will look at it in a bit :D [18:14:49] this is even easier than the core files, just copy & paste from a scenario [18:15:06] the most difficult part is to not confuse the CMC and LGC [18:16:04] of course this doesn't have the input channel data [18:16:16] those are saved in the scenario as well, but are probably not 1 to 1 usable for you [18:16:30] but the P3X program shouldn't complain too much about that [18:17:06] programs*