Skip to content
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

Investigate apparent data loss during flight #77

Open
jameysharp opened this issue Jul 29, 2015 · 1 comment
Open

Investigate apparent data loss during flight #77

jameysharp opened this issue Jul 29, 2015 · 1 comment

Comments

@jameysharp
Copy link
Member

Once we turned on the GPS board, every few seconds the flight computer logged a group of "Sequence Error" (SEQE) messages. These show that we lost between 30ms and 1.75s of data each time (based on the size of the sequence number gaps), which is concerning.

We need to investigate:

  1. Is there a corresponding gap of missing data prior to each SEQE message? (Probably, but it's worth checking.)
  2. Does the gap span the same interval across all message types, or just the ones associated with sequence numbers, or just a few specific sources?
  3. What caused these gaps?
@jameysharp
Copy link
Member Author

After we turned on the GPS at timestamp 117244117823154, the first time this occurred was 47.059 seconds later, between timestamps 117291177275128 and 117291258831868, a span of 81.55674ms.

Here's that first sequence:

  • last BMP1 at 117291172217781
  • last RNHP at 117291176230024
  • last JGPS at 117291177262417
  • last ADIS at 117291177275128
  • (gap)
  • SEQE+first JGPS at 117291258831868: 162 packets dropped, ~80ms
  • SEQE+first RNHP at 117291259391437: 82 packets dropped (not sure of nominal sample rate)
  • SEQE+first ADIS at 117291259405475: 66 packets dropped, ~80.5ms
  • SEQE+first BMP1 at 117291262243406: 8 packets dropped, ~80ms

Judging by these numbers, we can probably get pretty good estimates of gap times by looking at the number of JGPS packets dropped.

This consistency across sources is disappointing because it looks like we lost all data coming into the flight computer during these gaps. It isn't yet clear whether these were lost at the Ethernet switch, in the flight computer's NIC, or in the Linux kernel on the flight computer. But it does look like the fault was not in the microcontrollers, which appear to have been sending data reliably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant