Skip to content

Commit c4c7674

Browse files
authored
Remove setting motor type from example Drive (#8)
* Update Drive.java * Update Drive.java
1 parent 0320883 commit c4c7674

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Examples/Drive.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import com.qualcomm.robotcore.hardware.DcMotor;
44
import com.qualcomm.robotcore.hardware.HardwareMap;
5-
import com.qualcomm.robotcore.hardware.configuration.MotorConfigurationType;
65
import org.firstinspires.ftc.teamcode.FTC_API.Robot.SubSystems.SidedDriveSystemTemplate;
76

87
/**
@@ -33,12 +32,6 @@ public Drive setMotorNames(String left, String right) {
3332
return this;
3433
}
3534

36-
public Drive setMotorType(MotorConfigurationType type) {
37-
leftMotor.setMotorType(type);
38-
rightMotor.setMotorType(type);
39-
return this;
40-
}
41-
4235
public void drive(double leftPower, double rightPower) {
4336
leftMotor.setPower(leftPower);
4437
rightMotor.setPower(rightPower);

0 commit comments

Comments
 (0)