Fix #4, Add PacketNotFoundCtr to HK AppData/Tlm#54
Fix #4, Add PacketNotFoundCtr to HK AppData/Tlm#54thnkslprpt wants to merge 1 commit intonasa:mainfrom
Conversation
|
Two questions:
|
|
This is a thinker. TBH this doesn't seem to fall in the "run time" sort of error bucket, more a misconfiguration if something is requesting a combined HK MID that doesn't exist in the table. If it was misconfigured (either the table's got the wrong MID or the request has the wrong MID), I'd expect it to be on some sort of schedule, so would probably just flood this event and I don't see big value in tracking how many times it occurred. I probably added this issue to track code review comments without really digging into it. Since it's not the command MID you wouldn't expect it to come from the ground either way. I recommend If others want it I recommend using the old spare element to avoid breaking tlm databases. If they don't keep up they'll just see a spare increment vs getting nonsensical values for the two counters (but only in an error case, so splitting could introduce a sleeper bug). |
Checklist
Describe the contribution
PacketNotFoundCtr) toHK_HkTlm_Payload_tandHK_AppData_tthat tracks the number of times a packet was not found during traversal of the copy table inHK_SendCombinedHkPacket().MissingDataCtrin half to create this counter, but could also just utilize the padding that is already there for this new member, and keep both sized atuint16if neededTesting performed
GitHub CI actions all passing successfully.
Expected behavior changes
Additional information tracking number of times packet not found available in tlm packets now.
Contributor Info
Avi Weiss @thnkslprpt