moving files

This commit is contained in:
2021-12-13 18:25:47 +01:00
parent a7940c887b
commit 3aa3789e36
18 changed files with 22 additions and 41 deletions
-1
View File
@@ -1,5 +1,4 @@
#include "consolControl.h"
#include <string>
ConsolControl::ConsolControl() {
this->debug = new DebugMqtt("ConsolControl");
+2
View File
@@ -1,6 +1,8 @@
#ifndef CONSOL_CONTROL_H
#define CONSOL_CONTROL_H
#include <string>
#include "moveControl.h"
#include "debugMqtt.h"
-4
View File
@@ -15,8 +15,6 @@ void ManualControl::init(MoveControl *moveControl, MotorControl *motorControlLef
}
void ManualControl::runManualControl() {
DebugTimes runManualDebuginFunction;
//Cancel if delay is not reached
if (millis() - this->last_millis < RUN_MANUALCONTROL_DELAY) {
return;
@@ -29,8 +27,6 @@ void ManualControl::runManualControl() {
}
this->last_millis = millis();
runManualDebuginFunction.stop("Ober teil von runManualControl", 100);
//Change controlMode
if (this->controlMode == ControMode::halt && Ps3.data.button.l3) {
this->reset();
+1 -1
View File
@@ -4,7 +4,7 @@
#include <Ps3Controller.h>
#include "moveControl.h"
#include "hardware/motorControl.h"
#include "motorControl.h"
#include "debugMqtt.h"
#include "debugTimes.h"