Skip to content

Commit

Permalink
Add init loop to add telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
alanwong9664 committed Feb 17, 2024
1 parent bc90f90 commit 3c9db42
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,16 @@ public class BlueClose_SpikeAuto extends SpikeAutoBase {

@Override
public void init(){
super.init();
board.add("Alliance", Alliance.BLUE);
board.add("StartPosition", StartPosition.CLOSE);
super.init();


}

@Override
public void init_loop() {
super.init_loop();
telemetry.addData("Prop Location: ", robot.cameraBack.getTeamPropPosition());
}
}

0 comments on commit 3c9db42

Please sign in to comment.