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

[sysid] Error on missing tests in loaded DataLog #7747

Merged
merged 14 commits into from
Feb 4, 2025

Conversation

DeltaDizzy
Copy link
Contributor

@DeltaDizzy DeltaDizzy commented Jan 29, 2025

Currently, if any tests are missing in a DataLog file loaded into SysId (one of the most common usage mistakes), it will report that Quasistatic trimming removed all data. In this case, that error and its advice are misleading because the data was never present to begin with. This PR checks for missing tests earlier and adds a specific error for that eventuality.

@github-actions github-actions bot added the component: sysid SysId app label Jan 29, 2025
@DeltaDizzy DeltaDizzy marked this pull request as ready for review January 31, 2025 03:24
@DeltaDizzy DeltaDizzy requested a review from a team as a code owner January 31, 2025 03:24
@DeltaDizzy DeltaDizzy changed the title [sysid] Detect missing tests, provide better error messages [sysid] Error on missing tests in loaded DataLog Jan 31, 2025
@DeltaDizzy DeltaDizzy requested a review from calcmogul January 31, 2025 14:47
@Oblarg
Copy link
Contributor

Oblarg commented Feb 4, 2025

LGTM

@Oblarg Oblarg merged commit b3b515e into wpilibsuite:main Feb 4, 2025
45 checks passed
@DeltaDizzy DeltaDizzy deleted the sysid-test-detect branch February 4, 2025 23:26
@DeltaDizzy DeltaDizzy restored the sysid-test-detect branch February 4, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants