[13:18:56] NASSP Logging has been started by n7275 [13:18:58] good morning [13:25:59] hey Matt [13:26:25] the last time I had this happen it was Windows doing funny things in the background :D [13:28:57] but I will check if I also notice something like it [13:29:08] I tested this out on my end and couldn't observe anything [13:31:02] had a good few days? [13:47:16] can't say I see an unusual framerate either [14:05:20] yeah, I had some grand plans on getting a bunch of stuff done (NASSP and otherwise) and I mostly just hung out with family [14:06:37] I had grand plans of not doing anything with NASSP for a few days and 100% succeeded :D [14:06:49] lots of family, food and drink [14:09:17] nice [14:13:30] the S-IVB systems timestep and the function to create the new particle effects aren't actually called until S-II/S-IVB sep [14:13:52] so it couldn't be that specifically causing any timestep issues [14:14:31] performance issues [14:54:35] the only time I ever see performance issues is when I forget to restart for like 3 weeks [15:53:54] hey [15:54:31] yeah I think it might be an issue with my system then [16:01:21] hey Alex [16:01:28] yeah I couldn't replicate it either [16:01:41] the new venting effects are created at S-II/S-IVB sep [16:20:40] right [16:21:28] hows your holidays going? [16:26:08] pretty good so far. But now I have a sore throat, I guess from spending too much time with a bunch of people :D [16:28:21] spreading sicknesses like it's 2019 [16:28:25] oh no, and didn't you have COVID just recently? :D [16:28:57] yeah, sadly there are enough other illnesses still going around haha [16:29:10] true [16:33:57] and how was is it for you? [16:34:12] got a break from visiting so many lunar landing sites? [16:35:59] haha yeah, had to work actually from the 23rd to the 26th but had an early Christmas with family beforehand [16:44:16] I hope you didn't have trouble with Santa [16:44:18] https://avherald.com/h?article=512c88be&opt=0 [16:50:12] hehe yeah I think my colleague showed me that one! [18:14:59] indy91, do you think I should squash my systems update into a single giant commit? [18:17:40] it would probably make reverting easier, and it's so interrelated I can't see only doing that to part of it if we had to [18:20:35] aha [18:21:04] just updated my graphic drivers and the problem seems to be gone [18:24:28] n7275, yeah that probably makes sense [18:24:48] AlexB_88, haha, a few people recently had the opposite issue. A graphics client update causing bad performance. [18:25:04] oh, if you had already recently done an update of it, maybe that was the cause [18:26:23] you mean the D3D9 client? Still using the same from a few years ago I think [18:26:48] Beta R30.7 Jul 22 2021 [18:31:48] Nvidia drivers [18:32:26] yeah sorry, I said the wrong thing haha [18:32:36] Ryan and at least one other person had performance issues after they did an update of the drivers [18:32:59] maybe it was a temporary bug in the drivers [18:37:14] ah yes [18:37:25] I think I had done a recent update, before todays [18:37:41] so that must be it [18:39:09] luckily it was that because I was about to blame it on the ATDP Trojan :D [18:42:24] haha, yeah, the ATDP is calling very dangerous external software [18:42:37] some call it gnuplot [18:49:09] Lunar-stay temperatures are looking pretty good [19:21:44] ah that's promising [19:24:47] I have a ~1400 word (with about a dizen figures) forum post ready for when we merge it too :) [19:25:06] *dozen [20:28:10] indy91, just looking at the RTCC mission file structure [20:32:07] I wonder if there would be a way to have multiple mission files for a given mission number, like for example a scenario where Apollo 13 had no failure and landed normally at Fra Mauro, then you could simulate a fictional Apollo 14 based on the original plan for it which I believe was the Littrow crater. I guess you would need "Apollo 14 SFP.txt' etc but you could also have "Apollo 14B SFP" etc [20:35:10] Or for Apollo 18,19,20 you could have different versions of each mission reflecting all their potential landing sites [20:46:52] in my latest RTCC files update I made it so you can name the files anything you want [20:47:07] doesn't have to include the word Apollo or a number [20:47:19] just has to selected once in the config menu [20:47:21] but [20:47:28] this doesn't apply to the Init file [20:47:37] I have no good concept to achieve the same for that file [20:47:42] ah [20:48:06] for the init file, I guess you just have to not have over-lapping dates [20:48:31] yeah. But for the other files, I have a "short hand" for launch scenarios so that you only have to put one line in it [20:48:53] RTCC_MISSIONFILES Apollo 11 [20:48:56] for example [20:49:10] makes it so it automatically loads "Apollo 11 Constants", "Apollo 11 TLI" and "Apollo 11 SFP" [20:49:19] but the names are saved/loaded separately [20:49:27] so in the config menu you can change them to anything you want [20:50:10] that's how I have tested it for Tycho [20:50:14] loaded a stock Apollo 17 scenario [20:50:21] and made all the changes in-sim [20:50:40] best order is: file selection, launch day selection, launch time [20:51:07] similar to how they actually loaded mission constants and the other stuff from tape into the computer memory [20:51:12] before running P80 [20:53:03] right [20:53:48] afternoon! [20:54:09] hey Mike [20:54:35] how's it going? [20:54:40] So if I have files Apollo 14B Constants, Apollo 14B SFP, Apollo 14B TLI and I can put RTCC_MISSIONFILES Apollo 14B in the launch scenario? [20:54:44] hey Mike [20:55:31] AlexB_88, I think that would work, it's based on the "Apollo 14B" string and not a number [20:57:04] thewonderidiot, getting sick again it seems like. Turns out if you put 8 people from 4 different cities in a house for a few days, 2 of them already arriving a bit sick, bad things happen haha [20:57:27] but not Covid [20:57:32] just something annoying [20:58:06] hah yeah, that does cause bad things to happen haha [20:58:19] but glad it's just something annoying and not something miserable :D [20:58:24] I didn't read everything on Discord, made some good progress with Sunspot? Or at least as good as one could hope for [20:58:49] yeah! I tentatively have module B21 fully repaired, and fully disassembled [20:59:11] B22 was already fully repaired and I should finish disassembling it in a few days [20:59:31] and then, back to B28, which I think two banks will be fully repairable and two banks we might only get the first 75% [21:00:37] it turns out it's a little bit like Skylark [21:01:08] in orbital integration, they removed whatever lunar capabilities Corona had in order to make room for more advanced earth orbit stuff [21:01:22] ah interesting [21:01:30] maybe like the deorbit TIG search [21:01:43] places that used to select the right mu in Corona and Solarium now only have earth mu hardcoded :) [21:02:03] some form of mu at least [21:02:26] lol yeah, probably still some crazy multiple of mu divided by time or something like that [21:03:04] and speaking of Skylark, I'm planning on making another call about that tomorrow [21:04:19] no further comparisons to Sunspot please, reading the Skylark modules will surely work 100% and on the first try :D [21:04:42] hahaha surely [21:05:11] the track record is good, I have never had a module with 1006399 diodes read incorrectly yet :D [21:05:49] yeah, that should be no problem [21:18:30] my biggest worry is that the Block II rope reader has gotten too bored and broken somehow. but that's why I'm bringing up the backup board, just in case. if any trip is worth bringing a backup board along for it's this one [21:19:24] hmm right. You could use a permanent Block II modules for reading tests. [21:19:29] module* [21:26:46] can't you build a stand-in rope simulator or so? [21:35:52] ehhh not easily [21:41:19] just have to build an actual rope module then :) [21:43:57] I'll enlist my grandma for it [22:22:50] night! [13:06:30] good morning [13:07:45] hello hello [13:09:48] I figured out how they generated a vector pointing from the CSM to the center of the Earth in the RTCC [13:10:07] 0645213|Reference body is the Earth. [13:10:10] 0645215|Latitude, zero. [13:10:12] 0645217|Longitude, zero. [13:10:15] 0645219|Altitude, minus 20,850,000 feet. [13:10:17] 0645227|Uh, could you repeat that height again, guys? [13:12:38] https://i.imgur.com/oSsVrsh.png [13:12:39] it works :D [13:12:45] with the GOST display [13:16:41] oh cool [13:16:56] bit of a dumb workaround haha [13:19:41] Dynamics was also surprised I guess. "20,850,000 feet, wait what?" :D [13:23:03] it's a long way down to the middle [13:31:39] double mintFactor = __max(simdt / 50.0, 0.02); [13:31:47] I hadn't seen yet that you changed this [13:40:01] I guess this forces smaller system timesteps [13:41:26] but only really for small framerates and high time accelerations, it seems [13:45:00] can't see anything wrong with the code of your PR [16:41:15] I stepped away for a bit. I'm back [16:42:57] that change was ment to keep the same systems timestep length, as long as the orbiter timestep is below 1 second [16:44:35] previously the systems timestep started increasing in length at when the Orbiter timestep was 0.5 seconds [16:45:18] which was causing instability in the LM ECS [17:10:52] indy91 https://imgur.com/UW1l0lA [17:18:16] right [17:18:31] yeah that's no problem. No difference at small time accell [17:18:50] and an incentive to buy a new CPU at really high time accel :D [17:23:46] we'll need to do something similar in the CSM when we impliment proper ECS there [17:43:31] morning! [17:44:09] hey Mike [17:46:51] hey [18:03:56] cya! [16:24:25] hello [16:31:10] hey [16:32:54] hey guys [16:43:17] morning! [16:47:13] hey Mike [16:55:32] I'm working on P53 in Sunspot [16:59:55] ah fun. And I stil learned something new about Sunspot again. It has a separate SIVB/IMU align vs. CSM/IMU align. [17:00:47] indeed! [17:01:30] P52: fine alignment when SIVB attached; auto star selection and acquisition with manual overrid [17:02:06] P53: fine alignment when CSM free; automatic star selection and acquisition with manual override; automatic attitude maneuvers with manual override; program terminates with CSM and IMU in attitude required by governing major program [17:10:03] with auto maneuvers, interesting [17:10:51] so many interesting ideas in Sunspot [17:12:11] not necessarily good ones in terms of using the AGC fixed memory wisely, but very interesting :D [17:12:27] hehehe [17:19:49] did certain phone calls happen yet? [17:20:17] no, I ended up being swamped yesterday. going to happen in a couple of hours [17:20:36] ah ok, just wondering haha [17:32:52] indy91, would it be hard to add a pericynthion GMT input box on the mission planning tab of the ATDP? [17:33:18] like the TLC time would be adjusted automatically to arrive at the desired GMT I guess? [17:33:34] or maybe that is a bit ambitious :D [17:34:24] you had asked for that already. It definitely needs some changes deeper down in the logic, not as simple as an input box. But it could be done. [17:34:55] not super difficult [17:36:11] ah ok...I thought it would be something quite simple like just adding an input box. I think that the current solution is still good enough and not worth a huge effort to change [17:37:14] I'm collecting a few ideas for additional features for the ATDP. Right now I want to keep it a bit stable, fix bugs etc. [17:37:43] Most ideas we have will make a bit of a mess with special code for special cases [17:37:45] yeah makes sense [17:38:08] so to keep the code in any way readable these things have to be implemented with some thought put into it haha [17:47:12] I had though, at some point, if writing some plugin for GMAT wasn't easier for the mission planning step :D [17:47:38] if that is at all feasible, it would probably allow us to be more flexible [18:07:23] yeah [18:10:22] I think the interface is quite good already for finding launch windows, needs tweaking of parameters but it will get you to a solution [18:12:04] you just need to learn which parameters to play with to fix whatever issue you have (high LOI/PC+2 DV etc) [18:14:09] I am currently creating a big "bank" of launch windows that I can come back to later to assign to a custom mission [18:23:47] ah fun [19:44:40] one weird issue with the ATDP is sometimes I will get an "Error: TEI trajectory failed to converge on splashdown site" and the solution seems to be changing the Max Inclination by a few degrees or so [19:45:30] the weird thing is the solution is nowhere near hitting the max inclination [19:46:18] like I had it happen with Max Inc: 75, so I set it to 80 and it converged [19:46:46] but the converged solution shows an Inclination of EI of 5.94 deg [19:48:36] hmm, weird [13:47:06] good morning [13:49:45] hey Matt [13:50:19] I approved the systems update. I see nothing that needs to be changed or fixed at this point. [13:52:25] thanks! [13:53:51] let me know when I should merge it [14:01:30] I'm currently getting my post ready [14:07:19] Okay, I'm ready. [14:11:59] oh actually, let me just switch to the branch one last time to find if there is any build warning. I hate those :D [14:16:41] none [14:16:45] I guess there is no going back [14:17:06] merged [14:18:11] congrats! [14:19:26] yay! [14:19:45] my goal was "before 2024" [14:20:09] I'll ping Ryan on Discord, to let him know [14:20:25] and you didn't even have to be shot for your timeline to work out [14:20:40] "Last September after some discussions with @indy91 I attempted to add a large H2 tank to our SIVb" so uhhh [14:20:44] when is that happening :D [14:21:20] the amount of mass going from liquid to gas is still not really correctly simulated I would imagine [14:22:15] I guess that's my next project t haha [14:23:07] how is that handled for the O2 that is going into the cabin from the cryo tanks [14:23:13] probably some cheaty heating up [14:23:38] I wouldn't be opposed to implement that in a cheaty way if we could have everything else as a systems SDK tank simulation [14:23:47] makes it easier to control the amount that boils [14:25:47] BoilAllAndSetTemp() [14:25:54] in the csm ecs [14:26:05] yeah [14:34:36] oh whoops, found a spelling mistake in my post [14:34:52] "propulsive vending" [14:35:30] ah Freudian slip, you capitalist! [14:38:42] lol [16:34:22] hey [16:59:52] hey Alex [17:11:46] morning! [17:21:02] hello hello [17:32:42] n7275, I think some of the launch scenarios are missing the NASSPVER 80002 [17:32:53] all the ones in the WIP folder [17:36:15] and Fictional Missions folder [18:28:39] cya! [18:42:55] AlexB_88, I can update those tonight. [18:43:06] awesome [18:44:18] I am about to launch on a flight to Marius Hills...can't wait to test the new update! [18:52:34] oh nice. that should be a good test of things. [19:17:06] n7275, is it normal to have more caution lights during the prelaunch phase, I have a CRYO PRESS and FC BUS DISCONNECT at T-20min [19:17:20] after using auto-checklist up to that point [19:40:14] one thing, I am using the J-Mission conversion so I used the commented blocks in the systems config files [19:41:12] just noticed in the CSM, H2TANK1 and H2TANK2 have VALVE OUT 1 0.0001 [19:41:31] but the commented J-mission version has VALVE OUT 1 0.000001 [19:41:38] wonder if that explains it [19:51:48] oh yeah, that would do it [19:51:51] damn [19:52:13] I know I fixed that in the past [19:52:37] must've got lost in a previous branch somewhere [19:57:33] I'm pretty sure that smaller out valve starved the FCs [19:59:46] right [20:00:36] also my O2 tank 2 pressure gauge is full scale low [20:01:03] I guess that causes the CRYO PRESS caution [20:01:19] O2 tank 1 showing 500 PSIA [20:02:56] actually that was the surge tank [20:03:13] O2 tank 1 is also full scale low 100 PSIA [20:28:18] ah [20:28:22] https://github.com/orbiternassp/NASSP/pull/1023/files#diff-10a0bdfee4eaad85aef1c5531189724085104e637f10cd227cee658f32dd459aR33 [20:28:39] I think they were fixed there [20:30:23] n7275, the CHM values were also adjusted for the normal config O2/H2 tanks, should they be also changed for the J-mission config? [21:35:48] yes, I think I need to run those through my calculator though [21:36:02] sorry about that [21:41:52] no worries haha...Ill run the mission with the standard systems config for now [21:42:12] Ill just ask one of my guys to hold their breath :D [14:07:27] hey [14:13:13] hey [14:14:37] any major issues found yet with the systems update? [14:14:58] old scenarios have a bit of a hiccup, but, nothing major [14:17:26] other than me forgetting part of the J mission stuff, not so far [14:18:34] checks Discord again [14:22:56] I'm implementing some parts of the AGOP, Apollo Generalized Optics Program. Maybe not the most urgent thing to work on, but, it's fun geometry stuff :D [14:23:59] it's a RTACF program, so, no real RTCC documentation gets in my way of implementing it in a user friendly way [14:25:37] so far I have implemented a calculation for the best P23 attitude (option 1), showing unit vectors for e.g. P52 to the Earth, Sun, Moon (option 3) and just displaying a unit vector from the star catalog for P52 (option 3) [14:26:18] option 4 will be antenna pointing. HGA, Steerable and even the RR. [14:27:26] awesome. that'll be very useful to have [14:27:36] I have a RTACF input guide for Apollo 9 [14:28:25] I also have the RTACF requirements for most missions. By Apollo 11 they had a few more features in the AGOP [14:28:34] and I'll definitely add e.g. the crescent align there, too [17:00:00] I'll be logging off for the rest of the year [17:00:16] I think 2024 will be a good year! [17:02:16] see you all then! [18:07:58] hi Alex [18:09:28] hey [18:09:47] thanks for the J-mission fix [18:10:13] coming up on LOI soon, everything went pretty well so far [18:23:49] nice [18:24:52] what landing site are you headed for? [18:36:21] Marius Hills [18:36:59] Built the mission with Nik's tool [18:51:04] nice [18:52:26] alternate Apollo 15? [19:03:12] yeah I guess it could be that but I called it Apollo 18 as its in May of '73 [19:58:07] I have a branch up with a bunch of fictional missions that I created, based on various plans NASA had for Apollo 18-20 [19:59:09] https://github.com/jalexb88/NASSP/tree/MCCApolloXX/Scenarios/Project%20Apollo%20-%20NASSP/Fictional%20Missions [20:02:14] I also made a generic MCC for custom missions in this branch [20:03:02] it is based on the Apollo 15 profile but is made to be useable by missions created with the ATDP [20:05:24] it is a slimmed down MCC though, CSM abort PADs or abort handling, but you get all the nominal PADs/uplinks [20:05:41] no CSM abort PADs or abort handling* [20:49:43] oh cool. I like that [15:58:43] hello [16:00:19] hey Matt [16:00:26] happy new year! [16:04:17] morning! [16:04:21] happy new year! [16:05:24] hello hello [16:14:21] lots of good things to look forward to this year :D [16:15:46] you still have a NARA trip planned, right? I haven't heard back yet from the alternative source of one of the documents. [16:16:27] could be that the email will just be ignored. Or the person is on a 2 week ski trip, you never know about this time of year :D [16:16:46] I have it pencilled in as a "want to do", but at the moment I'm not sure where it falls in the trip priority queue [16:17:14] certainly below the ropes. and I need to follow up with Debbie about a LM Data Book scanning trip [16:17:50] I'll let you know when the NARA trip is in danger of becoming real haha [16:18:10] ah yeah sure, there is nothing I really need in any hurry [16:18:15] the fact that we have a newly updated index from 2023 does make it more interesting [16:19:15] ah yeah I saw that [16:19:34] they combined some sections of it, it seems [16:19:51] doesn't really make it more or less likely that they have these massive IBM RTCC volumes... [16:19:58] hahah yeah [16:20:24] the volumes aren't all "massive", it's very predictable how large they are [16:20:33] they had a cutoff of 1000 pages [16:20:38] then it went into a new volume [16:20:50] lol nice [16:21:01] I guess that's a good a metric as any [16:21:13] I have Volumes 1 and two of "Mission Systems - General" [16:21:23] both 1000 pages [16:21:28] but not 3, nowhere to find [16:21:53] weird [16:21:58] I can pretty much promise it is less than 1000 pages :D [16:22:15] Volume 1 from UHCL, Volume 2 from the archived NTRS [16:22:26] and neither of these two sources had the other volume [16:22:33] slightly suspicious [16:22:56] might have come from the same JSC library and somehow went different directions [16:23:10] oh yeah that's very suspicious, I bet you're right [16:23:23] so we just need to find some secret third repository [16:23:34] but that's just one of many IBM RTCC documents we don't have, despite me getting 1000s of pages from UHCL [16:23:51] UHCL mostly had Mission Planning, all of the MPT stuff [16:24:37] the numbering is all confused anyway. NTRS had something it called Volumes 1, 2 and 3 [16:25:04] but it's from three different books [16:25:16] that's maybe also how it got divided [16:25:29] maybe someone thought there was a complete set, but it's from different books [16:25:31] oh, weird [16:25:46] AS-200 Mission Planning Volume 1 [16:26:02] General Volume 2 [16:26:18] AS-200 Systems Integration Volume 3 [16:26:22] is what NTRS has [16:26:40] the last one is MED formats starting with the letter Q [16:26:45] if they're all RTCC stuff, I could see somebody thinking that the volumes are divided by subject instead of page count [16:26:53] so there definitely would be AS-200 Systems Integration Volume 1-2 as well :D [16:27:19] actually that's the last RTCC document UHCL has that I haven't asked them to scan [16:27:27] another AS-200 Systems Integration [16:27:43] it's just going to be MED formats from 1967, so... [16:28:10] yeah all of these documents start with this in the title [16:28:21] IBM RTCC Apollo Programming Systems - Mission Systems [16:28:23] so would be cool to have, but not super useful [16:28:39] I think I have the equivalent for AS-500 already [16:28:43] yeah, I could see myself making the same mistake haha [16:28:50] so unless it's quite mislabeled, probably not super useful [16:49:56] indy91, I think when I was messing with the SetSize() values (like what MaxQ is doing in his PR), I was increasing it to 10^3ish in size. I don't think there will be any problems if we merge that. [16:50:19] yeah probably [16:50:35] I want to check on this drag thing though [17:11:57] hey [17:12:00] happy new year! [18:04:37] AlexB_88, happy new year! [18:18:54] hi Alex! [19:16:10] just running through LM activation using the Apollo 15 procedures [19:16:43] LM cabin temps are comfy at ~70 F [19:18:16] one discrepancy I notice is the initial closing of the LGC/DSKY circuit breaker [19:19:25] in the activation power up page (2-8) it notes "M.A, LGC ON THEN OFF, RESTART NO DAP" [19:20:00] we do not get the LGC warning and associated MA in NASSP at that moment [19:45:34] interesting [19:46:28] having the Guid Cont switch in AGS inhibits that light [19:46:38] otherwise that signal comes directly from the Virtual AGC [19:47:12] via fake DSKY channel 163 [19:49:28] hmm [19:50:31] thewonderidiot, can the WarningFilter variable in the Virtual AGC even properly work if the agc_engine isn't even called [19:58:41] hmm yeah, I'd like to know better how that works [21:32:42] night! [21:38:38] happy new year Alex! [21:39:04] indy91, agc_engine is written in such a way that it assumes it's being called at the usual rate regardless of standby state [21:40:04] for power state... there might need to be additional logic to simulate the STRT1/STRT2 signals that happen specifically power is applied [21:40:11] *specifically when [21:44:41] thewonderidiot, thanks! Celebrating with a landing attempt at Marius Hills [21:45:01] nice :D [23:00:44] AlexB_88, temps still looking good? [23:43:11] n7275, just before CSM circ burn...suit: 72 F, cabin: 68 F [23:43:22] sorry [23:43:27] cabin: 58 F [23:43:49] both astronauts in suit [23:48:55] nice [15:28:55] hey [16:10:38] hey Nik [16:26:13] I think my next project is going to be finishing off my CreateAirfoil4 PR for OO [16:26:41] so if Orbiter 2024 happens, that's included. [16:30:49] ah great [16:36:16] Someone, (GLS, I think) had asked me about adding some conversion functions so that it was easier to convert between body and stability coeffients in-sim [16:36:23] that shouldn't be too hard [16:38:46] personally, if I were implimenting an aerodynamic force model, and only had stability coeffieints, I would probably just pre-compute them, and save a few function calls/cpu cycles, but I'm sure not everyone wants to do that [16:40:36] yeah I am not sure. It's kind of difficult to have a model that works really well for both aircraft and spacecraft [16:46:08] I think I'll add one more parameter to my new CreateAirfoilEx2 function, a VECTOR3 velocity unit-vector [16:46:42] that way it can truely be a singularity-free vector function if someone wants it to be. [16:47:12] I like that [16:50:25] hi Alex [16:50:58] aaaand I run into the typical problem again with my new optics calculations, the 1:1 MFD aspect ratio... [16:51:18] it just about works on the 2D panel [16:51:27] but with the External MFD the scaling is always worse [16:51:37] so parts of the display get cut off [16:54:59] it would be nice if they had smooth scaling [17:02:16] the stock MFDs solve it by having just enough spare space at the sides [17:03:17] I'm usually pushing it to the limit with the width. Originally all RTCC MFD displays were only optimized for 2D panels [17:03:32] as you will have noticed, that rarely works well with the External MFD... [17:04:33] one solution is to make the font even smaller [17:04:40] then the displays become unusable in 2D [17:04:46] and work only with the External MFD [17:04:59] with us moving more to the VCs that could be valid I guess [17:14:37] is it too much to ask to squeeze a GET, two sextant angles and an attitude next to each other :D [17:21:52] oh interesting. Because of the font scaling, if I make it 50% smaller it doesn't actually appear smaller in 2D [17:22:09] but still works out properly, without going beyond the limit of the MFD in the External MFD [17:23:29] font height is an integer. The MFD size is an integer. Typically you define ponts as a fraction of the total MFD height/width [17:23:37] fonts* [17:24:01] in this case height/24 looks identical to height/32 on the 2D panel [17:24:31] but the External MFD size where it switches to one pixel of font size more, that changes a lot [17:26:40] thewonderidiot, I still don't really understand WarningFilter. the AGC warning signal is sent out when that is beyond WARNING_FILTER_THRESHOLD, right? It is being counted up depending on something with ChanSCALER1. [17:27:09] normally, with the AGC powered up and not in standby, WarningFilter seems to usually be 0 [17:27:32] hey [17:27:36] hey Alex [17:35:37] morning! [17:35:47] hey Mike [17:36:48] the warning filter is essentially an RC charging circuit that gets slightly charged once every 160ms if there was a problem (indicated by the GeneratedWarning boolean) sometime within that 160ms [17:37:32] it's mostly hardware issues like power supply failure, oscillator failure, failure to execute a count, etc. so there's not a lot that virtualagc can really simulate as an emulator [17:38:09] yes and the problem is, with NASSP not calling agc_engine when the AGC is powered off, neither can we right now really [17:38:29] it won't work if the AGC is powered off, so that is fine [17:38:42] it is expecting to be called when the AGC is in standby though [17:38:48] yeah, we do that [17:39:08] so how would we get an AGC alarm on initial LGC power up [17:39:30] so what you're missing is that there is nothing to set GeneratedWarning to 1 for a couple of seconds after bringing the computer out of standby [17:41:25] https://www.ibiblio.org/apollo/Documents/dd_memo_363.pdf [17:44:13] that's discussing the restart lamp but the duration of STRT2 is part of it [17:51:15] STRT2 is a signal? Where is that in the Virtual AGC? [17:52:07] that memo is a good resource on all this, but still a bit too high for me right now [17:52:28] does it say that, on initial power up, you should always get a AGC warning? [17:52:33] or not... [17:53:10] STRT2 is the "oscillator fail" hardware alarm. it is generated for a while after powering on or exiting standby [17:53:22] it is nowhere in virtualagc, because virtualagc doesn't simulate power [17:57:49] but it has the warning filter [17:58:09] could/should we set it to an initial value if the AGC is fully off? [17:58:17] we do that with a lot of other Virtual AGC variables [18:06:16] hm, yeah, you could do that. the most realistic thing to do would be to continuously set GeneratedWarning = 1 for a second or so after applying power [18:06:44] or rather maybe, force a gojam for that long if there's a hook for it [18:19:07] but I thought that is what WarningFilter tries to simulate [18:19:15] the warning for a second [18:25:55] yeah. you could set WarningFilter to its max value directly, it's just a little bit cheaty [18:40:27] definitely the simplest solution though :) [18:40:50] really the AGC should be prevented from running for that second or two as well if we wanted fully accurate behavior [18:44:43] which part of the AGC though [18:44:56] from a NASSP perspective you either call agc_engine or you don't :D [18:46:04] right, that would mean a few changes to agc_engine so it is aware of application of power [18:47:07] I kind of like the "WarningFilter to its max value" solution [18:47:15] because of its small number of required changes [18:47:25] basically one line [18:47:41] yeah, for now I think that's the best [18:47:43] but I do wonder now if our standby mode bug is in any way related to this [18:48:12] it wasn't pending interrupts, so much is clear [18:48:17] Thymo fixed those [18:48:50] it's odd that it only happens sometimes [18:49:06] seems very timing-related [18:49:37] I need to find a scenario where that bug 100% occurs [18:55:49] ah Turry had it during Apollo 9 :D [18:56:07] and 7... [18:59:19] yep, got a good testing scenario there [18:59:26] still in standby and the bug happens [19:03:24] oh nice! [19:04:17] I never delete scenarios, so I am sure I had one of my own somewhere, too :D [19:04:33] first I'll write an AGC state decrypter [19:04:57] just for our struct where we save/load Virtual AGC bits [20:01:59] ok, got my AGC state decrypter [20:02:10] the relevant bits are [20:02:28] Standby: 1 [20:02:33] NightWatchman: 1 [20:02:41] PendFlag: 1 [20:02:46] AllowInterrupt: 1 [20:02:54] should any of these not be on during standby mode? [20:05:06] everything else is 0 [20:07:18] DSKYCHANNEL163 768 [20:07:21] if that is relevant [20:11:23] ooooo I wonder if PendFlag is doing something bad [20:14:05] "Multi-MCT instruction pending" [20:15:11] maybe something happening with unlucky timing when you go into standby mode? [20:15:45] yeah definitely could be [20:40:04] can you send me the scenario? [20:40:23] sure [20:40:36] I can generate you a core file, too, if that is even easier [20:41:40] ooo can I have both? haha [20:42:34] sure [20:43:07] I have the scenario from Discord, from Turry. Instead of uploading it again I was searching the link, which now already took longer than uploading it myself... [20:43:24] hahahaha [20:46:35] https://cdn.discordapp.com/attachments/809545464331370506/991774638411632680/Apollo_9_-_Practica_-_GET_65_20_0004.scn?ex=659ee41c&is=658c6f1c&hm=7f6cc00c1298220266c3df02ec1a8258477e070c01087a3c140b559b07422a80& [20:46:58] your old NASSP install will like this scenario better than mine... [20:50:00] is it the CMC or the LGC that has the issue? [20:51:17] https://drive.google.com/file/d/1QSCDIPVLjT0xUqzijIo4yO4HgZX8OB9F/view?usp=sharing [20:51:20] CMC [20:51:43] I actually haven't tried before to load this in the standalone Virtual AGC [20:57:46] thanks! [20:59:57] I got rid of my Window Virtual AGC install. Well, I have an unsuccesful build version... [21:00:09] Windows* [21:00:17] need to use my Linux laptop to test it [21:02:20] ah yeah, now I know again how to see that the bug happens [21:02:40] when you get out of standby mode you should get a flashing V37 [21:02:49] still in P06 [21:03:22] but with the bug, you don't get that [21:04:21] you still have V50 N25 (not flashing) from when you entered standby mode [21:05:05] and when you just do V37E 00E, no V69 or so, then the clock isn't updated [21:06:07] actually, let me just try what happens when I reset the PendFlag [21:11:20] nope, that alone doesn't fix it [21:12:12] hmmm, darn [21:13:39] AllowInterrupt: 1, could that be bad? [21:15:19] mm, it shouldn't be [21:15:33] that is a real effect of a computer restart [21:16:54] one of the quirks of the Block II instruction set is that an interrupt can never immediately precede a pseudocode instruction (EXTEND, INHINT, RELINT) [21:17:20] which is why in every rope, you will see the first instruction at address 4000 is INHINT [21:17:46] the hardware automatically enables interrupts on restart, but because an interrupt can't come before INHINT, it can't actually run any interrupts before that first inhint [21:22:55] right [21:25:01] in the Virtual AGC code not much happens when standby mode is over [21:25:14] so this whole restart thing is set up before, I guess [21:25:16] yep [21:25:41] TriggeredAlarm [21:26:02] that all happens when you get into standby mode [21:27:08] the flags and such are like they are being set with the GOJAM there [21:27:19] EMEM0005 4000 [21:27:22] also good I guess [21:27:50] yeah. but when I try to run this core file I immediately get a downrupt [21:28:01] hmm [21:28:21] is that bad? :D [21:28:46] yeah, I don't think it should happen [21:29:31] VINT000 8 [21:29:35] saved in our scenario [21:29:57] so InterruptRequests[0] = 8 [21:30:06] which is fine [21:31:50] but that's what causes it, no? [21:32:11] right, but for the reasons I laid out above, it shouldn't actually handle this downrupt [21:32:13] it's fine for it to be pending [21:34:31] bug still happens if I set that to 0 [21:35:31] uhhh [21:35:45] just to double check, what is IndexValue? [21:36:12] IDXV 1755 [21:36:15] decimal [21:36:36] :| [21:36:41] does making that 0 fix it? [21:37:11] let's see [21:38:11] I think this is it. if the computer is executing an INDEX when it goes into standby, that INDEX sticks around and corrupts the INHINT that is supposed to be the first instruction, causing the computer to execute a completely random instruction when it boots up... [21:38:21] ot does! [21:38:23] it* [21:38:37] yeah this is a dumb virtualagc bug [21:38:43] finally we are getting somewhere [21:39:05] as easy to fix as it is dumb? :D [21:39:52] https://github.com/orbiternassp/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_sys/yaAGC/agc_engine.c#L2173 [21:39:54] this block needs to set State->IndexValue to 0 [21:40:16] and also State->SubstituteInstruction for good measure [21:41:00] I guess this doesn't help old scenarios [21:41:20] just so that we know about that going forward, if people are asking [21:41:36] scenarios that are already in standby mode [21:41:49] yeah, we'll need to manually fix IndexValue in those scenarios [21:42:00] or just V69 [21:42:03] damn just went into standby mode here at Marius :D [21:42:05] we can tell people that :D [21:42:06] or that! [21:42:17] but at least it should be fixed going forward [21:42:37] are you going to do a Virtual AGC pull request? I then usually copy them 1:1 [21:42:47] yeah, I can do that later today [21:42:52] sounds good [21:43:45] I am curious. Our experience has been that the first bug on a mission is random, you might not even get it at all. [21:44:03] but when it has happened once, usually it happened on subsequent standby modes, too [21:44:15] huh. I can't explain that [21:44:27] maybe there isn't anything to it haha [21:44:39] it happens, don't think we 100% confirmed that [21:45:33] nothing I will spend too much time thinking about if soon we will never get this bug again [21:45:41] so should I avoid standby mode until the fix is pushed? [21:45:48] haha no [21:46:05] just know that you should get a flashing V37 when you come out of standby mode [21:46:22] but if you don't, instead the non-flashing V50 N25, then do V69E, to trigger a restart [21:46:53] ok [21:47:32] I will say... the fact that it's executing a random instruction at boot does open up the possibility that it corrupts an erasable somewhere [21:48:22] is this related to the lack of LGC warning at initial boot? [21:48:32] damn, 2024's gonna be the year we fix all the bugs [21:48:38] unrelated, that's just something that isn't simulated currently [21:48:56] ah [21:49:14] the LGC warning is fully hardware controlled, and virtualagc doesn't simulate all the way down to that hardware level (concerning voltages at different circuits) [21:49:46] right [21:50:11] AlexB_88, I was only looking into this though because you mentioned the LGC warning [21:51:04] corrupted erasable, hmm [21:51:11] I wonder how often that got us haha [21:51:18] yeah, it's impossible to say [21:51:30] we used to have a time acceleration bug that caused even more issues with erasable corruption [21:51:53] that indexvalue can corrupt the first instruction to anything. could jump to some part of the code it shouldn't, could store a value to erasable, could do anything [21:52:02] I thought that, since then, at least 1-2 people had something like it, too. But probably from some really bad lag. [21:52:11] honestly it's probably better to fix scenarios than to do the V69 workaround [21:52:30] if we have any mission scenarios that suffer from the bug I will fix them [21:52:45] cool cool [21:53:12] IndexValue is probably the main culprit, but I want to take my time tonight and scrub through every other bit of state to make sure we're not missing anything else that should be set to a known value [21:54:39] makes sense. I should revisit the NASSP code that resets stuff when the AGC is powered down, too [21:55:08] "could do anything" Make SM panels disappear randomly? :D [21:55:25] hahaha no, I don't think the AGC has that power :D [21:56:50] I always like to blame all trouble on the W-Matrix, so from now on I blame W-Matrix corruption [21:57:10] hehehe [21:59:40] who knows, maybe we even find the SM panel bug this year [22:02:27] I haven't seen that one in a while [22:03:58] I've seen it rarely, but regularly on Discord [22:09:21] night! [14:55:52] good morning [14:57:18] hello hello [15:22:30] do you mind taking a quick look at this before I try to push it along https://github.com/orbitersim/orbiter/pull/384 [15:23:30] oh yeah, sure [15:23:47] looks more complicated than a quick look though, that won't be enough :D [15:33:23] so the gamma is new? [15:33:42] the trouble I had was that aoa and beta aren't well defined, they have singularities [15:34:03] so adding a gamma angle doesn't really solve the issue of not being able to use the other angles in all attitudes. But maybe it's not meant for that? [15:36:10] my intent was t give the option of using: (alpha, beta) or (alpha, gamma) or (alpha, beta, gamma) or (WindDir) [15:37:29] ah right, you get all of these [15:38:13] I made use of CreateAirfoil3 giving a vessel pointer [15:38:20] and calculated the wind direction myself [15:38:21] v->GetAirspeedVector(FRAME_LOCAL, vec); [15:38:22] vec = unit(vec); [15:38:27] but I guess that can have timestep issues [15:38:43] not sure if the rotation numerical integration is single step [15:39:00] but if it isn't it's better like you did it [15:39:29] -_V(sp.airvel_ship.unit().x, sp.airvel_ship.unit().y, sp.airvel_ship.unit().z) [15:39:38] isn't it more efficient to do [15:39:47] -unit(sp.airvel_ship) [15:44:31] ahh, that's because of a Vector, vs VECTOR3 internal Orbiter thing [15:45:02] we're not the only ones that have two different vector types [15:45:11] ah true [15:45:13] VECTOR3 is the API type [15:52:15] for the Skylab data I'm planning on precomputing a vector (X,Y,Z) lookup table with sph2cart [15:53:23] then using a array that's pretending to be a function to return lookup values: array[(int)lookup] [15:59:27] that sounds fancy [16:00:05] https://github.com/orbiternassp/NASSP/blob/Orbiter2016/Orbitersdk/samples/ProjectApollo/src_csm/saturnmesh.cpp#L181 [16:00:11] I just have these huge tables for the CM :D [16:08:23] I'd probably do something very simular [16:11:22] but rather than the for loops I would probably cast the inputs to ints and use them as array inputs [16:11:33] *indices [16:13:39] then I could feed the result into your bilinear interpolation function [16:26:38] Lift = dotp(AeroForce, ldir); [16:26:39] Drag = Lift = dotp(AeroForce, ddir); [16:26:44] is that intended? [16:31:03] uhh probably not [16:47:11] easy fix [17:03:10] which reminds me, I wanted to add a visual-helper vector for side-force too [17:04:24] morning! [17:04:46] hey Mike [17:04:51] hey guys [17:05:28] hello [17:05:36] sorry, didn't get to the standby thing last night. AOH scanning ended up being an all-evening task [17:08:43] just 1300 pages in an evening, really lazy :D [17:09:51] we've had and known the bug for a few years [17:10:02] a day or two won't make the difference haha [17:11:22] :D [16:59:07] hey [17:01:51] hi guys [17:18:39] hey [17:37:22] morning! [17:53:27] hello hello [16:02:55] good morning [16:07:07] hey Matt [16:08:18] still looking at these optics things. one of the options, "Point AOT with CSM", I can calculate pretty easily. But not identical to the actual Apollo 9 values. Technically you can "roll" around the AOT view, so, you have many possible solutions [16:08:37] and I am missing what constraint they used for that [16:08:54] I guess the primary constraint would be to not have the CSM in gimbal lock, as it has to do the pointing... [16:11:36] or minimal movement from current position? [16:11:54] yes that is definitely something other AGOP options use [16:12:00] is there an unambiguous way to define that though [16:12:05] kind of [16:12:16] I have been using something similar already actually [16:12:19] for the Apollo 9 MCC [16:12:29] the shortest required movement from 0,0,0 IMU angles [16:12:38] in the hope that also prevents gimbal lock [16:12:55] it does work somewhat for one use of this calculation on Apollo 9, but not the other [16:13:18] it's used for the initial AOT visibility check, before the docked DPS burn [16:13:28] and then much later after the rendezvous again, LM does a docked P52 [16:14:44] I tried the transcript angles, in the initial test it almost looks like they wanted to shield the AOT with the CSM [16:15:00] CSM is in between sun and AOT [16:15:16] it doesn't quite work out with that docked P52 I think [16:17:28] the calculation inputs mention a specific time when the attitude is valid [16:17:34] maybe it's something Earth related [16:17:55] I have to test in our scenarios the orientation at the exact time when the attitude is supposed to be valid [16:18:03] maybe it's having the CSM or LM pointing down or up [16:21:17] maybe its something like preventing glare off of the CSM from hitting the AOT [16:32:43] I had already created a script for the calculations a while back [16:33:05] basically, as soon as I have a method that gives similar angles to the actual mission for all 3 calculations [16:33:08] then I got it [17:42:09] morning! [17:51:44] hey [18:08:35] hey guys [18:31:36] alright, time to ignite some major controversy: what color should the side-force visual helper vector be? [18:31:50] I'm thinking a nice light blue :) [18:33:02] how dare you [18:45:35] lol [18:50:01] writing a 2000 word forum post about it right now [18:54:05] ...which no one will read [18:56:05] true [18:56:21] but people will complain about the color after it is implemented, not when you ask for opinions before it is implemented :D [19:13:18] of course [19:41:59] n7275, that update script on Github, that works for 80001 to 80002, right? [19:42:04] https://github.com/orbiternassp/ScenarioUpdateScripts [19:42:08] even if it is 6 months old [19:46:27] yep works [19:48:01] yeah it should. I hadn't made any changes that it addressed since I put it on github [19:48:48] it was only unhappy for a few seconds [20:02:56] some folks have had issues with it. so I think I need to look a little more closly into why that is [21:12:17] cya!