hal.exceptions.HALError: HAL: No available resources to allocate #252
|
Hm, I haven't tried solenoids yet this year. Did you only create a single solenoid? Multiple solenoids? If you could paste your initialization code that could be helpful. |
vScourge
commented
Jan 15, 2017
|
We started with four solenoids, port numbers 0-3. Then we cut it down to just one on port zero and it still puts up this error. Here's the whole drivetrain init function. The constant for that solenoid is set to 0.
|
|
The validation for Solenoid/SolenoidBase was done incorrectly, it wasn't updated to reflect the 2017 WPILib. I'll address it tonight. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We're getting this error on two different robots, different codebases, both using robotpy 2017.0.3. It only happens if there's a wpilib.Solenoid object created. One robot did not have this problem with the last robotpy 2016 libraries, and the hardware all checks out on both.