cleaning
refactore all components now have a base class compnent for loop functions
This commit is contained in:
@@ -164,6 +164,7 @@ void MenuAutopilot::printPage() const {
|
||||
}
|
||||
} else {
|
||||
lineOne = "Real Azi: ";
|
||||
lineTwo = "";
|
||||
lineOne.concat(this->driveManager->getNavigation()->getAzimuth());
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -77,9 +77,8 @@ void MenuTestMode::init() {
|
||||
this->driveManager->changeModus(Modi::TestMode);
|
||||
this->testMode = (TestMode*) this->driveManager->getDriveModiPtr();
|
||||
|
||||
testMode->setSpeed(50);
|
||||
testMode->setRotationSpeed(100);
|
||||
|
||||
testMode->setMaxSpeed(1);
|
||||
testMode->setMaxRotation(8);
|
||||
|
||||
auto dummy = []() {
|
||||
std::cout << "Dummy in Action" <<std::endl;
|
||||
|
||||
Reference in New Issue
Block a user