first build

This commit is contained in:
2023-09-04 14:13:14 +02:00
parent 682a99ffea
commit f78804d836
13 changed files with 11 additions and 711 deletions
+2 -4
View File
@@ -10,10 +10,8 @@
*/
#include "testMode.h"
TestMode::TestMode(DriveModiParams params, Navigation* navigation)
: DriveModi(params) {
this->navigation = navigation;
}
TestMode::TestMode(DriveModiParams params)
: DriveModi(params) {}
TestMode::~TestMode() {
this->moveControl->setDrivingStatus(MoveControl::Status::Stop);
+2 -5
View File
@@ -14,7 +14,6 @@
#include <iostream>
#include "moveControl.h"
#include "navigation.h"
#include "driveModi/driveModi.h"
@@ -41,10 +40,9 @@ class TestMode : public DriveModi {
/**
* @brief Construct a new Test Mode object
*
* @param moveControl
* @param navigation
* @param moveControl
*/
TestMode(DriveModiParams params, Navigation* navigation);
TestMode(DriveModiParams params);
~TestMode();
bool drive(int16_t cm = 0, int16_t degree = 0);
@@ -106,7 +104,6 @@ class TestMode : public DriveModi {
void run() override;
bool engineInit(int16_t powerPercentage, int16_t seconds);
Navigation* navigation;
Maneuver maneuver = Maneuver::None;
int16_t maneuverValueOne = 0;
int16_t maneuverValueTwo = 0;