Hey, it appears our teleop code, after deploying it to the roboRio, likes to kick out after running through it once.
Code:
public void teleopPeriodic() {
myDrive.mecanumDrive_Cartesian(moveStick.getRawAxis(1), moveStick.getRawAxis(1), moveStick.getRawAxis(1), gyro.getAngle());
Timer.delay(0.01);
}
, and won't recognize the controller
Code:
RobotDrive myDrive, catcherDrive;
Joystick moveStick;
Gyro gyro;
public void robotInit() {
Talon TalLF = new Talon(0);
Talon TalLR = new Talon(1);
Talon TalRF = new Talon(2);
Talon TalRR = new Talon(3);
Talon TalCatcher = new Talon(4);
Talon TalCatcher1 = new Talon(5);
myDrive = new RobotDrive(TalLF,TalLR,TalRF,TalRR);
moveStick = new Joystick(1);
catcherDrive = new RobotDrive(TalCatcher, TalCatcher1);
}
This is what we have for the teleOp. Any form of response would be greatly appreciated.