Created
April 1, 2026 22:04
-
-
Save zax71/825805249dfcfdad77eda18d2e4fb65e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| package org.firstinspires.ftc.teamcode.commands; | |
| import com.bylazar.telemetry.PanelsTelemetry; | |
| import com.bylazar.telemetry.TelemetryManager; | |
| import com.seattlesolvers.solverslib.command.CommandBase; | |
| import org.firstinspires.ftc.robotcore.external.Telemetry; | |
| /** | |
| * Updates Panels telemetry every loop. Runs forever | |
| */ | |
| public class UpdateTelemetryCommand extends CommandBase { | |
| private static TelemetryManager panelsTelemetry = PanelsTelemetry.INSTANCE.getTelemetry(); | |
| private final Telemetry ftcTelemetry; | |
| public UpdateTelemetryCommand(Telemetry telemetry) { | |
| this.ftcTelemetry = telemetry; | |
| } | |
| @Override | |
| public void initialize() { | |
| panelsTelemetry.update(ftcTelemetry); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment