robotpy-wpilib icon indicating copy to clipboard operation
robotpy-wpilib copied to clipboard

[BUG]: bad error message for SpeedControllerGroup construction

Open virtuald opened this issue 2 years ago • 0 comments

Problem description

The error message generated is useless, we should fix it.

Operating System

Windows, MacOS, Linux, RoboRIO

Installed Python Packages

No response

Reproducible example code

>>> import wpilib
>>> wpilib.SpeedControllerGroup(1,2,3)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: Unable to cast Python instance to C++ type (compile in debug mode for details)

virtuald avatar May 17 '22 13:05 virtuald