|
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.
|