TeamCode/src/main/java/org/firstinspires/ftc/teamcode/SidewaysTest.java
// ColorSensor colorSensor;    // Hardware Device Object
ColorSensor colorSensor;    // Hardware Device Object
ColorSensor colorSensor ; // Hardware Device Object
@Override
    public void runOpMode() throws InterruptedException {
        myRobot.init(hardwareMap);
        float hsvValues[] = {0F, 0F, 0F};
        waitForStart();
        while (opModeIsActive()) {
            myRobot.moveSideways(1800, 1);
            myRobot.moveSideways(-1800, 1);
            requestOpModeStop();
        }
    }
@ Override public void runOpMode ( ) throws InterruptedException { myRobot . init ( hardwareMap ) ; float hsvValues [ ] = { 0F , 0F , 0F } ; waitForStart ( ) ; while ( opModeIsActive ( ) ) { myRobot . moveSideways ( 1800 , 1 ) ; myRobot . moveSideways ( - 1800 , 1 ) ; requestOpModeStop ( ) ; } }
ColorSensor colorSensor;    // Hardware Device Object
ColorSensor colorSensor ; // Hardware Device Object
// hsvValues is an array that will hold the hue, saturation, and value information. // wait for the start button to be pressed.