Fix camel casing
This commit is contained in:
@ -362,7 +362,7 @@ public class Autonomoustest extends LinearOpMode {
|
||||
int newLeftTarget;
|
||||
int newRightTarget;
|
||||
int newBackLeftTarget;
|
||||
int newbackRightTarget;
|
||||
int newBackRightTarget;
|
||||
|
||||
|
||||
if (opModeIsActive()) {
|
||||
@ -371,10 +371,10 @@ public class Autonomoustest extends LinearOpMode {
|
||||
newLeftTarget = leftDrive.getCurrentPosition() + (int) (leftInches * COUNTS_PER_INCH);
|
||||
newRightTarget = rightDrive.getCurrentPosition() + (int) (rightInches * COUNTS_PER_INCH);
|
||||
newBackLeftTarget = backleftDrive.getCurrentPosition() + (int) (leftInches * COUNTS_PER_INCH);
|
||||
newbackRightTarget = backrightDrive.getCurrentPosition() + (int) (rightInches * COUNTS_PER_INCH);
|
||||
newBackRightTarget = backrightDrive.getCurrentPosition() + (int) (rightInches * COUNTS_PER_INCH);
|
||||
leftDrive.setTargetPosition(newLeftTarget);
|
||||
rightDrive.setTargetPosition(newRightTarget);
|
||||
backrightDrive.setTargetPosition(newbackRightTarget);
|
||||
backrightDrive.setTargetPosition(newBackRightTarget);
|
||||
backleftDrive.setTargetPosition(newBackLeftTarget);
|
||||
|
||||
// Turn On RUN_TO_POSITION
|
||||
|
Reference in New Issue
Block a user