Using Iterative Robot testing, testPeriodic()

Our code uses tests for things like solenoids and shifters and we want to use the robot sim to simulate those subsystems in our code when we test them.

Here’s the github:

Run python3
to see what I mean when I say I want to use the sim solenoids for tests.
Anyway, I think the testPeriodic() function in would work but I’m not really sure how to use it to run our tests.

These are the basic tests that ship with pyfrc, you’d probably want to do something similar:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.