Our main programmer is using Eclipse, and he cannot seem to find/use the talons class. I suggested that he try the netbeans ide with frc plugin, but he said that it should not matter. I see it in wpi.lib but nothing seems to work.
Does anyone else have a similar problem, or a possible solution?
Thanks.
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.src.zip
It’s all good and solved. Turns out that it did not exist for eclipse so he just used the jar file for this year’s netbeans library and just imported it.