-
Notifications
You must be signed in to change notification settings - Fork 17
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
[BUG]: Tests (stepTiming()
) hang when 1 Spark Max is instantiated
#72
Comments
Smaller reproducer: import time
import rev
from wpilib.simulation import stepTiming
motor = rev.SparkMax(0, rev.SparkMax.MotorType.kBrushless)
time.sleep(1)
stepTiming(0.2) |
Actually, I was able to duplicate on a mac, but it does not hang on Linux (which is annoying since that's easier to use gdb in... ) |
I think I identified the source of the bug, I'll contact REV |
I was able to reproduce on Linux by adding a sleep(1) after creating the motor controller. |
Any feedback from Rev? I assume not, just checking if there's anything we can help investigate or test. |
This is fixed in 2025.0.1 |
robotpy-rev should be available as of this morning Sydney time, let us know how you go. |
I can get a student working on it next day or two, we can bump the version and check. Appreciate the work again, ya'll are amazing. At least one round of beverage-of-your-choice on me next time we meet. Perhaps at a Mexican restaurant in Houston. |
Problem description
In MRE, there appears to be an infinite loop when one spark max is instantiated, and then
stepTiming()
is called.Operating System
Windows
Installed Python Packages
Reproducible example code
The text was updated successfully, but these errors were encountered: