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

create system test for drivetrain that mirrors current manual system test #57

Open
gcschmit opened this issue Nov 5, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@gcschmit
Copy link
Contributor

gcschmit commented Nov 5, 2023

The system test for the drivetrain and swerve modules is very basic and doesn't actually test any code in the drivetrain class. A more robust system test would mirror what we current test by hand as part of the pit checklist. That is the system test could perform and verify the following:

  • drive left (check swerve angle and velocity for each of the following)
  • drive right
  • drive forward
  • drive backward
  • rotate clockwise
  • rotate counterclockwise

I also think it would be good to incorporate the gyro into the drivetrain system test. I'm not sure how to do this. Perhaps it just prompts (via a beep?) us to rotate the robot clockwise and counterclockwise and verifies that the gyro angle is decreasing/increasing.

@gcschmit gcschmit added enhancement New feature or request good first issue Good for newcomers labels Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant