object factory stuff
Some checks failed
EIVE/eive-obsw/pipeline/pr-v4.0.0-dev There was a failure building this commit
EIVE/-/pipeline/pr-v4.0.0-dev Build queued...

This commit is contained in:
2023-06-07 14:30:58 +02:00
parent 809d25890e
commit 1dd38acee4
6 changed files with 10 additions and 2 deletions

View File

@ -2,13 +2,14 @@
#include <mission/controller/PowerController.h>
PowerController::PowerController(object_id_t objectId, bool enableHkSets)
: ExtendedControllerBase(objectId), enableHkSets(enableHkSets) {}
: ExtendedControllerBase(objectId), enableHkSets(enableHkSets), parameterHelper(this) {}
ReturnValue_t PowerController::initialize() {
ReturnValue_t result = parameterHelper.initialize();
if (result != returnvalue::OK) {
return result;
}
sif::debug << "fuck you" << std::endl;
return ExtendedControllerBase::initialize();
}