Hello all,
I'm trying to set up an 8 motor mecanum drive, and am wondering how to program this. I am currently using the mecanumDrive_cartesian() method, and am wondering if this code will work:
Code:
// Initialization code, 1 and 5 are the same wheel, 2 and 6 are the same wheel, etc
RobotDrive driveA = new RobotDrive(1,2,3,4);
RobotDrive driveB = new RobotDrive(5,6,7,8);
//Inside the Tele-Op method
driveA.mecanumDrive_Cartesian(Joysick.getX(), Joystick.getY(), Joystick.getTwist());
driveB.mecanumDrive_Cartesian(Joysick.getX(), Joystick.getY(), Joystick.getTwist());
Will this work?
Thanks all