From 27ed18b951f6fbed82f2c3e5652c46513650dd3c Mon Sep 17 00:00:00 2001 From: ExultantExalted Date: Thu, 11 Jan 2024 17:09:48 -0500 Subject: [PATCH] gotoboard thingamajig (incomplete ahhh) --- .../example/meepmeeptesting/MeepMeepTesting.java | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/MeepMeepTesting/src/main/java/com/example/meepmeeptesting/MeepMeepTesting.java b/MeepMeepTesting/src/main/java/com/example/meepmeeptesting/MeepMeepTesting.java index 7d6adb3a..0f1ddfd7 100644 --- a/MeepMeepTesting/src/main/java/com/example/meepmeeptesting/MeepMeepTesting.java +++ b/MeepMeepTesting/src/main/java/com/example/meepmeeptesting/MeepMeepTesting.java @@ -26,17 +26,23 @@ public static void main(String[] args) { // CHANGE THESE LINES TO RUN ANOTHER COMPONENT // SampleComponent sampleComponent = new SampleComponent(robot); // sampleComponent.drive(); - //PurplePixelComponent purplePixelComponent = new PurplePixelComponent(robot, TensorFlowDetection.PropPosition.LEFT); - //purplePixelComponent.drive(); - ParkingOut parking = new ParkingOut(robot); - parking.drive(); + PurplePixelComponent purplePixelComponent = new PurplePixelComponent(robot, TensorFlowDetection.PropPosition.LEFT); + + //ParkingOut parking = new ParkingOut(robot); +// GoToBoard placePixel = new GoToBoard(robot); + purplePixelComponent.drive(); +// placePixel.drive(); + // END CHANGE LINES return robot.getCurrentTrajectorySequence(); // This is a dirty hack, and assumes the component only calls followTrajectorySequence once }); - meepMeep.setBackground(MeepMeep.Background.FIELD_CENTERSTAGE_JUICE_LIGHT) + + + + meepMeep.setBackground(MeepMeep.Background.FIELD_CENTERSTAGE_JUICE_LIGHT) .setDarkMode(true) .setBackgroundAlpha(0.95f) .addEntity(myBot)