added dutyCycle to menuManualControl

This commit is contained in:
2023-05-22 22:10:54 +02:00
parent 77b7eeae92
commit a310be0f6c
6 changed files with 25 additions and 3 deletions
@@ -76,6 +76,9 @@ class ManualControl : public DriveModi {
void decreaseMaxRotation(double increase = 0.1) { max_rotation -= increase; }
double getMaxRotation() { return this->max_rotation; }
uint16_t getDutycycleLeft() const { return this->moveControl->getDutycycleLeft(); }
uint16_t getDutycycleRight() const { return this->moveControl->getDutycycleRight(); }
protected:
MoveControl *moveControl;
const ControlPadInput* input;