Thread: What is CAN?...
View Single Post
  #9   Spotlight this post!  
Unread 04-04-2010, 20:16
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?...

The only thing to look out for when running CAN, is to handle your exceptions VERY well.
If you lose a CAN Jaguar (Smoke, fuse, etc.), and don't handle its loss in the code then the library will throw an exception that will crash the main thread (ie. the one that communicates with the DS)

So, if you happen to lose a jag in auto for example, then you don't have a tele.
Where if the same thing happened on PWM, you would only be crippled for that motor the JAG controlled not the whole bot.

Handle Exceptions!
__________________
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