We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e80f1a commit d3dd421Copy full SHA for d3dd421
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/Hardwares/namespace/DeviceMap.java
@@ -35,7 +35,7 @@ public void register(HardwareMap hardwareMap){
35
hardwareDevice.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);
36
devices.put(device, (DeviceInterface) hardwareDevice);
37
}
38
- if(device.config.direction== DeviceDirection.REVERSE){
+ if(device.config.direction== DcMotorSimple.Direction.REVERSE){
39
hardwareDevice.setDirection(DcMotorSimple.Direction.REVERSE);
40
41
devices.put(device, (DeviceInterface) hardwareMap.get(device.classType, device.deviceName));
0 commit comments