[12:36:37] NASSP Logging has been started by n7275 [12:36:39] morning Ryan [12:38:51] good morning [13:46:21] hey [13:52:53] hey Alex [13:53:07] good morning [13:54:13] well I haven't tested it yet [13:54:49] I guess don't have to if you do it lol [13:55:20] you just need to start with a scenario that is before 192:20, the time of the HGA test REFSMMAT uplink [13:58:05] well I give it one small test if it even works at all [13:58:18] and as a check for the AOS time it comes up with [13:58:37] should that time be displayed? [13:58:44] That is when 0° roll angle would be valid [13:58:53] good time ot start the orb rate roll [13:58:58] to* [14:02:48] Yeah I think AOS and LOS Carnarvon and Hawaii should be displayed [14:02:58] oh Hawaii too [14:03:00] no problem [14:03:22] Yeah, the test was to see what the antenna did between the LOS and next AOS in REACQ mode [14:03:36] to see if it would reacquire on its own [14:04:02] obviously, we cant sim that yet but its certainly a possibility in the future [14:04:21] I think I have all the new T aligns in as well as the placeholder for the update [14:05:07] I think 192:25 works the best right now [14:05:33] But lets try 192:20 first [14:10:59] 192:25 would be without ground contact in the flight plan [14:11:29] Ah good catch [14:12:19] even though both we and the real mission were a bit later than the flight plan I think [14:13:55] Yeah, if it helps, the actual Carnarvon pass for the HGA test was at 193:06 [14:14:12] In my current mission, my pass is 192:57 [14:14:26] so I am 9 minutes ahead of actual [14:15:06] but I think I am close to the FP [14:15:32] Carnarvon pass they used for the HGA tests was 192:50 on the FP [14:15:38] https://i.imgur.com/2fqvo2J.png [14:15:59] I like it [14:16:36] I have the checklist ready to test the new times, including the extra T-Aligns [14:16:58] I figure I can just leave those written in there instead of uplinking them in a pad [14:17:14] also that SV update at 193h needs to be moved [14:17:23] not sure exactly what time [14:17:55] flight plan has a pass over the USNS Huntsville in between Carnarvon and Hawaii [14:18:15] the new order in the MCC is [14:18:27] 192:20h HGA Test REFSMMAT [14:18:34] 196:45h Block Data 20 [14:18:46] 198:30h State vector (previously at 193h) [14:19:00] and then 209h something in the next day [14:19:09] so SV update moved, HGA Test REFSMMAT inserted [14:19:59] if you like those times I will commit and push the stuff [14:21:25] let me check them and make the changes in the checklist file [14:23:55] pretty much finished the left side panels, now starting on the right [14:24:53] my CMVC branch https://github.com/jalexb88/NASSP/tree/CMVC has been updated if anyone wants to test it [14:25:09] indy91 times look good [14:27:32] AlexB_88, awesome. The process still seems quite manual labor intensive. [14:28:09] its much better then it used to be though, thanks to the work you did on the structure of it [14:28:28] But all the numbers are there now if we ever create a panel class that can handle everything [14:28:38] no more need to define every single animation separately [14:28:44] yeah [14:29:34] hopefully this doesn't lead to some bottleneck soon where the performance gets worse with every switch [14:29:43] the 2D panel suffers from something like that [14:30:55] I dont think it will [14:31:32] ready for the push [14:31:56] having used the LM VC a bit, there is two issues I have right now [14:32:18] I'm pretty sure the FDAI rate needles are not scaled correctly [14:32:21] same in the CSM [14:32:27] or mostly in the CSM is where I saw this [14:32:42] they don't quite show the same value as in the 2D panel [14:33:12] and the other one is three position switches. They work differently in 2D vs 3D. No problem if we fully move to 3D, but right now it's quite confusing [14:33:23] right click vs. left click [14:34:21] I think its the bmp redrawing that really killed performance in the 2D panel, as it is done for everything. In the VC there is very little of that, everything else is animation [14:34:33] right [14:34:47] the CSM FDAI rate needles are still on my list to fix [14:35:45] I think what is also confusing is that in 2-position switches, you only use the left click, while 3-pos are the left and right click [14:35:46] I still want to improve that for the 2D panel [14:36:27] with the VCs getting more complete the motivation for that is not getting better though [14:36:47] my plan is to finish the VC within a few months [14:36:52] both VCs [14:37:30] rcflyinghokie, I pushed it [14:37:51] thanks [14:38:27] the VC is still doing bitmap redraws though, right? [14:38:34] just not for all those switches [14:38:36] only for the displays [14:38:55] the meters are animated or redrawn? [14:40:03] there are 34 bmp redraws as of now in the CSM, wont be much more at finish [14:40:06] animated [14:40:28] yeah that's not too much [14:40:45] and we can and probably should make those animations as well [14:41:11] nearly everything can be done with meshes [14:41:20] I think [14:42:47] yeah [14:44:18] I already made everything that is possible to animate and those 34 are things like DSKY display, master alarm, digits etc [14:44:27] I think its fine like that honestly [14:45:03] yeah [14:45:40] we'll see where it ends up performance wise [14:45:48] oh its fine [14:45:55] its DDS in the VC [14:47:00] with the whole CSM main panel and left side completed I still get 144 fps maxed out with time accel [14:48:03] yeah it's been smooth in both CSM and LM [14:48:57] anything that gives the GPU more tasks previously done by the CPU will do that [14:52:54] one thing I was thinking for the VC is making the left-click/right-click more consistent with eachother [14:53:14] between 2-pos and 3-pos switches I mean [14:53:38] right now the 2-pos does not use the right-click at all [14:54:05] just left click to cycle states [14:54:14] yeah [14:54:28] one problem with the right click is moving around in the VC [14:54:35] but maybe it would be better to use left/right click with those too [14:55:05] you hold the right mouse button and move the mouse [14:55:09] to move [14:55:16] right, you have to be careful with the clcik [14:55:19] yep [14:55:41] how does e.g. DCS solve that? Haven't played in a while... [14:58:05] I have but in VR so not much help with that :D [14:58:59] you can actually differentiate between button clicked and button held [15:00:15] hmm [15:01:14] but it will probably generate both mouse events if you hold it [15:01:46] you can't easily have a check to prevent a mouse click event if you hold the mouse button [15:02:02] I think [15:06:36] rcflyinghokie, I tried a little bit to find out why we got those coarse align errors. All I have found so far is that it might be related to the CMC still wanting to drive the optics. [15:06:56] and if you let it (optics zero off and optics mode CMC) then I get the problem [15:07:11] but I can't say for sure yet if that's reliably the case [15:07:55] hmmm yeah its possible [15:08:41] it can't suddenly be a IMU/ICDU issue [15:08:54] that has worked for more than 10 years without a problem [15:09:21] either it's some recent-ish I/O change we did, whatever that may be [15:09:26] or we use Colossus wrong [15:09:42] I haven't really figured out how to make it stop drive the optics [15:09:51] not sure what routine is running that is doing that [15:10:05] it will simply drive the optics to the last desired position [15:10:21] doing another P52 option 3 might fix that though [15:10:43] maybe if you unsafely exit P52 something like this could happen [15:15:31] it does look like it's finishing the coarse align [15:15:50] but then when it checks if it's at the desired spot within 2° it seems a problem [15:16:00] desired attitude* [15:16:03] sees* [15:19:25] I have seen a lot of it driving the optics after P52 [15:19:38] kind of just ignored it [15:20:18] oh also, for the s065 updates, looks like there is a spot for t align, were those supposed to be for the P52? [15:20:32] it does say if req [15:21:50] yes, those are for P52 option 2 [15:29:38] morning! [15:30:42] so the update I get from MCC has them all balls [15:30:56] are they supposed to be populated? [15:31:11] morning Mike [15:31:16] hey [15:31:29] which one? [15:31:30] which GET [15:32:40] T ALIGN in the S065 update I get at 189:50 [15:33:02] hmm, I think I didn't add any T Align calculation for those PADs [15:33:13] might be correct, not sure [15:33:21] ok [15:33:29] I either was lazy or saw in the transcript that they weren't getting T-Aligns [15:33:35] I will say the timing on the north mexico one wasperfect [15:33:52] and thats with that T align given with the SV update [15:34:11] ordeal is dead nuts on hitting enter on orb rate at that GET [15:34:23] good to hear [15:35:22] this optics code in T4RUPT is not easy to figure out... [15:36:21] and it doesn't really make sense to me that some optics code can screw up an IMU coarse align [15:38:54] oh, back on the S065, when the 191:30 update comes, is that based on the spacecrafts current REFSMMAT? [15:39:34] or the T align one given back at at 187:30 [15:40:38] yeah I think it's always the current alignment [15:41:33] ok [15:41:44] then it should work out as I have those updated T aligns prior [15:48:32] 20 mins into the DAP orb rate, its still dead nuts [15:57:12] thewonderidiot, Ryan and I separately got a coarse alignment issue in the CSM. During P52 option 1 when driving the IMU to the new attitude. 211 and 217 program alarms. [15:57:21] don't think I ever had that before [15:58:44] hmm [15:58:46] which program? [15:58:55] or rope rather [15:59:01] Colossus 249 [15:59:38] oh those are interesting alarms [15:59:46] just got it again [15:59:57] doing my next P52 option 2 [16:00:38] so weird that we are suddenly getting that [16:00:49] I can't think of any recent change that would be related [16:00:54] https://www.dropbox.com/s/ihr945glj3l8vke/Apollo%209%20MCC%20-%20S065%20211_217.scn?dl=0 [16:01:01] saved right after checking v5n9 [16:01:05] if it helps [16:01:21] just started a P52 option 2 with 192h as the t align [16:01:39] gave me the angles, and when I hit PRO to coarse align it throws those two together [16:02:42] and you have optics zero mode off and optics mode CMC [16:02:58] yep [16:03:03] that seems to be a factor [16:03:07] everything on the panel is in the same state [16:03:09] however that works [16:03:25] so maybe that scn can help look for clues [16:05:43] not sure if this is related, but I had another accidental time-aceleration related program alarm last night. just a single one, but it was a 211 [16:06:48] maybe just random register stuff, but thought I should share [16:08:37] and thats in Apollo 7, correct? [16:10:22] yes [16:11:17] we're using 237 on that one iirc [16:11:23] yeah [16:12:09] did any of the agcio branch stuff get merged? [16:13:06] no [16:16:10] I wasn't even in P52 when it happened, so probably not a real alarm. [16:19:51] yeah [16:19:56] unless you ran into gimbal lock [16:20:02] that also causes a coarse align :D [16:22:53] ahh, no, thankfully [16:25:09] about your PR [16:25:27] the only thing I haven't tried yet is a bit of long time coasting, letting it build up clogging [16:25:38] so after the coarse align error, the IMU is not in the correct spot, its close, but certainly off [16:25:52] yep, that was my experience as well [16:26:01] ok glad we are getting similar results] [16:26:16] it's like it stops the coarse align just a bit before getting to the right attitude [16:26:24] or overshooting it, haven't checked [16:26:58] if we were using the ICDU implementation I would expect some issues like this [16:27:02] but it hasn't been changed [16:27:33] last summer we started using the OCDUs though [16:27:39] my N93 angles are -00015 +06323 +00034 [16:27:43] maybe they are doing something bad [16:27:50] yeah, that's what I had as well [16:27:54] just one axis being off [16:27:55] so 2 of the 3 axes got where they needed to be [16:29:36] after torquing and running a star check it looks good [16:30:06] it feels like our OCDUs are using a wrong counter [16:30:14] or influencing the coarse align in some way [16:30:48] that would explain it [16:34:37] n7275, your code says clogging can reduce voltage by 5V in one day. I'm getting lower voltages than before, FC3 has a bit below 28V with 40 Amps or so. 5V lower would make a big difference. Where did you find that number for the clogging? [16:38:39] I will have to look into which document that came from. it does seem rather high. [16:38:58] I will compare against the databook graphs as well [16:43:04] I distinctly recall reading that somewhere. this is why I'm trying to add more reference and citations to my comments [16:43:36] yeah I should do that more as well [16:44:11] with RTCC memos [16:53:57] I'm switching to the NASSP build where this Apollo 9 SPS-7 scenario was created [16:54:10] 3 years ago, feels weird using that version [16:54:46] I want to see if I also get the program alarms there [16:54:51] Good idea [16:55:02] On the second S065 pass [16:55:08] 4.1-33.1 and 4.1-33.2 look like the graphs I need. will throw them into webplotdigitizer later [16:55:16] position looks great, orientation dead on [16:55:53] didn't get the alarm [16:55:58] using the transcript T align and the subsequent S065 calculation/update [16:55:59] oh [16:56:01] pretty sure I did everything the same way [16:56:17] but then it might depend on the specific attitude [16:56:31] so I'll try it a few times [16:56:40] this was when we only had one optics switch [16:56:41] I have a preferred and another nominal coming up I will report if they set off the alarm [16:56:53] but I really don't think it's a problem with that, input bits looked good [16:57:59] did you zero and off before calling P52? [16:58:19] yes [16:58:20] I forgot and zeroed after calling it [16:58:33] but before selecting an option [16:59:23] right [16:59:25] I'll try that [16:59:35] just to see if I can at all trigger the issue in this old build [17:01:17] oh [17:01:27] it happened [17:01:41] so not an NASSP bug. Or at least not one that got added in the last 3 years [17:02:57] interesting [17:03:08] but you said you got it even though you zeroed before calling P52? [17:04:01] I think so. On previous attempts [17:04:12] it seems to depend on attitude [17:04:25] this was the out-of-plane REFSMMAT [17:04:34] so I have to yaw a bunch in the scenario [17:04:35] and roll [17:04:55] on the attempt where I didn't get the alarms I was at nearly 60° yaw [17:05:02] but it more reliably happens at 45° [17:05:14] it seems [17:05:45] so it has to be a mixture of how we use Colossus and maybe a bit of early Colossus buggines [17:06:12] or some IMU issue that suddenly comes up, having hidden for 10+ years [17:07:06] maybe early Colossus has some issue where it can't use all five error counters at once [17:07:29] would be difficult to find any documentation about this [17:10:05] mine was an option 2 so very much in plane [17:11:12] indy91, I made some changes to TwoPositionSwitch that I think will be for the better [17:11:20] TwoPositionSwitch::DoCheckMouseClickVC [17:11:40] it now uses left and right mouse clicks [17:12:10] to align with the way ThreePositionSwitch works in the VC [17:12:16] so that it is consistent [17:12:52] so left click to for TOGGLESWITCH_UP and right click for TOGGLESWITCH_DOWN [17:13:03] and of course depending on the sideways flag [17:14:00] https://www.dropbox.com/s/nnuaqrp3f1varn7/Screenshot%202021-03-16%2013.13.49.png?dl=0 [17:14:06] the old way is commented just above [17:14:17] I just tested this and it works quite well I think [17:20:06] rcflyinghokie, I guess that means the issue is more how much the IMU has to be rotated and not specifically where to. [17:20:57] interesting [17:21:01] AlexB_88, I like that better. But probably even more confusing now to switch between 2D and 3D [17:21:16] right [17:22:52] however at some point soon we'll be able to fly the entire mission from the 3D panel, so if one will not be required to "switch back and forth" to operate things [17:23:05] so one will not be required* [17:24:42] yeah [17:24:49] ie. if someone wants to fly the whole mission from only the 3D panel or only the 2D panel, it will be possible, so I think any inconsistencies between the 2 should not be too bad [17:25:03] the important thing being consistency within each one [17:25:09] if that makes sense lol [17:25:29] but of course in the long run well probably get rid of the 2D panel anyhow [17:30:08] yeah I think it's a good change [17:31:58] ok [17:49:36] there's good info on the effect of oxygen purity on purge interval [17:52:30] shouldn't be too much more than 1V per day at a purity of 99.97% [18:45:53] indy91, so I guess the maneuvering during the S065s changes the AOS/LOS times? [18:46:15] I just did a recompute using RTCC MFD at 192:50 and I am over a minute different [18:46:46] maybe that's two different methods to calculate those times [18:46:53] 192:57:04 on RTCC and 192:58:12 on MCC from the uplink time [18:47:29] MCC uses the function FindRadarAOSLOS [18:47:37] AOS is when elevation angle is 5° [18:47:47] which RTCC MFD page is that? [18:47:52] map update [18:48:04] and it coincides with when I get the "AOS" message perfectly [18:48:29] If I REACQ on the RTCC time, my HGA tracks [18:48:36] if I use the MCC time, no joy and no signal [18:49:18] https://www.dropbox.com/s/7chtf577fcrysrl/Apollo%209%20MCC%20-%20HGA%20Tests%200001.scn?dl=0 [18:49:23] if you wish to experiement [18:49:37] just waiting on the enter at AOS and then switch to REACQ [18:51:11] no need, I know why there is a difference [18:51:32] nice code duplicates... [18:51:41] but the RTCC MFD will have AOS as 0° elevation angle [18:51:42] haha oh [18:51:56] while the MCC uses a different calculation method and uses 5° for AOS [18:52:19] that is the PAD that comes along with the REFSMMAT [18:52:26] AOS messages use which method... [18:52:29] probably yet another one [18:52:49] Hmm so REACQ drives my HGA to almost -90 in pitch and 250 or so in yaw [18:53:09] I bet AOS messages use the same code as RTCC given the timing [18:53:58] yeah, looks like it's also when the CSM crosses the horizon [18:54:52] when the HGA starts tracking, that is the earlier AOS but still 0° roll, right? [18:55:53] REFSMMAT gets calculated with the later time, so that earlier AOS will not have the CSM exactly aligned the with local vertical, but the HGA pointing more down [18:55:57] probably why it works [18:56:10] ahh [18:56:25] so which time should we use? [18:56:46] if I run it as is, and use the MCC time, REACQ doesnt do anything [18:57:00] unless I increase Yaw [18:57:06] (HGA yaw) [18:57:18] no, decrease pitch [18:57:20] yeah [18:57:30] so many things moving in space lol [18:59:23] or use a different roll [18:59:26] IMU [19:00:35] so the usual MCC displays for station acquisition are calculated with 0° [19:00:39] elevation angle [19:00:44] so actual horizon crossing times [19:01:03] where I got the 5° from is the document with details about calculating the Apollo 9 rendezvous [19:01:09] it mentions "5° AOS" a bunch of times [19:01:57] for the CSM? [19:02:53] CSI is placed at 5° AOS of the Tananarive pass [19:03:06] and also I just realized that message only has Carnarvon, not Hawaii times [19:03:25] which message? [19:04:16] the one that comes with the HGA uplink [19:04:42] uhh [19:05:05] how can that be, I even showed you the screenshot... [19:05:28] https://www.dropbox.com/s/7dchov42kwqj3d0/Screenshot%202021-03-16%20150510.jpg?dl=0 [19:05:32] I just realized it lol [19:05:41] it was after a save load though.. [19:05:48] ah potentially [19:05:50] maybe something got screwed up? [19:05:59] you do have my scn right by this time [19:06:00] that is the "generic" PAD [19:06:10] possible that it doesn't like the next line [19:06:16] the \n command [19:07:21] I should probably change how the generic PAD works [19:07:34] but let me re-generate the PAD [19:07:42] maybe the calculation failed [19:08:14] Also, I see the actual antenna positioning was +45, 240 at LOS CRO, so the yaw looks right at least lol [19:08:22] ah the well programmed Checklist MFD strikes again [19:08:28] I get a CTD in your scenario [19:08:32] or is close, obviously we are pointing to the earth not a station [19:08:34] because of updated checklists [19:08:35] uhh [19:08:39] one sec [19:08:44] panel 8 almost done [19:08:48] I can just delete it [19:08:53] the checklist section [19:08:55] ok [19:09:02] panel 5* [19:09:05] I can send it to you as well if you need it [19:09:38] AlexB_88 awesome, so many breakers lol [19:10:26] rcflyinghokie, if I reset the MCC state it comes up with Hawaii times [19:10:31] and now if I close the scenario... [19:10:38] so maybe a save/load thing [19:11:00] Hawaii times gone [19:11:06] ah [19:11:19] yeah it doesn't properly save it, as the Hawaii times are in a second line [19:11:48] I can change it to one line as a short term fix [19:12:36] yeah I see no issues with that [19:13:03] long term fix is a bit more complicated, but shouldn't take too much time [19:13:10] n7275 what was the prognosis on getting tracking stations as opposed to just looking at earth? [19:13:20] This situation would be a wonderful test case [19:15:25] nice GDC gimbal lock btw in your scenario [19:17:05] haha yeah I wasnt sure if they bothered with a GDC align [19:17:16] giving that secant amplifier a good test. The one that calculates 1/cos(yaw) in an analog way [19:17:17] since they came back out of plane after [19:17:44] Ehh they probably did align it [19:17:49] yeah [19:18:00] rcflyinghokie, shouldn't be too hard. after we get my fuel cell project merged I can work on it [19:18:20] ah right, on screen annotations have a size limit. It automatically put the Hawaii LOS time on the next line [19:18:21] cool, the LEO missions will be a true test [19:18:39] doesn't look too bad [19:18:51] definitely [19:19:01] you can make the change if you want, Ryan. So that you have the full PAD [19:19:08] MCC project in VS [19:19:13] RTCC_Mission_D.cpp [19:19:19] line 2158 [19:19:24] sprintf(form->paddata, "Carnarvon AOS %s LOS %s, Hawaii AOS %s LOS %s", buff1, buff2, buff3, buff4); [19:19:36] basically just changed "\n" into ", " there [19:20:04] and then when I loaded your scenario I just did a "reset state" in the MCC debug menu [19:22:58] sounds good [19:23:46] almost LOS Hawaii [19:24:12] I'll keep the AOS times as they are [19:24:23] I think for now it's best to adjust the HGA pitch angle [19:24:42] I just need one more click down [19:24:46] and it will track [19:25:27] https://www.dropbox.com/s/ci3uj80pgignzkr/Screenshot%202021-03-16%20152428.jpg?dl=0 [19:27:17] yeah I guess 45° pointing error I just a bit too much [19:27:24] one click more would be 30° [19:27:29] is* [19:28:11] at the AOS time, 0° roll, it will point 45° away from local vertical [19:29:22] I am happy with this for now [19:29:33] until we get actual stations, theres not much more we can do [19:29:54] the PTC orb rate worked like a charm though [19:29:56] yeah [19:29:58] as you could see [19:30:17] yep [19:31:19] oh I actually had an overburn with Apollo 12, not underburn [19:31:23] I might know why... [19:32:12] wrong TLI cutoff bias [19:33:12] uh oh [19:34:11] and I think our S-IVB has shutdown transients that are too high [19:34:44] across the board? [19:35:06] yeah, same logic is used for first and second cutoff [19:36:16] maybe about 1 m/s too much even [19:36:54] and the cutoff bias in the LVDC is too low, even compared to the actual numbers from LVOTs [19:37:06] the default one at least [19:37:59] it's difficult, because they modified that number on purpose for Apollo 11 [19:38:13] to compensate for the evasive maneuver the CSM/LM do [19:38:34] evasive maneuver is mostly pointing towards Earth [19:38:46] so they let TLI overburn on purpose, a bit, to compensate [19:39:14] so the Apollo 11 LVOT numbers for the cutoff bias is not the true number for the S-IVB [19:49:49] ah yeah I remember that big overburn [21:03:22] Ok I am through CMC powerdown on that day, all the timing works well [21:06:24] PR sent [21:15:31] and merged [21:18:06] awesome [21:19:58] now I need to go through and do the same sort of tweaks for the next day, add the PTC tests, and *maybe* the LM sighting :P [21:24:28] look at that, I just had to adjust the TLI cutoff bias by about 1 m/s and I'm spot on with the flight plan [21:24:34] same DV as MCC-2 [21:24:45] fully optimized flyby maneuver at 5h GET would be 1.4 ft/s [21:24:49] I call that free return [21:24:53] oh yeah [21:25:04] so again that bias is across the board? [21:25:20] 11's overburn still works? [21:25:48] I was actually a bit wrong about our S-IVB, I used a wrong thrust value in my calculation [21:26:00] the real cutoff velocity is more like 3.7 and not 4.4 m/s [21:26:07] what we get [21:26:19] Apollo 14 for example compensates for 3.3 m/s [21:26:29] but it varied from engine to engine [21:26:37] Apollo 11 had 2.35 m/s [21:26:47] but that is the "calibrated" value [21:26:53] to compensate for the evasive maneuver [21:27:15] in the LVDC the value we currently use by default, so missions without full presettings, is 2.8 [21:27:34] I just tried to use 3.7 instead of 2.8 and got these good results [21:27:54] so I am inclined to only make a change to that LVDC value [21:28:05] and not change our S-IVB cutoff thrust function [21:28:23] which is probably a bit high, but not as high as I thought [21:29:29] and I also still need to make the LVDC high speed loop run more often just before cutoff. 2 iterations doesn't always reliably converge to a cutoff time [21:29:45] in reality it ran for 4 iterations usually [21:30:13] gives it a bit more precision [21:30:14] so would you have to increase the number of times it runs? make them faster or start earlier? [21:31:10] so, when the IGM is running, with every subroutine attached to that, one guidance cycle is 1.7 seconds [21:32:10] when it drops the altitude constraint (for EPO insertion, somewhat similar for TLI) it has fewer tasks to do [21:32:12] only 1.3 seconds [21:32:31] we simulate those two times [21:32:43] but in the last few seconds before cutoff it drops even more tasks [21:33:01] basically only does navigation, some checks and cutoff time calculation [21:33:24] not much steering anymore [21:33:31] and that should only take about 0.7 seconds [21:33:53] but that time isn't really mentioned anywhere because the LVDC doesn't really care how long exactly one cycle of that takes [21:34:19] so that isn't implemented yet [21:36:02] ahh I see [21:36:54] it's also weird, this cycle time isn't something the software would know about, not the exact value [21:37:12] it just runs this in a loop and it just takes as long as it does to complete once [21:37:37] but I am still changing that value in LVDC code of course [21:38:34] it does use predicted cycle times for some attitude control calculations, that's where the 1.3s and 1.7s numbers come from [21:39:19] but in this high speed loop it is already holding attitude, so not required anymore [21:40:04] you don't notice the HSL when you fly TLI, but you notice at 30 seconds before cutoff that it does move in attitude a bit [21:40:37] that is when it drops some constraints, does fewer calculations and one cycle only takes 1.3 intead of 1.7 seconds [21:41:19] and thats where it shoudl be doing 4? [21:41:21] should [21:42:01] HSL is only the last 3 seconds or so [21:42:27] so 3/1.3 times is what it does for us right now, 3/0.7 is what it should do [21:42:35] so 2-3 right now [21:42:48] 4-5 actually [21:43:51] this change will also affect EPO insertion and I think the HSL runs for much longer there, so I need to test that a bunch as well [21:45:07] just need to make sure changing the cycle time (which gets used as the nominal cycle time in our code as well) doesn't make it behave weirdly [21:45:11] maybe in attitude control or so [21:46:03] last 8 seconds in the high-speed cutoff loop for EPO insertion [21:46:17] so that's a few more cycles of it [21:49:45] I am curious to see what that does [21:51:12] I guess right now the cutoff time isn't fully converged [21:51:18] so it will be a bit random [21:51:39] probably only a few tenth of a second at most, but that can be a decent amount of random DV [21:52:30] of course this is just where it recalculates the cutoff time [21:52:37] The actual cutoff is commanded in the minor loop [21:52:44] which runs at a regular 25 times per second [21:52:53] that's where it checks if current time is greater than cutoff time [21:52:57] and if yes it commands cutoff [21:59:27] this will have in impact on both SIVB burns, correct? [21:59:35] (assuming a TLI if 2) [22:01:05] yeah, but with the high speed loop running more iterations for cutoff (last 8 seconds vs. 3 last seconds during TLI) it should converge better already [22:02:40] so any inaccuracy for insertion would come from the S-IVB cutoff thrust not being quite right in NASSP maybe [22:02:53] also, you can't fully trust the AGC parameters on the DSKY at insertion [22:03:04] spherical Earth vs ellipsoid Earth [22:03:12] the AGC already launches with a state vector that is a bit off [22:03:39] I can see that on my vector compare display, the LVDC state vector in EPO is more accurate than the AGC one [22:04:20] it's also the IMU alignment. P52 in Earth orbit has a decently large torquing angle [22:04:28] yeah I always notice that one [22:05:45] also caused by the different shape of the Earth I think [22:05:54] AGC accounts for it, but we don't have it in Orbiter [22:06:29] T_CO = 10400.483432 [22:06:35] T_CO = 10400.367054 [22:06:41] T_CO = 10400.380002 [22:06:48] T_CO = 10400.379036 [22:06:52] and cutoff [22:07:19] that might not be a representative example though, I get larger initial errors in the time in other scenarios [22:07:35] I think in my Apollo 11 July 21 launch one, should rather try a TLI there now [22:18:37] So looks like this second day of S065, only 1 T-Align was used, that makes things easier [22:19:16] Now to squeeze in the PTC tests [22:19:55] So they attempted to sight the descent stage as well as the ascent stage it seems this day [22:20:28] that will be ambitious in Orbiter [22:21:13] Looks like they couldnt spot the descent stage but saw the ascent stage [22:22:10] Hmm did they use the COAS? [22:22:22] I think they did [22:24:13] not the sextant? [22:24:17] hmm I have 2 conflicting paragraphs [22:24:19] I read they used P20 [22:24:28] oh "crewman" is crossed out [22:24:36] so it reads optical alignment sight lol [22:25:04] mission report pdf 169 lol [22:25:35] yeah looks like SVs were uplinked and P20 used [22:26:01] I am going to try it at that point [22:27:31] T_CO = 10617.556594 [22:27:37] T_CO = 10617.452894 [22:27:44] T_CO = 10617.462426 [22:27:50] T_CO = 10617.461139 [22:27:55] T_CO = 10617.462282 [22:27:57] cutoff [22:28:07] looks converged even after 2 iterations lol [22:35:18] night! [13:37:55] hey Ryan [13:42:53] morning [14:06:36] I liked watching the nassp lesson last night. in the process of reconfiguring my office, so I didn't have a my mic preamp hooked up until the very end. [14:22:25] I think stuff like that goes a long way toward promoting the project in a more 21st century way, as opposed to the typical 90s-esque Orbiter-related project PR approach. :) [14:31:47] haha yeah that discord has become a unique outreach tool [14:46:24] good morning [14:49:52] morning [15:00:24] hey guys [15:00:46] hey [15:07:33] it will probably take me a few days to perfect the clogging calcs [15:07:50] no problem [15:09:55] the 5V comment is incorrect at the moment. I reduced the effect drasticially at Thymo's request circa November [15:10:34] oh I didn't even remember that [15:11:22] yeah, he was getting undervolt alarms before the purge times came up [15:11:31] which isn't good [15:11:46] yeah, that is what I was worried about [15:11:58] and I think in general the voltages are already slightly lower with your PR [15:12:08] more realistic probably, but with too much clogging, problems [15:13:37] according to the databook, at 25 amps and 99.98% purity it should be about 0.2V per day [15:14:07] that sounds very unproblematic [15:16:07] the AOH says that hydrogen impurities have virtually no effect on performance degredation, but the databook has required H2 purge intervals that are similar to the O2 [15:17:23] it makes sense that lower O2 partal pressures would cause harm performance worse [15:17:31] in practice the H2 intervals were much more spaced than O2 [15:17:34] yep [15:19:14] Apollo 15 has 12 scheduled O2 purges and 6 H2 purges [15:20:07] well, by similar, I ment similar on a log scale, so yes [15:23:00] haha fair enough. Not that the real missions have to take up everything from the CSM Data Book [15:23:19] the flown missions don't even listen to everything in the mission techniques documents... [15:23:46] I'm going to try reeeeeally hard not to add another 5th order polynomial with this then [15:25:31] why is that necessary again? So that the Volts and Amperes are "converged" for a certain power load? [15:25:55] And not going up and down [15:27:17] Volts depend on Amperes, Amperes depend on Volts, Volts depend on Amperes... [15:29:26] hmm [15:29:48] why does it recalculate the power load in that iteration? [15:30:13] that doesn't seem right. The power load is the one constant in this, no? [15:30:35] it's using fixed-point iteration to solve ohms law [15:30:49] not exactly [15:31:58] our "power draw" is really just P/I^2 at 28V [15:32:16] but the power loads determines how much O2 and H2 are used [15:33:32] Current draw and Faraday's law [15:34:13] amps*time = sume number of mols of electrols [15:34:18] *electrons [15:34:35] I'm seeing this from the power demand side [15:34:41] all the equipment in the CSM needs 100W [15:34:44] for example [15:35:10] shouldn't it use up the right amount of H2/O2 for that power draw? [15:36:04] if this was happening in the battery class for example it wouldn't discharge the batteries by the amount that is actually requested from it [15:38:23] so when we ask the fuel cells for 100W, we're telling them that we've connected a nominally 100W resistive load to them. at 28V they will pull 100W, but if voltage increases, due to something like stack temperature or removal of another load, that 100W will go up [15:40:42] is that what actually happens in the iteration though? [15:41:20] ah and in the clogging calculation there is another minus for the volts [15:41:44] so with clogging the Amps go down [15:41:50] Volts go up, but by a larger amount [15:41:59] so power load is increased [15:42:05] that makes sense to me now [15:42:22] but the recalculation of power_load in the iteration doesn't quite make sense to me yet... [15:49:28] there's the equality: power = volts*amps. we don't know what any of them are exactly only their relationships and an inital guess (a guess voltage and what power load is telling us) [15:50:06] from that we calculate amperes [15:50:46] (which is also inaccurate) [15:51:13] yes [15:51:19] and volts is a function of amperes [15:51:23] so it needs to be an iteration [15:52:49] but then you are recalculating the power load with inaccurate volts and amperes [15:53:08] if you google "fixed point iteration" there's some good pictures of what's going on. I was trying to come up with something to show it graphicially [15:54:03] oh I understand that part [15:54:26] but I don't understand why the power load gets recalculated there [16:00:05] yeah I'm pretty sure that is wrong [16:00:27] this makes the iteration pointless [16:00:35] because after one iteration it has "converged" [16:01:16] because it just recalculates the Amps with the same, unconverged Volts/power load [16:01:34] the temperature in those equations, is that Fahrenheit? [16:01:41] what's a usual value, 450°F? [16:01:46] Kelvins [16:02:08] 477K @ 20A [16:02:33] ok, 477 [16:03:24] so I am trying power load 500 [16:03:33] initial Volts are 31 [16:03:39] that gives 16.129A [16:03:44] recalculated Volts is 30.224 [16:03:56] recalculated power load is 487.49W [16:04:07] new Amps is 16.129A [16:04:48] same value as before, because it just recalculated it with the new power load that results from the new volts [16:05:03] and everything afterwards stays the same for the remaining few calculations [16:05:34] if it doesn't recalculate the power load then it becomes an actual iteration [16:05:53] converges to 16.587A and 30.143V [16:06:25] after the iteration it probably should recalculate the Amps with the original power load (500W) and the converged voltage [16:09:43] But this current version simply calculates a wrong power load with the Amps and Volts from the first, uncoverged iteration [16:21:51] also, the clogging makes the voltage higher right now. Is that the desired effect? [16:22:59] unless clogg is a negative number [16:24:18] ahh no [16:24:55] -= and then - again [16:25:09] and current should go up? [16:25:13] or down [16:25:18] has to be up [16:25:33] or it's making the power load smaller [16:25:57] I need to take a hard look at that again [16:26:07] yeah no problem [16:26:34] and if I am right then the fix for the iteration is just deleting the recalculation of the power load. Very easy [16:29:16] I think there's some faulty reasoning here, combined with a commit history that is waay to long [16:31:42] haha yeah, 29 commits starting in November [16:31:53] at least you can look at all changes at once in the PR on Github [16:32:24] But it's nearly there [16:32:54] that iteration is interesting, I think I once tried a better voltage vs. current model for the LM batteries [16:32:57] but it wasn't stable [16:33:27] should have implemented an iteration like that, would have fixed that [16:39:02] today I am looking at a solution for simulating folding the seats for LEB and tunnel activities [16:40:19] oh fun [16:40:47] something we at best could have done in the PAMFD before [16:41:06] right [16:41:36] I was thinking adding a click spot somewhere on the seats to cycle folded/unfolded [16:43:07] that would be cool. [16:44:03] it's really amazing how easy it is to find stuff in the 3d vs the 2d cockpit [16:46:51] in the 2D panel you first have to learn which panel number is on any of the ca. 10 2D panels [17:25:46] indy91 what would be the best way to calculate closest approach of the LM ascent stage to me in a certain time window? [17:26:14] morning! [17:26:30] hey :) [17:27:53] hey Mike [17:28:00] there is the relative motion digitals display [17:28:11] which shows you relative numbers at discrete times [17:28:18] not closest approach specifically [17:29:16] it requires initializing the mission planning features in the RTCC MFD, not sure if you have messed around with that [17:29:28] you could also use something like Sync Orbit MFD [17:30:45] yeah I havent messed with those features in RTCC yet [17:30:52] another coarse align error [17:31:12] fun [17:31:34] it has to be something specific to Colosus 237/249 [17:32:07] of course you can always prevent it by not giving the CMC control of the optics before the coarse align [17:33:24] is that the trick? [17:33:27] leave in manual? [17:33:43] yes [17:33:59] gotcha [17:34:06] whatever the optics drive has to do with the coarse align [17:34:18] I guess all five CDU error counters are in action for that [17:34:27] but I would have thought the CMC can handle that [17:35:14] is the CMC trying to drive the optics somewhere? [17:35:19] or is at zero [17:35:44] because that also shouldn't really be happening unless some flags are wrong or so [17:36:05] I will go back and see [17:36:54] but I haven't really understood the Colossus code for this yet [17:37:08] under which conditions it drive the optics [17:37:18] it's not one of the auto optics routines running [17:37:36] because then it would actually drive the optics to a specific e.g. star even if you move in attitude [17:37:48] it just tries to drive the optics to a specific shaft and trunnion [17:37:57] probably the last one that was commanded [17:40:38] is this always with a REFSMMAT from RTCC? [17:40:48] Or was it P52 option 2 [17:45:39] option 2 [17:45:43] and I did it again and no alarm [17:45:47] optics in CMC [17:49:30] did it again optics in manual [17:49:32] no alarm [17:50:53] cant duplicate it now [18:12:25] I only got it with optics in CMC so far and only with a certain amount the IMU has to be aligned [18:12:34] so only at some initial attitudes did I get the alarms [18:13:31] maybe it was the maneuver I did to get the P51 done [18:14:07] when I tried it again I only maneuvered in pitch, the alarm time I did pitch and roll [18:14:12] it's definitely something we should investigate in detail. maybe when Mike has more time can we figure it out. It's either some fun Colossus issue or some rare NASSP IMU code issue or a mixture of them [18:14:22] agreed [18:14:58] I'm not even sure where I'd start to look [18:15:17] first under which conditions the code even wants to drive the optics [18:15:24] what has be set flag wise, routines etc. [18:16:14] as far as I can tell the CMC only has to reset channel 12 bit 11 [18:16:45] that's all that needs to be done hardware wise [18:17:01] and then it drives the optics if something is in the error counter [18:17:57] hmm [18:18:09] GSOP says Colossus might not even use that output bit [18:18:42] ah, there is of course enable optics errror counter [18:18:46] channel 12 bit 2 [18:18:51] that's probably more relevant [18:19:40] "Set 1 in T4RUPT if computer driving of optics is requested" [18:20:08] and maybe we can figure it out by this optics route [18:20:19] because it definitely only happens when it tries to drive the optics [18:20:47] the other way would be to see what happens with CMC, ICDU code (in the IMU in NASSP) and the IMU during the coarse align [18:21:58] there's also channel 14 bits 11 and 12, which make the output counters actually start counting out [18:22:58] right, we should check when that gets set [18:23:40] https://github.com/virtualagc/virtualagc/blob/master/yaAGC/agc_engine.c#L2359 [18:23:49] of course it works a bit different in yaAGC [18:24:06] and that code is still slightly modified in NASSP as well [18:24:25] so I haven't been following super closely... isn't the issue that the IMU, not the optics, is failing to fully drive to the intended angle? [18:24:26] driving the IMU works a bit more realistic already I guess [18:24:39] yes [18:24:46] coarse aligning the IMU fails in P52 [18:24:52] by a few degrees [18:25:00] enough to trigger the 211 and 217 alarms [18:25:14] but this only happens with optics mode in CMC for some reason [18:25:45] and kind of separately, but apparently related, is that I want to figure out why the CMC is even still trying to drive the optics [18:26:12] that might work right, but it's a bit weird that it still tries to drive it to some shaft and trunnion angles even in P00 [18:26:34] with no routine for that running, as far as I can tell [18:26:48] hmm [18:26:56] actually [18:27:10] I was trying this in a scenario before a SPS maneuver [18:27:17] probably after the sextant star check [18:27:20] V41 N91 [18:27:29] that would still be running [18:28:12] so I guess the main mystery is: why does the IMU coarse align fail and why does it only happen when the CMC is driving the optics [18:28:41] The Apollo 8 CMC Checklist has optics mode CMC before entering [18:28:44] CMP* [18:28:50] before entering P52 [18:29:02] so this can't really be a known issue or so [18:29:09] I have only seen it on an option 1 or 2 [18:29:26] well yeah, option 3 does no coarse align :D [18:31:26] lol that was an obtuse statement in hindsight [18:31:39] disregard the obvious :P [18:31:46] (at least in this group) [18:31:49] we didn't try option 4 yet :D [18:32:40] true [18:35:07] but it will just be any IMU coarse align, under the right circumstances [18:39:57] EMEM1303 77776 [18:40:02] OPTIND is -1 [18:40:10] that is basically the optics driving mode [18:41:54] off topic, I am still very impressed at these S065's [18:42:11] ORDEAL ball stays dead nuts on at the time/orientation in the pad [18:43:01] after I finish this one, I will need to figure out the LM sighting stuff, and appropriate uplink [18:43:11] I will do it with RTCC first [18:43:38] the pitch rate is even done in the RCS control axes, right? [18:43:55] you give it two rate values [18:44:06] and DAP then rotates it through that [18:45:13] I think that is what the manual DAP changes through the DSKY are for [18:45:33] done very precisely by the DAP I guess [18:46:42] yep [18:46:58] orb rate pitch rate set up [18:47:07] did retrograde and prograde [18:47:44] I used the CMC for the whole thing, no manual firing [18:51:18] the CCS instruction in the AGC is... interesting [18:52:51] hahaha [18:56:54] https://www.dropbox.com/s/kpdv9kgcq5vdug7/Screenshot%202021-03-17%2014.56.37.png?dl=0 [18:56:58] seats folded [18:57:46] fantastic [18:58:10] how is that implemented? [18:58:22] https://4.bp.blogspot.com/--m6VfwiW4sQ/ULNcyawnnZI/AAAAAAAABJM/u5x_ESh27A4/s1600/Coach_and_Seat_Positions.png [18:58:29] that was the reference [18:58:49] right [18:59:04] I guess that's an animation like a switch? [18:59:23] I have completed the meshing, but now I am starting the code [19:00:46] right [19:00:49] I think animating it might be a little complicated, so I am thinking of having 2 meshes for the seats, for folded and unfolded [19:01:00] good enough [19:01:03] and then only show 1 at a time [19:18:21] PTC tests seem to be going by the book, clearly using a bunch of RCS in minimum DB [19:18:40] switching to 10 20 and 25 as well [19:24:15] old forum seems to be dead [19:24:22] but I can search in a cached version [19:24:49] 4 years ago I had introduced a bug in the LM that caused 211 and 217 alarms [19:25:16] in that case no commands from the AGC were coming through to the IMU [19:25:26] kind of doubt we have the same thing now in the CSM [19:26:40] but funny finding those alarms and it was me who caused them [19:30:34] btw any news of M. Schweiger? He hasn't posted on the forums in quite a while [19:30:59] would be nice if he would finally merge the Beta into the release build :D [19:32:26] it would help to un-complicate NASSP installation lol [19:34:28] no update [19:53:32] yeah, he hasn't logged into the forums in just over a year now. [20:11:16] speaking of the old forums and hearing from people. it looks like Rob Conley still logs into OF occasionally. not sure if he still does anything with the old forums or not [20:28:49] ah interesting [20:28:58] not sure I ever interacted with Rob [20:29:38] looking at the ProbeVis issue now [20:30:13] since I am thinking using the same method for handling the seat folding [20:33:41] good idea [20:34:05] I was a bit confused that I didn't get the CTD a few days ago [20:34:20] but now I remembered, I probably was never in the outside view [20:34:26] just tested now and got it [20:35:36] yeah it can be very reliably reproduced [20:36:06] but the outside view step is important or else it never creates some visualization thing [20:37:26] ugh [20:37:33] now I cant reproduce it [20:38:00] and you did all the steps from the issue on Github? [20:38:09] yeah [20:38:27] which scenario? [20:41:17] I used my Apollo 16 MCC-1 scenario [20:41:30] ok reproduced it again [20:41:43] https://www.dropbox.com/s/m1de08jcpbh0j0u/Screenshot%202021-03-17%2016.39.49.png?dl=0 [20:41:47] https://www.dropbox.com/s/2wmvqtnczti1ifo/Screenshot%202021-03-17%2016.41.06.png?dl=0 [20:42:13] it did it when I cycle to the VC and back as well as outside and back [20:43:40] I don't think I needed to go to the VC [20:45:24] but ProbeVis is called in clbkVisualCreated [20:46:02] so where you have all been (outside, VC) is somehow important [20:46:38] right [20:51:13] I mean, it's definitely an issue with the mesh order [20:51:26] CSM/LV Sep or in this case CM/SM changes that [20:51:36] so ProbeVis is probably applied to the wrong mesh [20:53:51] ah right [20:56:39] but it calls probe DEVMESHHANDLE is initialized with probeidx [20:56:56] shouldnt it always then get the correct mesh? [20:58:26] probably [21:23:17] its annoying because I cant seem to reliably recreate the issue on my Apollo 16 MCC-1 scenario [21:23:44] indy91_ what scenario do you use where it happens every time? [21:28:39] hmm, probably one that doesn't exist anymore, the old Apollo 11 MCC-2 scenario [21:28:54] I can try finding one where it works every time for me [21:33:16] in the new one there is a DP so that you can't immediately open the hatch [21:33:21] not the best testing scenario [21:36:15] before PDI day is better... aaaaand I don't get the CTD [21:46:23] I just loaded a scenario, and didnt not go to external view at all, and it did the CTD [21:57:23] hmm [21:57:38] maybe its just a bad idea in general to use the "DEVMESHHANDLE" in the saturn [21:57:55] since there is so much mesh clearing/reloading [21:58:48] if this is too much of a hassle I can always try and make the probe visibility work the same way as everything else in the CM ie. SetMeshVisibilityMode [21:59:14] I will have to spilt the probe into 2 separate meshes for that, but its doable [21:59:28] and I will use the same way for making the seats fold [22:00:15] DEVMESHHANDLE is used a lot in the LM, but the difference is we no longer clear and relaod meshes [22:00:59] hmm right [22:03:12] so that would mean getting rid of DEVMESHHANDLE probe [22:03:51] it doesn't have to be a quick fix, you can play around with more than one solution if you want [22:04:30] right [22:04:51] For problems like this there always seems to be three possible solutions. Do a big change to fix a small issue. Do a small fix to somewhat fix the small issue. Or don't do any fix and blame Orbiter. [22:05:37] the big change would be changing the whole clear and reload meshes things, which seems.... ambitious [22:06:13] yeah [22:06:17] no kidding haha [22:06:20] very ambitious [22:06:57] but I guess that will definetly something that we'll need to do at some point [22:07:57] when CM and SM are separates vessels [22:08:15] in this case, removing the probe DEVMESHHANDLE is the "Do a small fix to somewhat fix the small issue" you mesntioned [22:08:40] well, it will fix it for sure [22:08:43] yeah [22:08:59] but I guess there was a reason you used DEVMESHHANDLE [22:09:04] the thing is, I introduced that DEVMESHHANDLE thing just for the probe in the CM [22:09:46] at least you don't need to remove it from a lot of things [22:10:23] the advantage of it is you can show/hide meshgroups, not only whole meshes [22:11:26] I see [22:12:14] so unless we anticipate needing to do that with other things in the CM, I dont see why its needed for now [22:13:08] if we need to show/hide a meshgroup, the old way of splitting the mesh up and using the visibility flags works [22:13:47] the VC is always loaded 1st anyways the animations staging issue is no longer an issue [22:14:00] so the* [22:15:38] I hope the missing SM panel goes away with that fix as well [22:16:04] that one is very rare, not reproducable and I can't say for sure it's even caused by ProbeVis [22:16:23] yes I am quite sure that was due to this issue [22:18:57] it feels like it yeah [22:19:52] good night! [22:23:59] I have had the missing SM panel twice [22:24:08] exiting and reloading solved it lol [22:27:43] yeah [22:28:00] hopefully will be a thing of the past soon [05:17:12] .tell indy91 I may have solved it, but it'll take fresh eyes in the morning to confirm https://gist.github.com/n7275/46a399d648721367a2bead3a6c2ae9ff [13:31:44] morning guys [13:36:21] hey [13:37:04] hey Alex [13:38:39] good morning [13:39:21] hello hello [13:39:27] looks almost good n7275 :D [13:42:35] trying to set up LM tracking :P [13:43:23] which stage actually? [13:44:51] ascent [13:44:57] hmm [13:45:16] problem is the APS burn to depletion's were different [13:45:17] the result of the burn to depletion is probably a bit random [13:45:24] exactly [13:45:39] slightly performance differences of the APS can make a big difference [13:45:46] slight* [13:45:57] especially in relative trajectory many hours later [13:45:58] than and remaining propellant [13:46:02] that* [13:49:08] I uploaded the SVs and am using P20 but looking at the orbits, I dont think I can track it at the same time, sadly [13:50:06] the relative motion digitals might be useful figuring out when the stage is going to be somewhat close [13:50:32] but that's not going to be useful for the MCC [13:50:35] or the Checklist MFD [13:50:57] yeah [13:51:03] maybe the timing of it all is too random [13:52:44] I waited 20 minutes and I think I can actually see it [13:52:59] maybe [13:53:09] maybe its dust on my monitor lol [13:53:30] what is roughly the timeframe of this? [13:53:42] ah wait, I am using a pre SPS-7 scenario [13:53:44] that won't help [13:53:56] dust :( [13:54:13] between 222h and 223h [13:54:42] ah I can use your HGA tests scenario [13:54:50] I can give you one [13:55:01] I can use that one, no problem [13:55:31] https://www.dropbox.com/s/6fslq5vn9qggmsg/Apollo%209%20MCC%20-%20LM%20Tracking%20Tests.scn?dl=0 [13:55:34] Ah ok [13:57:12] I'm not even seeing it being all that close in that time [13:57:35] orbits are different as well [13:58:17] right, totally different inclination [13:58:24] the APS burn is like 45° out of plane, right? [13:58:29] something like that [13:59:03] and even if it gets close, the relative motion is extremely fast [13:59:37] the actual orbit was 3760x126 or so [14:00:02] mine is 4360x135 [14:00:43] yeah I guess it's burning a bit longer for us [14:00:45] if I wait a rev it seems to be closer [14:01:33] closest approach I am seeing is still 4000NM [14:03:24] how are you getting that [14:03:45] relative motion digitals [14:04:43] but possibly I am using timesteps too large [14:05:00] using 30 minutes at the moment [14:07:38] here an example [14:07:40] https://i.imgur.com/EeoO3fm.png [14:08:18] second column has range [14:10:21] and I'm having trouble finding any time frate where they really get close [14:10:24] yeah I got my closest approach using V83 at about the same time [14:10:25] frame* [14:10:30] was still far [14:10:43] so probably will omit this from checklist MFD [14:12:07] 223:13 is about when I got the Rdot to swap signs [14:12:16] and it was still off scale high on R [14:12:32] or rather too large to display for xxx.xx [14:13:05] 223:17 it swapped* [14:13:28] I tried :( [14:14:14] hmm, I'm not seeing that on the display. Did I set it up wrong... [14:14:30] That I dont know lol [14:14:42] I uplinked SVs and ran V83 [14:14:48] I'm trying it in your newer scenario [14:14:54] I will* [14:15:14] AS-504 and Spider [14:15:43] the range rate shouldn't be offscale high, so that should show the right numbers [14:18:47] hmm [14:18:54] or maybe the range rate calculation is wrong on the display :D [14:19:29] ooh [14:19:42] it blanks the range rate when it's offscale high on the display [14:19:50] so it only even shows the rate once there [14:20:37] yeah the rate is exceeding 1000 ft/s within seconds [14:22:29] the display might have shown an additional digit in reality, but I can't squeeze that into the MFD :D [14:23:59] I will leave placeholders for this in the Checklist MFD [14:24:09] Adding a "not simulated yet" [14:24:22] "Should the computations for range or X-coordinate exceed 9999.9 nautical miles, or if the range rate, Z-coordinate, Y, or Y coordinate display units exceed 999.9, the excessive parameter will be blanked." [14:24:33] I did it right [14:24:39] yeah makes sense [14:24:55] I meant for the V83 with the off scale thing [14:25:19] but you leave in the P20? [14:25:24] looks like their closest approach was 652nm [14:25:25] yes [14:25:31] ok, then we need MCC uplinks [14:25:44] yep I have 2 I was about to ask for [14:26:25] 221:05 CSM/LM SV updates [14:27:20] and I am trying to figure out from the RTCC_Mission_D when Block Data 22 is updated [14:27:44] the times there are when it switches to the next MCC state [14:27:54] so cm->MissionTime > 220.0*3600.0 + 20.0*60.0 [14:28:04] is when it switches to the Block Data 22 calculation [14:28:32] where is that [14:28:39] line 330 [14:29:13] of RTCC_Mission_D.cpp? [14:29:19] oh [14:29:21] sorry [14:29:25] MCC_Mission_D [14:29:29] lol gotcha [14:29:52] just search for Block Data 22 in RTCC_Missison_D [14:29:55] Mission* [14:30:24] Yeah [14:30:29] I need to change the time slightly [14:30:53] the time when the Block Data are shown [14:30:57] that is done in MCC_Mission_D [14:31:04] that line 330 [14:31:18] so just sanity checking, cm->MissionTime > 220.0*3600.0 + 48.0*60.0 would be 220:48:00 [14:31:35] yep [14:31:42] ok I just moved block data 22 to that [14:31:57] from 220:20 to 220:48 [14:31:59] yes [14:32:10] better fits with the PTC tests [14:32:22] if you want any updates added, better let me do that. It's not a perfect system [14:32:26] and of course was actual time not FP time [14:32:31] yeah I am not going to add the updates [14:32:42] I did move that block data time though [14:32:45] sure [14:33:07] but at 221:05 I need a SV update for CSM and LM [14:33:21] ok, I'll add that in after Block Data 22 [14:33:27] thanks! [14:34:18] ah I even have a generic update for that already in RTCC_Missison_D [14:34:27] how often can I misspell Mission... [14:36:16] haha [14:38:41] you wanted to add something else, too? [14:38:50] or was your 2nd thing the Block Data 22 time [14:42:50] the Block 22 [14:43:05] And with those, Day 10 is complete [14:44:24] I PR'd my changes [14:44:45] the HGA and PTC tests worked out pretty much spot on [14:45:03] I did omit the landmark tracking though [14:45:11] as they planned on it but had cloud cover [14:45:34] and the SVs were overwritten anyways because of the uplink before LM tracking [14:45:46] indy91, issue #572 id fixed on my copy [14:45:51] is* [14:48:35] I also have the seat fold working, to do it there is now a click-spot on the CDR's left handrest [14:48:53] which cycles between folded/unfolded [15:01:39] great [15:23:45] I use a bool for the seats state [15:24:27] the last thing is to save load that bool, I wonder if I can use MainState for that [15:25:15] I think so, Ill try that [15:25:34] yes [15:25:38] there are a bunch of spares [15:26:12] use any of the "unused" states [15:26:31] ok [15:32:05] done [15:34:14] indy91, a bit of clean up and I would like to merge CMVC into the main branch later today. The highlights are: Completed side panels save for the Direct O2 rotary [15:34:18] Completed side panels save for the Direct O2 rotary [15:34:54] The modified click functionality for the 2-pos switches [15:35:08] and the Seats folding [15:35:36] oh and of course the fixed issue #572 [15:36:43] sounds like a great update [15:48:37] Id say the CM VC is already about 75% complete [15:52:19] lots of small panels left I guess [15:53:34] yeah, in the LEB mostly [15:53:45] and I have to figure out how to do the hatches [15:54:03] and COAS [15:54:14] COAS will probably be that last thing [15:54:55] it would be nice if I could somehow simulate the projected reticle [15:55:11] yeah [15:55:18] did you end up animating the DSKY keys? [15:55:32] I would basically have to make a big reticle mesh that is out in front of the window [15:55:33] yes [15:56:00] taht will be part of todays merge [15:56:38] Oh in the VC, does the checklist MFD still flash around switches etc when enabled? [15:56:41] morning! [15:56:56] Good morning :) [15:56:57] rcflyinghokie, it doesn't yet [15:56:59] ok [15:57:02] hey Mike [15:58:41] if we accept to have both 2D/3D cockpits for NASSP 8, I think we can save that feature for the 3D cockpit of NASSP 9 if you guys agree? [16:06:22] hey Mike [16:06:32] yeah thats fine with me [16:06:35] I would say that the VCs are an experimental feature in NASSP 8 [16:07:09] hmm very odd, I did a P51, did the REFSMMAT uplink, then a P52, but I am getting 405's when heads down and it seems to have no idea where I am lol [16:08:29] had a good P51, or so I thought [16:08:36] maybe bad star choices? [16:09:10] huh [16:09:18] redid a P51 same issue [16:09:34] is the state vector good? [16:09:56] I mean it just was uplinked lol [16:10:01] I will check [16:10:32] What if you manually choose the stars in P52 [16:10:42] that would tell you if the P51 alignment was good or not [16:11:43] SV seems good [16:11:52] I just did another P51 [16:12:02] 00004 difference using SCT [16:13:07] yep thats good [16:13:07] pretty good [16:13:13] found the manual star [16:13:20] but PICAPAR still gives a 405 [16:13:34] maybe bad luck? [16:13:49] even in the open sky it can happen that there aren't two good stars in the view [16:14:06] yeah could be [16:14:08] it's rare but possible [16:14:51] yeah manual stars 00000 diff and tiny torquing angles [16:15:01] bad luck I guess [16:33:28] oh there is the second SLS hotfire today [16:33:59] if that has problems again... [16:35:50] rcflyinghokie, I'm pushing the update with the added CSM/LM state vector uplink [16:37:38] if you are past 221:05h it will probably recalculate a block data PAD or so [16:37:45] because of the added mission state [16:58:38] no problem [17:06:09] hmm that MST_D_DAY10STATE7 comes up as undefined for me [17:08:03] probably VS getting confused [17:08:09] I bet it will actually build [17:08:46] yeah it did [17:08:59] silly microsoft products [17:09:04] yeah [17:09:15] will probably be fine if you would restart VS or so [17:12:05] that was my first reaction but no change [17:15:44] then it will randomly work right eventually haha [17:15:58] or show up right, as it does work right [17:18:10] lol [17:18:13] yeah it works fine [17:18:40] wow my deorbit burn dV is 418 fps compared to the FP 235 [17:19:09] and actual of 322 [17:20:53] interesting variation [17:22:02] uh oh [17:22:19] I guess SPS-7 didn't really do its job right [17:24:07] our old scenarios have 300 ft/s [17:26:15] oh I made an error with the new uplink [17:27:54] whats the error? I didnt go back and test it [17:29:26] I used UTP_CMCUPLINKONLY [17:29:29] no [17:29:34] I used UTP_PADWITHCMCUPLINK [17:29:40] but it should be UTP_CMCUPLINKONLY [17:29:53] for the update type [17:30:06] so it says there is a PAD, but there is none [17:30:24] and for some reason it didn't say there is an uplink, not really understanding that one... [17:30:32] but UTP_CMCUPLINKONLY fixes it [17:31:19] and I'm not getting 400 ft/s with the RTCC MFD [17:31:27] I'm getting 340 [17:35:17] what's the TIG? [17:35:31] https://www.dropbox.com/s/gr4hdu5wligd33n/Screenshot%202021-03-18%20115755.jpg?dl=0 [17:37:02] strange. Can I get a scenario for that? [17:37:38] any particular time? [17:37:50] when that gets calculated [17:39:12] https://www.dropbox.com/s/tvvbts93z1a4hi8/Apollo%209%20MCC%20-%20Deorbit%20Day%200001%200001.scn?dl=0 [17:39:18] even the 340 ft/s wouldn't be ideal, but good enough [17:39:54] I was using your LM tracking tests scenario [17:40:03] and there shouldn't really be any trajectory changes, right? [17:40:23] nope [17:40:38] only resultant from maneuvering I guess [17:40:44] yeah I am getting the 340 ft/s [17:40:48] with the RTCC MFD [17:40:52] so why is there a difference... [17:43:34] UHHH [17:43:53] if I let the MCC recalculate the burn solution it comes up with the same as the MFD [17:44:29] can you try rebuilding the solution? [17:45:34] but why does that matter if you weren't using the RTCC MFD... [17:49:39] hmmm [17:50:24] oh [17:50:28] I can get your solution [17:50:45] so what was the difference? [17:51:19] There is backup method for the maneuver if it fails to converge on a reentry angle [17:51:28] and that backup is to put the perilune at -30NM [17:51:46] if I try to force a higher reentry angle in the RTCC MFD it then comes up with that solution [17:53:43] ah yeah I see that in the pad [17:54:09] I think that is based on Apollo 7 [17:54:21] Apollo 9 rather has a perigee close to 0 [17:54:48] is that SPS-7 causing any issues with this or is this a calculation thing [17:56:41] I think it's more of a deorbit calculation thing [17:56:45] SPS-7 did ok [17:56:50] not great, but good enough [17:58:02] potentially something uninitialized [17:58:22] because with the MFD I reliably get the converged reentry angle solution [18:00:07] can you check something [18:00:13] open the scenario you just sent me [18:00:29] and in the MCC debug menu go back one state [18:00:36] "dec state" or something [18:01:11] I'd like to know if it then also comes up with the other solution [18:02:45] yeah one sec [18:03:05] got a PMR going on haha so I am partially listening to the briefs :P [18:04:00] yep [18:04:18] recalculating gives a Hp of -8.6 [18:04:29] VC 341.6 [18:04:34] that's what I got [18:04:45] I do kind of wonder if it's still a VS build thing [18:05:11] do you want a scn before this is calculated at all? [18:05:31] if that can reproduce the other solution, sure [18:12:37] over all the deorbit targeting could use some work probably [18:15:14] ok let me try that one [18:16:45] https://www.dropbox.com/s/xbnbp8yzihj5g0g/Apollo%209%20MCC%20-%20Deorbit%20Day.scn?dl=0 [18:16:58] increase the state here you get the original -30 target [18:17:39] great, thank you [18:18:49] lol [18:18:55] I increase the state and get a CTD [18:19:04] D3D9Client.dll [18:20:19] huh [18:21:52] probably another MCC PAD display issue [18:21:55] but it worked now [18:22:01] and I can replicate it in the MFD [18:22:12] but it's basically the same trajectory [18:22:20] so why can it happen... [18:26:17] not so easy to say [18:29:09] I mean, both solutions are good, they will get you on the ground [18:30:27] just interesting that sometimes you get a different one if you recalculate [18:31:26] yeah, it shouldn't really do that [18:31:38] the state vector at the initial guess TIG should be nearly the same [18:35:13] yeah I dont think I maneuver at all [18:35:31] and certainly not enough to mess with the SV [18:36:55] but that seems to be the issue, the initial state vector in the deorbit calculation is different between the two calculations [18:37:00] by a few kilometers [18:37:20] might be more of a RTCC trajectory issue though [18:37:25] rather than you maneuvering [18:39:39] hmm weird [18:41:50] I hope I didn't somehow break the coasting integration routine in the RTCC... [18:43:32] I just recomputed and reuplinked etc I am going to use the new computation [18:43:47] yeah a few km seems to be a problem [18:44:01] 40293.591527 -5681624.780158 -3353387.736597 1223240.855326 3334.200339 -3212.712261 6126.161379 [18:44:01] 40293.591527 -5677824.120525 -3356444.638413 1229478.152783 3341.889956 -3208.403876 6124.796615 [18:44:13] that's MJD, position vector, velocity vector [18:45:01] and the earlier calculation happens only 6 hours before deorbit [18:45:12] it shouldn't have those kind of errors after such a short time [18:46:25] is that the actual SV of the SC? [18:46:29] or a calculation thing [18:47:49] that's in the deorbit calculation, the SV at the initial guess time [18:48:05] so basically the input to the deorbit calculations [18:49:39] yes, a state vector that has already been propagated to that time [18:52:35] ahh [18:52:45] so the propagation is not correct [18:53:26] well maybe [18:53:46] could also the use of the propagation functions not being correct [18:53:49] or your CSM has a leak [18:54:40] lol [19:01:07] indy91, PR sent [19:11:05] yeah recalculating it when it first comes up nothing changes [19:11:10] but recalculating it later it does [19:16:02] yeah something seems off about the trajectory calculation, not sure why and how [19:16:10] have to debug that in more detail [19:16:54] PR merged [19:18:45] hopefully those scns help [19:19:38] im doing the entry with the initial calculation [19:19:43] see what happens [19:20:03] I'm sure it's still fine [19:20:07] it's not totally off [19:21:40] I will be on the road for the next week, so I guess I will start work on the MCC "VC"...development for that should be more laptop friendly :D [19:22:27] "on the road" most likely meaning not on the road and sitting at the hotel doing nothing lol [19:23:04] that is what on the road often means haha [19:23:31] at least these days it does haha [19:39:48] gmax prediction is 11.7 [19:40:21] seems a bit steep [19:41:49] I don't think that calculation in the AGC is fine tuned for Earth orbital entry [19:42:07] I would be surprised if you get more than 6 [19:43:08] ah [19:59:04] cya! [20:36:05] SLS hot fire in 2 minutes [20:47:16] now get that thing to KSC [20:52:11] :D [20:52:15] that went well! [21:11:35] was that insulation burning? [21:35:17] indy91 I also noticed the flight plan deorbit burn had an apogee of 210 (my current apoapsis pre deorbit) but this burn has me burning at like 130 [21:36:25] .tell indy I also noticed the flight plan deorbit burn had an apogee of 210 (my current apoapsis pre deorbit) but this burn has me burning at like 130.... [22:26:35] .tell indy91 so that might be more of a problem afterall where the other calculation has my Ha at 197 [22:33:02] .tell indy91 additionally when I recalculate, the angles in the pad no longer match that of the P40 [22:33:31] .tellindy91 disregard the last [22:33:37] .tell indy91 disregard the last [12:03:08] good morning [12:03:25] hey [12:06:21] hey guys [12:06:56] oh yeah, that [12:07:02] morning Niklas haha [12:07:23] what's the problem with the HA? [12:07:43] oh it didnt display the other message [12:08:05] I also noticed the flight plan deorbit burn had an apogee of 210 (my current apoapsis pre deorbit) but this burn has me burning at like 130.... [12:08:33] so burning this at about 130, I do not have enough time before EI [12:09:02] I was at 40nm when I got to SPS sep [12:09:13] that's what I had feared with the SPS-7 [12:09:36] didn't set up the trajectory right [12:10:53] ah [12:11:06] and the backup deorbit solution with the -30NM HP didn't help [12:11:37] although [12:11:53] the "normal" solution actually was ok [12:12:18] the trajectory should be optimized for a SM RCS deorbit one orbit later than the nominal deorbit burn [12:12:34] so that it happens at apogee with a minimal DV [12:19:54] I've started investigating the trajectory propagation issue [12:20:02] yeah the "normal" solution gave me an Ha of 197 [12:20:29] mostly unrelated but the way the Apollo 9 MCC converts GET to MJD has an issue [12:20:42] it uses the CSM mission time to determine when the launch happened [12:20:46] why is it different than others? [12:20:47] oh [12:20:47] that's not the mission timer [12:21:01] but the mission time that is also used to determine prelaunch events [12:21:03] it drifts [12:21:17] it's off by 0.9 seconds by the time of deorbit day [12:21:42] which isn't good, but not really the cause of the deorbit difficulties [12:22:24] Apollo 7 and 9 didn't get the latest round of RTCC updates yet, that's why it still uses that time method [12:22:48] another thing could be drag [12:22:54] the RTCC doesn't account for drag [12:23:13] the drag of the CSM is probably quite a bit smaller than actual [12:23:19] that could be the cause of that SV propagation error as well? [12:23:31] it will contribute to it [12:24:04] but something else has to be off to cause the errors that we see [12:24:34] and of course the deorbit calculation itself has issues, so that it has to switch to that backup method [12:24:45] the block data use the same calculation [12:24:52] at least it's reliable [12:26:24] hmm, so about SPS-7 [12:26:32] it is supposed to put the perigee at 45°W [12:26:37] 46 revs after SPS-7 [12:26:45] which should be the rev after nominal deorbit [12:26:51] and it's not far off actually [12:27:27] the calculation doesn't account for apsidal precession [12:27:50] I am seeing a perigee at 52.22°W at 238:42:12 [12:28:10] well I guess that is actually the rev of the normal deorbit [12:29:53] 74.57°W at 240:12:14 [12:30:10] both of these should be fairly favourable for a deorbit at apogee [12:30:12] near* [12:33:21] I've seen some papers in my own travels recently about estimating drag for satellites. I would be interested in at least comparing again our own [12:34:49] the SIVb is also probably way more "streamlined" than it really should be. [12:34:59] I also need to do a proper check against Orbiter's gravity calculation. Something feels off about that as compared to RTCC calculations [12:35:07] mostly nonspherical gravity in low orbits [12:35:16] yeah the S-IVB should have a lot more drag [12:35:30] you will have noticed the small DV of the Apollo 7 phasing maneuver [12:35:51] in reality it was a lot larger because of S-IVB orbit decay [12:36:50] oh yes, my first one was only 1.6 ft/sec [12:37:01] 5.7 in reality I think [12:37:29] that sounds familiar [12:39:28] I take it the real RTCC had a drag estimation method? [12:42:12] yeah [12:42:46] and acceleration from S-IVB LH2 venting [12:43:50] So would being able to better propagate that SV solve the problem? Or is SPS-7 still an issue [12:46:22] I think there are multiple things that are a bit of an issue [12:46:46] the greatest control over the reentry trajectory is actually the reentry flight path angle [12:46:56] if I make that smaller everything works better [12:48:26] but I think our value is correct [12:49:52] I do think that SPS-7 should be improved [12:50:26] the deorbit calculation is very sensitive [12:50:43] and I have to investigate how bad a 3km error after 6 hours of propagation really is [12:51:01] and where it comes from [12:55:05] I'm pretty sure that error only happens in LEO [12:59:47] yeah as it stands now, doing that -30Hp deorbit just doesnt work out time wise [13:00:00] I have to wait to recompute to be successful [13:00:27] and even that better solution seems to be at a height that is not good [13:02:58] I blame your pre SPS-7 trajectory for all problems :D [13:08:26] haha [13:08:40] and I blame MCC for putting me on that trajectory [13:12:14] :P [13:14:20] I'll probably make changes to all the calculations involved soon and will fly Apollo 9 [13:14:29] hopefully most things get improved then [13:14:37] speaking about things getting improved [13:14:51] n7275, I kind of liked your previous commit better than the most recent one [13:15:00] awesome, checklist is pretty much done, just not deorbit [13:18:10] I don't think I'll come up with a simple, short term fix [13:18:19] so it will be many weeks until then [13:20:21] no worries [13:20:55] I will check the deorbit checklists with the "better" of the two burns and push that and it should be mostly complete [13:22:14] indy91, oh, why's that [13:22:40] why the sudden change to this more complicated system for the iteration? [13:22:55] I only wondered why the initial guess voltage was now higher in the previous commit [13:22:59] otherwise it looked good [13:23:37] and the clogging effects on voltage etc. are completely removed? [13:26:41] something happened [13:26:48] weird [13:27:47] I should probably find out if checking for. convergence evaluates faster than just calculating another step. [13:28:30] did it not converge well in all case in the previous version? [13:28:54] even with the higher initial guess voltage it seemed fine after 5 steps [13:29:41] the previous version looked a lot more elegant at least [13:34:18] my goal was improving speed and not running calculations that didn't need to run. 5 steps is typically good though so I can go back if you think it's better code [13:39:17] this one has the benefit of being qualtifably accurate, but being within 1 millivolt wasn't necessarily my primary goal [13:40:17] another thing I am seeing, where does Amperes get calculated initially? [13:40:35] Before the "Volts = A + B..." calculation [13:41:28] ah you made it 25A in the contructor [13:41:31] constructor* [13:41:39] is that like an initial guess? [13:41:54] and then on the next timesteps it will use the previous value I guess [13:45:09] the solution with the loadResistance now leads to interesting results for the power load recalculation after the iteration [13:45:25] in my example case with 477 K [13:45:48] initial power load 300, recalculated 369.6 [13:46:08] 600 -> 654.54 [13:46:37] 1000 -> 969.54 [13:47:13] is that intended? [13:53:56] I'm still not understanding that recalculation to be honest. This new version of it adds the load resistance to the process, but it's still very similar [13:54:37] I just don't think the power load should be "falsified" like that. Maybe I'm just not getting it