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

Implement telemetry memory #344

Merged
merged 6 commits into from
Feb 9, 2025
Merged

Implement telemetry memory #344

merged 6 commits into from
Feb 9, 2025

Conversation

jeromehue
Copy link
Contributor

@jeromehue jeromehue commented Jan 26, 2025

Description

Add new Telemetry component with

  • TelemetryRecord, a struct holding the telemetry variables
  • telemetryMemory, an FramRingArray of TelemetryRecords

Also, move all EDU structs and enums to Types.hpp/ipp.

Fixes #179
Fixes parts of #198

@codecov-commenter
Copy link

codecov-commenter commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.52%. Comparing base (2c470fc) to head (e97f433).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #344      +/-   ##
==========================================
+ Coverage   81.98%   83.52%   +1.53%     
==========================================
  Files          49       54       +5     
  Lines        1782     1948     +166     
  Branches       77       78       +1     
==========================================
+ Hits         1461     1627     +166     
  Misses        321      321              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jeromehue jeromehue marked this pull request as ready for review February 8, 2025 12:50
@PatrickKa PatrickKa force-pushed the implement-telemetry-memory branch from 88e4db5 to abe7b38 Compare February 8, 2025 21:39
jeromehue and others added 4 commits February 9, 2025 15:12
The `TelemetryRecord` contains all the beacon data according to the
spreadsheet on the nextcloud.
For some reason generating the coverage report yields a negative count
somewhere in `PersistentVariables.ipp`. I don't know why this happens.
Compiling with `-fprofile-update=atomic` as suggested by the error
message doesn't help. It only makes the SPI supervisor test require ~100
bytes more stack without getting rid of the error. Therefore, I followed
the second suggestion and changed the coverage command to ignore such
negative counts.
Also, add a test section that ensures that all booleans are serialized
and deserialized correctly.
@PatrickKa PatrickKa force-pushed the implement-telemetry-memory branch from abe7b38 to e97f433 Compare February 9, 2025 15:17
@PatrickKa PatrickKa merged commit 5f1f3dd into master Feb 9, 2025
6 checks passed
@PatrickKa PatrickKa deleted the implement-telemetry-memory branch February 9, 2025 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement telemetry memory
3 participants