Aaaaaah... you miss the data that is NOT HUD-unique. :idea:
Remember: HUD and dedicated display system have the same bus terminal number.
Now it makes sense!!!!
---------- Post added 05-16-18 at 10:10 AM ---------- Previous post was 05-15-18 at 06:10 PM ----------
The DDU displays all have a "data validity" word, which I'm going to assume has bits set to 1 when the respective data word is valid. It makes sense so the HUD knows the radar data is valid during landing. :shrug:
2 things that aren't "flowing nicely" are the NZ and the sideslip values.
There is a "vehicle acceleration" on the AMI which my info points to be total acceleration, and a "vertical acceleration" on the AVVI, which is also not what we want.
On the sideslip, we have "yaw (co)sine" on the ADI, but I'm not sure how the MCDS ADI worked during reentry. I know the MEDS one has yaw at 0 during reentry, but I've seen no info for the MCDS version.
And now some good news: the guidance diamond was actually very easy to do. Its deviation from the flight director/velocity vector is the pitch and roll errors, so the existing logic there (which was a repeat calculation of things that were already calculated (several times) in the old guidance) went away. Now, I just need to finish the new guidance to get those pitch and roll errors... :shifty:
---------- Post added at 10:18 AM ---------- Previous post was at 10:10 AM ----------
BTW guidance phase, WOW and WONG signals are also not explicit... not sure if I should put them in the HUD message control words... and then there are also GPC-to-HUD flags words... :uhh:
---------- Post added at 10:45 PM ---------- Previous post was at 10:18 AM ----------
I've left the HUD for now, as I want to get the guidance part finished so there is data to feed to the HUD.
My previous idea (which I never really liked) was to run the 3 guidance modules (entry, TAEM and A/L) inside AerojetDAP, and have it feed them data and then use their outputs to fly the vehicle. But I think having them as independent "SimpleGPCSoftware" classes, and having them interact with with the AerojetDAP is better.
The big problem is that now we can't have the AerojetDAP running before (for data input, a.k.a navigation) and then after (as it should, for flight control). The "small" problem is scenario load/save... :facepalm:
So it seems we need (at least) another new module to get the data needed for the 3 guidance modules. The info I have available has 3 User Parameter Processing modules, one for each part of the entry/landing... all doable, but still it's even more change with not that much info, so if anyone has more info please share.