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