added more functions for capture route

This commit is contained in:
2022-02-01 18:26:57 +01:00
parent 44be2b2b77
commit 894f3439bd
12 changed files with 59 additions and 15 deletions
+4
View File
@@ -39,6 +39,7 @@ void exitDriveMode() {driveManager.changeModus(Modi::Off);}
void setup() {
Serial.begin(115200);
std::cout << "Welcome to Kleiax-Rover" << std::endl;
std::cout << "All actions from the main programm run on" << xPortGetCoreID() << std::endl;
Wire.begin(21, 19);
// i2cScanner();
@@ -146,10 +147,13 @@ void callbackControllerAction() {
isDelayReached(true);
}
// This have to be stand here because it have to be run on the other Core
main_m->update();
}
void callbackControllerConnect() {
std::cout << "Controller connected to ESP32" << std::endl;
std::cout << "All actions from the Controller run on" << xPortGetCoreID() << std::endl;
// TODO: Display is not functional without this seconde init, first init is in setup()
lcd->init();