Thread: What is CAN?...
View Single Post
  #16   Spotlight this post!  
Unread 04-04-2010, 23:57
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: What is CAN?...

I modified it so that when it throws an exception (in java) instead of actually throwing it, printing the stack trace to the DS LCD box and blinking a light on the dashboard (<- that part didn't quite work, datatype mismatch)

If something can throw an exception make it a compile time catch, because if you forget to handle it somewhere in your code, you will have a bunch of angry drivers telling you to fix your code.
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Reply With Quote