|
Missing CANTalon class
Obligatory "I'm not very experienced with Java nor programming robots in FRC," so feel free to be as critical as you want, everything is a learning process after all.
We've recently decided to use CAN on our robot to connect our Talon SRX controllers, only problem is that the original code we had done used the Talon class to initialize the speed controllers to build our RobotDrive. No big deal though, we just have to change Talon to CANTalon and remove the port numbers from the constructor since CAN doesn't use PWM and -- oh dear why is there so much red on my screen now?
So the errors came from our program not having CANTalon imported into it, but when I try to import it using the following path, it says it does not exist:
import edu.wpi.first.wpilibj.CANTalon;
We're really not sure how to resolve this issue, all our other classes have imported just fine, but this one just doesn't seem to exist. There isn't much documentation saying I'd have to install some other plugins or update to a certain version for it to be available, so what am I doing wrong?
Thanks in advance to anyone reading.
tl;dr
edu.wpi.first.wpilibj.CANTalon isn't being imported because it's missing, how can I make that not happen?
|