Skip to content

Commit

Permalink
Added Telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
rhsftc committed Oct 23, 2024
1 parent a7ae979 commit 722c9ed
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ public void runOpMode() {
robot.moveRobot(axial, lateral, yaw);

lift.update();
// Show the elapsed game time.

telemetry.addData("Status", "Run Time: " + runtime);
telemetry.addData("Target", "%d", robot.liftMotor.getTargetPosition());
telemetry.addData("Position", "%d", robot.liftMotor.getCurrentPosition());
telemetry.addData("Power", "%6.2f", robot.liftMotor.getPower());
telemetry.addData("Busy", robot.liftMotor.isBusy());
telemetry.addData("Mode", robot.liftMotor.getMode());
telemetry.addData("PIDF Run To Position", robot.liftMotor.getPIDFCoefficients(DcMotorEx.RunMode.RUN_TO_POSITION));
telemetry.addData("Lift Target", "%d", robot.liftMotor.getTargetPosition());
telemetry.addData("Lift Position", "%d", robot.liftMotor.getCurrentPosition());
telemetry.addData("Lift Power", "%6.2f", robot.liftMotor.getPower());
telemetry.addData("Lift Busy", robot.liftMotor.isBusy());
telemetry.addData("Lift Mode", robot.liftMotor.getMode());
telemetry.addData("Lift PIDF Run To Position", robot.liftMotor.getPIDFCoefficients(DcMotorEx.RunMode.RUN_TO_POSITION));
telemetry.update();
}
}
Expand Down

0 comments on commit 722c9ed

Please sign in to comment.