View Single Post
  #1   Spotlight this post!  
Unread 28-01-2012, 22:04
ssirovica's Avatar
ssirovica ssirovica is offline
Programming Captain
AKA: Sasha Sirovica
FRC #1458 (Red Ties)
Team Role: Programmer
 
Join Date: Sep 2011
Rookie Year: 2010
Location: Alamo
Posts: 26
ssirovica is an unknown quantity at this point
Programming with CAN Jaguars

We have decided to switch over from PWM control of the Jaguars on our robot to CAN. Unfortunately I have know idea how to program with CAN Jaguars in Java.

Can you please provide some basic sample code with initialization, and a set method?

Thanks,
Sasha

P.S. When we first began with this declaration:
PHP Code:
CANJaguar motor = new CANJaguar(1); 
Net beans was giving us an error saying we needed a try catch statement.
__________________
Computers run on smoke. When you let the smoke out the computer stops working.
Reply With Quote