Skip to content

Fix clearpath_tests so they don't crash/hang under certain conditions #220

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

Open
wants to merge 24 commits into
base: rc/jazzy/2.6
Choose a base branch
from

Conversation

civerachb-cpr
Copy link
Contributor

@civerachb-cpr civerachb-cpr commented May 28, 2025

The tests could crash or hang under some conditions, e.g.

  • tests running on the wrong domain ID
  • e-stop state timeouts

This cleans up the tests and makes them more robust against edge cases.

Other improvements:

  • code cleanup to remove functions that aren't used
  • remove unnecessary entrypoints for each individual test
  • improved IMU testing (should reduce false-negatives on platforms with lower-quality sensors)
  • refined some test output to make pass/fail reasons clearer

Tested on the following platforms:

  • A200: works
  • A300: works
  • J100: works

@civerachb-cpr civerachb-cpr changed the base branch from rc/jazzy/2.5 to jazzy June 2, 2025 16:44
@civerachb-cpr civerachb-cpr changed the base branch from jazzy to rc/jazzy/2.6 June 2, 2025 16:45
@civerachb-cpr civerachb-cpr marked this pull request as ready for review June 9, 2025 16:39
@civerachb-cpr civerachb-cpr requested a review from a team as a code owner June 9, 2025 16:39
@civerachb-cpr civerachb-cpr removed the request for review from a team June 9, 2025 16:39
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.

1 participant