Fix for #119. Properly set the late state of the receive buffer in the pub_sub receivers.
The buffer enters into a late state after its data has been read out. Any data for that cycle that arrives is considered late, until the next cycle comes in, at which point it is marked as dropped. This updates the late state when data is copied out of the buffer and clears it when a new gps second/cycle is accepted in. Closes #119.
parent
28db6c45
No related branches found
No related tags found
Showing
- src/pub_sub_stream/CMakeLists.txt 11 additions, 0 deletionssrc/pub_sub_stream/CMakeLists.txt
- src/pub_sub_stream/recv_buffer.hh 3 additions, 0 deletionssrc/pub_sub_stream/recv_buffer.hh
- src/pub_sub_stream/tests/test_buffer_entry.cc 97 additions, 0 deletionssrc/pub_sub_stream/tests/test_buffer_entry.cc
Please register or sign in to comment