Skip to content

Commit

Permalink
gotoboard thingamajig (incomplete ahhh)
Browse files Browse the repository at this point in the history
  • Loading branch information
ExultantExalted committed Jan 11, 2024
1 parent 0384be3 commit 27ed18b
Showing 1 changed file with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 27ed18b

Please sign in to comment.