Lauffähig und aufgeräumt
This commit is contained in:
+2
-3
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user