main: basic main loop
parent
06ffa9972e
commit
43777e4ccd
16
src/main.cpp
16
src/main.cpp
|
@ -47,22 +47,10 @@ void setup() {
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
updateSensors();
|
updateSensors();
|
||||||
|
|
||||||
drive->resetDrive();
|
drive->resetDrive();
|
||||||
|
|
||||||
// striker_condition = role == HIGH || ((Keeper*)keeper)->shouldStrike;
|
|
||||||
// keeper_condition = role == LOW;
|
|
||||||
|
|
||||||
// if(robot_indentifier){
|
|
||||||
// tc3_2->play(role);
|
|
||||||
// tc3_1->play(!role);
|
|
||||||
|
|
||||||
// // Last thing to do: movement and update status vector
|
|
||||||
// drive->drivePrepared();
|
|
||||||
// }else{
|
|
||||||
// drive->stopAll();
|
|
||||||
// }
|
|
||||||
|
|
||||||
testmenu->testMenu();
|
testmenu->testMenu();
|
||||||
|
|
||||||
|
drive->drivePrepared();
|
||||||
updateStatusVector();
|
updateStatusVector();
|
||||||
}
|
}
|
Loading…
Reference in New Issue