added reading of current value
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
2023-01-24 15:46:20 +01:00
parent 485ee2f8e0
commit d0a7d2892e
2 changed files with 16 additions and 0 deletions

View File

@ -104,6 +104,18 @@ void ThermalController::performControlOperation() {
copyDevices();
deviceTemperatures.commit();
}
{
PoolReadGuard pg(&heaterInfo);
if (pg.getReadResult() == returnvalue::OK) {
{
PoolReadGuard pg(&currentVecPdu2);
if (pg.getReadResult() == returnvalue::OK) {
heaterInfo.heaterCurrent.value = currentVecPdu2.value[PDU2::Channels::TCS_HEATER_IN];
}
}
}
}
}
ReturnValue_t ThermalController::initializeLocalDataPool(localpool::DataPool& localDataPoolMap,