Update values for Competition robot
This commit is contained in:
@ -226,10 +226,10 @@ public final class MecanumDrive {
|
|||||||
|
|
||||||
// TODO: make sure your config has motors with these names (or change them)
|
// TODO: make sure your config has motors with these names (or change them)
|
||||||
// see https://ftc-docs.firstinspires.org/en/latest/hardware_and_software_configuration/configuring/index.html
|
// see https://ftc-docs.firstinspires.org/en/latest/hardware_and_software_configuration/configuring/index.html
|
||||||
leftFront = hardwareMap.get(DcMotorEx.class, "front-left");
|
leftFront = hardwareMap.get(DcMotorEx.class, "Drive front lt");
|
||||||
leftBack = hardwareMap.get(DcMotorEx.class, "back-left");
|
leftBack = hardwareMap.get(DcMotorEx.class, "Drive back lt");
|
||||||
rightBack = hardwareMap.get(DcMotorEx.class, "back-right");
|
rightBack = hardwareMap.get(DcMotorEx.class, "Drive back rt");
|
||||||
rightFront = hardwareMap.get(DcMotorEx.class, "front-right");
|
rightFront = hardwareMap.get(DcMotorEx.class, "Drive front rt");
|
||||||
|
|
||||||
leftFront.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);
|
leftFront.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);
|
||||||
leftBack.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);
|
leftBack.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);
|
||||||
|
Reference in New Issue
Block a user