View Single Post
  #2   Spotlight this post!  
Unread 16-01-2013, 16:26
Johnbot's Avatar
Johnbot Johnbot is offline
Es Brokein!
AKA: John Westhoff
FRC #4791 (Pandroids)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2010
Location: Horsham, PA
Posts: 92
Johnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really niceJohnbot is just really nice
Re: Talons class for Java

Does he have the most up to date version of the WPI library?

Although, assuming that the Talon uses the same PWM interface as the Jaguar, you should be able to just use the Victor, Jaguar, or Speed Controller class instead of the Talon class.
EDIT: Although, the Victor/Jaguar have different bands of PWM values compared to the Talon, they are just slightly off, however.

You can always make your own Talon class, it is the same as the Victor or Jaguar class, except the talon constructor has this line:
setBounds(211, 133, 129, 125, 49);
replacing the similar line in the Victor and Jaguar classes. The source for the classes should be under C:\Users\YOURUSERNAME\sunspotfrcsdk\lib\wpilibj.sr c.zip
__________________

2011-2014 - FRC 2607 - Student
2012-2012 - FLL 2249 - Coach
2015- ???? - FRC 4791 - Mentor

Last edited by Johnbot : 16-01-2013 at 16:34.