- fix driveManager quit mode

- change com port
- edit todos
This commit is contained in:
2023-09-23 16:38:34 +02:00
parent cebd44d793
commit d0c5421ad9
4 changed files with 4 additions and 15 deletions
-6
View File
@@ -49,13 +49,7 @@ Code:
Latex: Latex:
Anhang: Liste mit allen Komponenten und Kurzbeschreibung Anhang: Liste mit allen Komponenten und Kurzbeschreibung
Unterschied funktionale und nicht funktionale Anforderungen Unterschied funktionale und nicht funktionale Anforderungen
Weniger / Keine Füllwörter
Strom nicht über Zeit sondern Rampe Strom nicht über Zeit sondern Rampe
ESP Pulsecounter Name Richtig?
Zittern? Besseres Wort Signal kann Springen
Rad Umfang gerundet
Trick Debugging mit dem Stream
Gyroskop für Bachelor aufheben
3D: 3D:
+2 -2
View File
@@ -15,7 +15,7 @@ board_build.partitions = no_ota.csv
framework = arduino framework = arduino
monitor_speed = 115200 monitor_speed = 115200
upload_speed = 921600 upload_speed = 921600
monitor_port = COM6 monitor_port = COM3
lib_deps = lib_deps =
https://git.kleiax.de/PlatformIO-Libs/SparkFunGNSS.git https://git.kleiax.de/PlatformIO-Libs/SparkFunGNSS.git
knolleary/PubSubClient@^2.8 knolleary/PubSubClient@^2.8
@@ -26,7 +26,7 @@ lib_deps =
https://git.kleiax.de/PlatformIO-Libs/Menu.git https://git.kleiax.de/PlatformIO-Libs/Menu.git
nrf24/RF24@^1.4.5 nrf24/RF24@^1.4.5
jrowberg/I2Cdevlib-MPU6050@^1.0.0 jrowberg/I2Cdevlib-MPU6050@^1.0.0
upload_port = COM6 upload_port = COM3
test_ignore = test_desktop test_ignore = test_desktop
build_type = debug build_type = debug
monitor_filters = esp32_exception_decoder monitor_filters = esp32_exception_decoder
+2 -1
View File
@@ -34,9 +34,10 @@ void DriveManager::changeModus(DriveModi* modus) {
this->currentModusPtr = modus; this->currentModusPtr = modus;
if (this->currentModusPtr) if (this->currentModusPtr) {
this->currentModusPtr->activate(this->driveModiParams); this->currentModusPtr->activate(this->driveModiParams);
this->addChildComponent(this->currentModusPtr); this->addChildComponent(this->currentModusPtr);
}
} }
void DriveManager::init() { void DriveManager::init() {
-6
View File
@@ -32,12 +32,6 @@ class DriveManager : public Component {
DriveManager(MoveControl *moveControl, const SensorData* sensorData, const ControlPadInput *input); DriveManager(MoveControl *moveControl, const SensorData* sensorData, const ControlPadInput *input);
DriveManager(DriveModiParams params); DriveManager(DriveModiParams params);
/**
* @brief Destroy the Drive Manager object
*
*/
~DriveManager();
/** /**
* @brief Change the DriveModi to a specific value * @brief Change the DriveModi to a specific value
* *