added more functions for capture route
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user