package com.rmrobotics.library.opmodes;

import com.qualcomm.ftccommon.DbgLog; //for DbgLog
import com.rmrobotics.library.RMOpMode;
import com.rmrobotics.library.Motor;
import com.rmrobotics.library.control.Control;

public class TestOp extends RMOpMode {

    private final String CONFIGURATION_PATH = "res/robot.json";

    //Used in case addition initialization functions need to be called
    @Override
    public void init() {
        super.init();
    }
    double hi = 5;
    Motor c = new Motor("motor1","reverse", 0, 1);

    @Override
    public void updateInput() {




    }

    @Override
    public void calculate() {

    }

    @Override
    public void updateHardware() {
        Motor.
    }

    @Override
    protected String setConfigurationPath() {
        return CONFIGURATION_PATH;
    }

}

@@ -208,16 +208,66 @@
 Control;
+%0Aimport com.rmrobotics.library.control.Controller;
 %0A%0Apublic
@@ -507,135 +507,8 @@
   %7D%0A
-    double hi = 5;%0A    Motor c = new Motor(%22motor1%22,%22reverse%22, 0, 1);%0A%0A    @Override%0A    public void updateInput() %7B%0A%0A%0A%0A%0A    %7D%0A
 %0A   
@@ -548,16 +548,45 @@
 ate() %7B%0A
+        control.button(Contr)
 %0A    %7D%0A%0A

edit testOp