View Single Post
  #3   Spotlight this post!  
Unread 07-02-2011, 17:53
buildmaster5000 buildmaster5000 is offline
Trying to program the swerve drive
AKA: Alex
FRC #2421 (Rolling Thunder Robotics)
Team Role: Alumni
 
Join Date: May 2009
Rookie Year: 2009
Location: Northern Virginia
Posts: 207
buildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud ofbuildmaster5000 has much to be proud of
Re: Cannot find CANTimeout Exception

Make sure you also have the can class imported. Either of the following will work:
Code:
import  edu.wpi.first.wpilibj.can.CANTimeoutException;
//or
import edu.wpi.first.wpilibj.can.*;
A nifty shortcut is ctrl+shift+i which is fix imports. It is the first thing I try when I see a red line and I know the syntax is right.
__________________
-Alex



2010 Washington DC Regional: Engineering Excellence Award
Reply With Quote