I want to program drive system for our robot using 6 Talon SRXs:
TalonSRX masterLeft = new TalonSRX(1); TalonSRX slaveLeftFront = new TalonSRX(3); TalonSRX slaveLeftRear = new TalonSRX(5); TalonSRX masterRight = new TalonSRX(2); TalonSRX slaveRightFront = new TalonSRX(4); TalonSRX slaveRightRear = new TalonSRX(6);
All the slaves programed to follow the masters
Normally, I use the DifferentialDrive class and then the arcadeDrive() method, but I receive an error when I type:
DifferentialDrive drive = new DifferentialDrive(masterLeft, masterRight);
So my question is how to program arcade drive system using my Talon SRXs?