View Single Post
  #5   Spotlight this post!  
Unread 14-11-2016, 21:08
Djur's Avatar
Djur Djur is offline
WPILib
AKA: Sam Carlberg
no team
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Massachusetts
Posts: 182
Djur will become famous soon enough
Re: Robot Code Compiles but doesn't Run.

Quote:
Originally Posted by euhlmann View Post
<snip>
^ Exactly. I'm surprised your code even compiles. You shouldn't be able to assign values to const static variables in a constructor.

It's also a little weird that your project files and directories are organized a lot like the ones RobotBuilder generates, but the code looks like it was written by hand. Any particular reason for that?
__________________
WPILib dev (RobotBuilder, SmartDashboard, GRIP)
Reply With Quote