-
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.
- Loading branch information
1 parent
604b203
commit 2f15a86
Showing
5 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
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
22 changes: 22 additions & 0 deletions
22
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/RIC_tuning/AxialInchPerTickTest.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,22 @@ | ||
package org.firstinspires.ftc.teamcode.RIC_tuning; | ||
|
||
import com.acmerobotics.roadrunner.Pose2d; | ||
import com.qualcomm.robotcore.eventloop.opmode.TeleOp; | ||
|
||
import org.firstinspires.ftc.teamcode.utils.AutonomousProgramTemplate; | ||
|
||
@TeleOp(name = "AxialInchPerTickTest",group = "tune") | ||
public class AxialInchPerTickTest extends AutonomousProgramTemplate { | ||
@Override | ||
public void runOpMode() { | ||
Init(new Pose2d(0,0,0)); | ||
robot.client.addData("Ticks","WAITING FOR REQUEST"); | ||
|
||
if(!WaitForStartRequest())return; | ||
|
||
while (!isStopRequested()){ | ||
robot.update(); | ||
robot.client.changeDate("Ticks",String.valueOf(robot.classic.encoders.LateralTicks)); | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/RIC_tuning/LateralInchPerTickTest.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,22 @@ | ||
package org.firstinspires.ftc.teamcode.RIC_tuning; | ||
|
||
import com.acmerobotics.roadrunner.Pose2d; | ||
import com.qualcomm.robotcore.eventloop.opmode.TeleOp; | ||
|
||
import org.firstinspires.ftc.teamcode.utils.AutonomousProgramTemplate; | ||
|
||
@TeleOp(name = "LateralInchPerTickTest",group = "tune") | ||
public class LateralInchPerTickTest extends AutonomousProgramTemplate { | ||
@Override | ||
public void runOpMode() { | ||
Init(new Pose2d(0,0,0)); | ||
robot.client.addData("Ticks","WAITING FOR REQUEST"); | ||
|
||
if(!WaitForStartRequest())return; | ||
|
||
while (!isStopRequested()){ | ||
robot.update(); | ||
robot.client.changeDate("Ticks",String.valueOf(robot.classic.encoders.LateralTicks)); | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
TeamCode/src/main/java/org/firstinspires/ftc/teamcode/RIC_tuning/TurningDegPerTickTest.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,20 @@ | ||
package org.firstinspires.ftc.teamcode.RIC_tuning; | ||
|
||
import com.acmerobotics.roadrunner.Pose2d; | ||
|
||
import org.firstinspires.ftc.teamcode.utils.AutonomousProgramTemplate; | ||
|
||
public class TurningDegPerTickTest extends AutonomousProgramTemplate { | ||
@Override | ||
public void runOpMode() { | ||
Init(new Pose2d(0,0,0)); | ||
robot.client.addData("Ticks","WAITING FOR REQUEST"); | ||
|
||
if(!WaitForStartRequest())return; | ||
|
||
while (!isStopRequested()){ | ||
robot.update(); | ||
robot.client.changeDate("Ticks",String.valueOf(robot.classic.encoders.TurningTicks)); | ||
} | ||
} | ||
} |
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