- 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
+2 -1
View File
@@ -34,9 +34,10 @@ void DriveManager::changeModus(DriveModi* modus) {
this->currentModusPtr = modus;
if (this->currentModusPtr)
if (this->currentModusPtr) {
this->currentModusPtr->activate(this->driveModiParams);
this->addChildComponent(this->currentModusPtr);
}
}
void DriveManager::init() {
-6
View File
@@ -32,12 +32,6 @@ class DriveManager : public Component {
DriveManager(MoveControl *moveControl, const SensorData* sensorData, const ControlPadInput *input);
DriveManager(DriveModiParams params);
/**
* @brief Destroy the Drive Manager object
*
*/
~DriveManager();
/**
* @brief Change the DriveModi to a specific value
*