We’ve used CANJaguars the last couple of years. This year, of course, we’re switching to the CANTalon with Talon SRXs. The RobotBuilder (RB) doesn’t seem to have an option for a CANTalon.
Can I just instantiate a CANJaguar in RB and change these to CANTalon in RB before I generate my code? This seems preferable since it would be maintained through subsequent code regenerations. The only other option I can think of is to generate the code with CANJaguar and then do a global search/replace to change CANJaguar to CANTalon in Eclipse, but then I’d have to do this every time I regenerate code.
We also ran into this problem. For now, I think the only solution is to generate code for plain Talons and then edit the init() method in RobotMap. Change the Talon constructors to CANTalon and then delete the “AUTOGENERATED” comments.
It would sure be nice to get an updated RobotBuilder supporting CANTalons. Also, it would be nice if the CANTalon class was updated to implement LiveWindowSendable, so we could see the CANTalons in test mode.