|
Re: Unhandled exception instantiating robot - Code Not Showing on driver station
I actually debugged this exact problem last night. For us, it was caused by attempting to two motor controllers on the same PWM channel. Pretty terrible error message.
What I think is happening is RobotBase attempts to load the Robot class by looking it up by name. The Robot class doesn't exist though because a runtime error occurred during its creation (in our case attempting to open two controllers on the same port number).
I cant check your source code right now, on my phone, but I would start by checking all the port numbers for your hardware iare unique.
|