Merge remote-tracking branch 'origin/Branch-Yixuan' into Branch-Yixuan
This commit is contained in:
@ -43,6 +43,16 @@ public class Name extends LinearOpMode {
|
|||||||
|
|
||||||
MovementLibrary.setDirectionForward(rightHandWheel, rightLegWheel, leftHandWheel,leftLegWheel);
|
MovementLibrary.setDirectionForward(rightHandWheel, rightLegWheel, leftHandWheel,leftLegWheel);
|
||||||
|
|
||||||
|
//from this
|
||||||
|
DcMotor[] motors = {rightHandWheel, leftHandWheel, rightLegWheel, leftLegWheel};
|
||||||
|
|
||||||
|
//thismotors
|
||||||
|
MovementLibrary.setDirectionForward(motors);
|
||||||
|
|
||||||
|
// Wait for the game to start (driver presses {Play
|
||||||
|
waitForStart();
|
||||||
|
|
||||||
|
|
||||||
// Wait for the game to start (driver presses PLAY)
|
// Wait for the game to start (driver presses PLAY)
|
||||||
waitForStart();
|
waitForStart();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user