To be able to drive the robot we need to program in the motor controller objects. Here is an example to how it will look. (Replace foo with left and right masters and slaves).
TalonSRX fooMaster;
public DriveSystem() {
fooMaster = new TalonSRX(portID);
}
To be able to drive the robot we need to program in the motor controller objects. Here is an example to how it will look. (Replace foo with left and right masters and slaves). TalonSRX fooMaster; public DriveSystem() { fooMaster = new TalonSRX(portID); }