disable keeper for now

as it looks like sometimes it blocks code execution
pull/1/head
EmaMaker 2021-05-13 21:15:22 +02:00
parent 6fc65c7331
commit 49db5ff2d1
1 changed files with 6 additions and 8 deletions

View File

@ -44,26 +44,24 @@ void setup() {
tone(BUZZER, 350.00, 250); tone(BUZZER, 350.00, 250);
drive->prepareDrive(0,0,0); drive->prepareDrive(0,0,0);
pinMode(35, INPUT);
} }
void loop() { void loop() {
DEBUG.println(digitalReadFast(35)); DEBUG.println("aaaa");
updateSensors(); updateSensors();
drive->resetDrive(); drive->resetDrive();
striker_condition = role == HIGH || ((Keeper*)keeper)->shouldStrike; striker_condition = role == HIGH;
keeper_condition = role == LOW; keeper_condition = role == LOW;
// striker->play(striker_condition); striker->play(striker_condition);
// keeper->play(keeper_condition); // keeper->play(keeper_condition);
precision_shooter->play(1); // precision_shooter->play(1);
testmenu->testMenu(); // testmenu->testMenu();
// Last thing to do: movement and update status vector // // Last thing to do: movement and update status vector
drive->drivePrepared(); drive->drivePrepared();
updateStatusVector(); updateStatusVector();
} }