View Single Post
  #2   Spotlight this post!  
Unread 20-01-2015, 18:15
otherguy's Avatar
otherguy otherguy is offline
sparkE
AKA: James
FRC #2168 (The Aluminum Falcons)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: CT
Posts: 430
otherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to beholdotherguy is a splendid one to behold
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.
__________________
http://team2168.org
Reply With Quote