Compare commits
2 Commits
5d99d94430
...
9d71ef670c
Author | SHA1 | Date | |
---|---|---|---|
9d71ef670c | |||
a9ebe79e01 |
@ -15,6 +15,9 @@ import org.firstinspires.ftc.teamcode.MovementLibrary;
|
||||
|
||||
import org.firstinspires.ftc.robotcore.external.navigation.DistanceUnit;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Autonomous(name="Name")
|
||||
public class Name extends LinearOpMode {
|
||||
private DcMotor rightHandWheel;
|
||||
@ -36,7 +39,7 @@ public class Name extends LinearOpMode {
|
||||
distanceSensor = hardwareMap.get(DistanceSensor.class , "distancesensor");
|
||||
colorSensor= hardwareMap.get(ColorSensor.class , "colorsensor");
|
||||
|
||||
|
||||
DcMotor[] motors = {rightHandWheel, leftHandWheel, rightLegWheel, leftLegWheel};
|
||||
|
||||
MovementLibrary.setDirectionForward(rightHandWheel, rightLegWheel, leftHandWheel,leftLegWheel);
|
||||
|
||||
|
Reference in New Issue
Block a user