-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bit at Index 64 is set to 0 #831
Comments
git checkout gpstime-test ws a time.gps, notice that after telem dump + parsetelem that all odd numbered wn don't parse correctly |
python -m ptest runsim -c ptest/configs/hootl.json -t SingleSatDetumbleCase --clean |
Moving time.gps to the front of the flow fixes it? |
nevermind, there's some code that's setting the 2nd bit from the front of the flow to 0. when time.gps is at the front of a flow, 2045->2045, 2046->2044, 2047->2045, 2048->2048 |
Planned course of action is to move attitude_estimator.ignore_sun_vectors to the 3rd bit in front of GPS time. that means that field will always be false, but at least the other fields will be intact we thnk. We have no idea if any of the other flows below flow 2 are affected. |
As far as we can tell, this cursed bit effect also goes away when we changed the boot count serializer with #828 |
Actually, it moves it into the 26th bit of the second flow. Which is the in the time of week.... |
I believe it is this
Unfortunately, this means the combination of changing the serializer size for bootcount and adding the cursed bit in #838 moved the issue but did not mitigate it. Further testing needed to quantify the effects on the accuracy of |
wow that's crazy |
The bit that is being set is now in pan.cycle_no, therefore we are fine. |
Resolution is to turn off cursed flows, and only toggle on these flows:
|
Or we change the downlink parser code to go as follows: |
The text was updated successfully, but these errors were encountered: