moving files
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#include "consolControl.h"
|
||||
#include <string>
|
||||
|
||||
ConsolControl::ConsolControl() {
|
||||
this->debug = new DebugMqtt("ConsolControl");
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef CONSOL_CONTROL_H
|
||||
#define CONSOL_CONTROL_H
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "moveControl.h"
|
||||
#include "debugMqtt.h"
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <Ps3Controller.h>
|
||||
|
||||
#include "moveControl.h"
|
||||
#include "hardware/motorControl.h"
|
||||
#include "motorControl.h"
|
||||
#include "debugMqtt.h"
|
||||
#include "debugTimes.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user