Set correct wheel direction
This commit is contained in:
@ -227,8 +227,10 @@ public final class MecanumDrive {
|
|||||||
|
|
||||||
// TODO: reverse motor directions if needed
|
// TODO: reverse motor directions if needed
|
||||||
// leftFront.setDirection(DcMotorSimple.Direction.REVERSE);
|
// leftFront.setDirection(DcMotorSimple.Direction.REVERSE);
|
||||||
rightFront.setDirection(DcMotorSimple.Direction.REVERSE);
|
rightFront.setDirection(DcMotorSimple.Direction.FORWARD);
|
||||||
rightBack.setDirection(DcMotorSimple.Direction.REVERSE);
|
rightBack.setDirection(DcMotorSimple.Direction.FORWARD);
|
||||||
|
leftFront.setDirection(DcMotorSimple.Direction.REVERSE);
|
||||||
|
leftBack.setDirection(DcMotorSimple.Direction.REVERSE);
|
||||||
|
|
||||||
|
|
||||||
// TODO: make sure your config has an IMU with this name (can be BNO or BHI)
|
// TODO: make sure your config has an IMU with this name (can be BNO or BHI)
|
||||||
|
Reference in New Issue
Block a user