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 0320883 commit c4c7674Copy full SHA for c4c7674
Examples/Drive.java
@@ -2,7 +2,6 @@
2
3
import com.qualcomm.robotcore.hardware.DcMotor;
4
import com.qualcomm.robotcore.hardware.HardwareMap;
5
-import com.qualcomm.robotcore.hardware.configuration.MotorConfigurationType;
6
import org.firstinspires.ftc.teamcode.FTC_API.Robot.SubSystems.SidedDriveSystemTemplate;
7
8
/**
@@ -33,12 +32,6 @@ public Drive setMotorNames(String left, String right) {
33
32
return this;
34
}
35
36
- public Drive setMotorType(MotorConfigurationType type) {
37
- leftMotor.setMotorType(type);
38
- rightMotor.setMotorType(type);
39
- return this;
40
- }
41
-
42
public void drive(double leftPower, double rightPower) {
43
leftMotor.setPower(leftPower);
44
rightMotor.setPower(rightPower);
0 commit comments