This repository has been archived by the owner on Aug 31, 2024. It is now read-only.
generated from rh-robotics/Basecode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from rh-robotics/teo-teleop-updates
TeleOp Changes & RobotComponents Update to include servos
- Loading branch information
Showing
13 changed files
with
174 additions
and
349 deletions.
There are no files selected for viewing
82 changes: 0 additions & 82 deletions
82
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/auton/OdometryAutonomousLeft.java
This file was deleted.
Oops, something went wrong.
89 changes: 0 additions & 89 deletions
89
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/auton/OdometryAutonomousRight.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/auton/SlidesUpDown.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package org.firstinspires.ftc.teamcode.auton; | ||
|
||
import com.qualcomm.robotcore.eventloop.opmode.Autonomous; | ||
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode; | ||
|
||
import org.firstinspires.ftc.teamcode.subsystems.HWC; | ||
|
||
@Autonomous | ||
public class SlidesUpDown extends LinearOpMode { | ||
HWC robot; | ||
|
||
@Override | ||
public void runOpMode() throws InterruptedException { | ||
robot = new HWC(hardwareMap, telemetry); | ||
|
||
waitForStart(); | ||
while (opModeIsActive()) { | ||
|
||
robot.powerSlides(1); | ||
robot.betterSleep(1750); | ||
robot.powerSlides(-1); | ||
robot.betterSleep(1750); | ||
} | ||
} | ||
} |
Oops, something went wrong.