put testmode into operation

This commit is contained in:
2023-01-09 15:35:49 +01:00
parent 26d010c6f0
commit 534b1f93d0
4 changed files with 129 additions and 58 deletions
+8
View File
@@ -30,13 +30,21 @@ class TestMode : public DriveModi {
bool rightEngine(int16_t powerPercentage, int16_t seconds);
bool bothEngine(int16_t powerPercentage, int16_t seconds);
void abortManeuver();
uint8_t getRemainingManeuverTime();
bool getBusy() const { return this->busy; }
private:
bool engineInit(int16_t powerPercentage, int16_t seconds);
MoveControl *moveControl;
double speed = 0;
double rotationSpeed = 0;
bool busy = false;
bool abort = false;
uint8_t delay = 10;