Closed NoMod-Programming closed 7 years ago
that just means the simulator doesn't support it -- however, it should work on a real robot. It should be pretty straightforward to extend the simulation support to not crash however.
Fixed in robotpy-ctre 2017.0.3.
Hello. While working on some robot code in RobotPy with the robotpy-ctre library, I encountered a strange bug that seems to work on the c++ and java counterparts, but not here. The code that triggers the error, at the bare minimum, is running
setControlMode(CANTalon.ControlMode.Follower)
on a CANTalon motor, and then setting it to follow another talon. The code runs through fine until it gets to initializing the simulator window. When doing so, the following is shown in the console (Using eclipse):