Skip to content

Conversation

@mhasself
Copy link
Member

Description

Fixes a bug where the timestamp was not properly stored for comparison with the last reading. This led to duplicate data (including timestamp) being stored for the 'status' info. This has caused bookbinding difficulties for the past few days of SAT data, though it's fairly easy to work around it.

Motivation and Context

This bug became relevant due to recent changes that increased the storage rate of status data to 20 Hz from 0.5 Hz.

I took this opportunity to reorganize and test the "previous vs. current" comparisons on each status read.

How Has This Been Tested?

Tested all changes, for SAT and LAT-like data stuctures, using the ACU simulator server.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Fixes a bug where the timestamp was not properly stored for comparison
with the last reading. This bug became relevant due to recent changes
that increased the storage rate of status data to 20 Hz from 0.5 Hz.
@mhasself mhasself requested a review from BrianJKoopman August 19, 2025 21:09
Copy link
Member

@BrianJKoopman BrianJKoopman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@BrianJKoopman BrianJKoopman merged commit f40b335 into main Aug 20, 2025
5 checks passed
@BrianJKoopman BrianJKoopman deleted the mhasself/fix-acu-dups branch August 20, 2025 14:20
@BrianJKoopman BrianJKoopman changed the title ACU: do not store duplicate status data ACU: Fix duplicate status data bug Aug 20, 2025
@BrianJKoopman BrianJKoopman added bug Something isn't working agent: acu labels Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent: acu bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants