added dutyCycle to menuManualControl
This commit is contained in:
@@ -42,6 +42,16 @@ void MenuManualControl::printPage() const {
|
||||
lineOne.concat(this->manualControl->getMaxRotation());
|
||||
lineTwo = "Decrease by 0.1";
|
||||
break;
|
||||
|
||||
case 5:
|
||||
lineOne = "Dutycycle Left:";
|
||||
lineTwo.concat(this->manualControl->getDutycycleLeft());
|
||||
break;
|
||||
|
||||
case 6:
|
||||
lineOne = "Dutycycle Right:";
|
||||
lineTwo.concat(this->manualControl->getDutycycleRight());
|
||||
break;
|
||||
|
||||
default:
|
||||
this->printDefault();
|
||||
@@ -55,7 +65,8 @@ void MenuManualControl::init() {
|
||||
this->firstPrint = false;
|
||||
this->driveManager->changeModus(Modi::ManualControl);
|
||||
this->manualControl = (ManualControl*) this->driveManager->getDriveModiPtr();
|
||||
this->setCountPages(5);
|
||||
this->setCountPages(7);
|
||||
this->updateDelay = 500;
|
||||
}
|
||||
|
||||
void MenuManualControl::runCommand() const {
|
||||
|
||||
Reference in New Issue
Block a user