Lauffähig und aufgeräumt

This commit is contained in:
2021-12-16 17:09:19 +01:00
parent cd29191bb4
commit 29a636060c
8 changed files with 79 additions and 49 deletions
+2 -3
View File
@@ -1,8 +1,8 @@
#include "moveControl.h"
MoveControl::MoveControl() {
this->left_motor = new MotorControl;
this->right_motor = new MotorControl;
this->left_motor = new MotorControl();
this->right_motor = new MotorControl();
this->left_speedometer = new Speedometer;
this->right_speedometer = new Speedometer;
@@ -113,7 +113,6 @@ void MoveControl::regulateMotors() {
case DrivingStatus::drive :
this->left_motor->setTargetPower( (int8_t) this->left_pid_out);
this->right_motor->setTargetPower( (int8_t) this->right_pid_out);
break;
default: