Files
Bachelorarbeit-Rover/src/SpecialMenus/Autopilot/menuAutopilot.cpp
T

25 lines
565 B
C++

/**
* @file menuAutopilot.cpp
* @author Alexander Klein (alex@kleiax.de)
* @brief
* @version 0.1
* @date 2022-02-03
*
* @copyright Copyright (c) 2022
*
*/
#include "menuAutopilot.h"
void MenuAutopilot::printMenu() {
this->driveManager->changeModus(Modi::Autopilot);
if (this->lcd) {
this->lcd->clear();
this->lcd->setCursor(0, 0);
this->lcd->print("Autopilot");
this->lcd->setCursor(0, 1);
this->lcd->print("du fahren. :-)");
} else
std::cout << "Autopilot du\n fahren. :-)" << std::endl;
}