People were running "Simulate Robot Code" and they had more than one CANSparkMax use the same port. They got this error:
Error at org.carlmontrobotics.lib199.sim.MockSparkMax.<init>(MockSparkMax.java:38): Unhandled exception: java.lang.NullPointerException: Cannot invoke "edu.wpi.first.hal.SimDevice.createDouble(String, edu.wpi.first.hal.SimDevice$Direction, double)" because "this.motor" is null
at org.carlmontrobotics.lib199.sim.MockSparkMax.<init>(MockSparkMax.java:38)
It would be nice if instead the error message said "More than one CANSparkMax has that port id" or something like that.
People were running "Simulate Robot Code" and they had more than one CANSparkMax use the same port. They got this error:
It would be nice if instead the error message said "More than one CANSparkMax has that port id" or something like that.