- fix driveManager quit mode
- change com port - edit todos
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user