I was working of porting the labview code to java before the kickoff.
At first, the movement was working fine
Code:
RobotDrive mecanumWheels = new RobotDrive(1,2,3,4);
Joystick joystick = new Joystick(1);
mecanumWheels.holonomicDrive(joystick.getMagnitude(), joystick.getDirectionDegrees(), joystick.getTwist());
However, after the reimage and update of java code,
Code:
RobotDrive mecanumWheels = new RobotDrive(1,2,3,4);
Joystick joystick = new Joystick(1);
mecanumWheels.mecanumDrive_Polar(joystick.getMagnitude(), joystick.getDirectionDegrees(), joystick.getTwist());
the bot doesn't strafe. Instead, the bot just goes forward, backward, and spins.
Is it a problem on my end, or on FRC's end?