View Single Post
  #13   Spotlight this post!  
Unread 16-01-2015, 00:51
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Re: How do deploy code with Eclipse?

Quote:
Originally Posted by Team3266Spencer View Post
Your SpeedController objects should have a type of Victor, not SpeedController.
No, that's fine. What is likely happening is that you're initializing your speed controllers AFTER you initialize drive. They are null when passed to new RobotDrive(), which should throw a null pointer exception and crash. Try initializing the controllers before the drive.
Reply With Quote