ACS Controller Init #275
2
fsfw
2
fsfw
Submodule fsfw updated: f4c4f9946c...d975958120
@@ -29,9 +29,11 @@ void AcsController::performControlOperation() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mgmData.read() == RETURN_OK) {
|
{
|
||||||
copyMgmData();
|
PoolReadGuard pg(&mgmData);
|
||||||
mgmData.commit();
|
if (pg.getReadResult() == RETURN_OK) {
|
||||||
|
copyMgmData();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -43,7 +43,7 @@ class AcsController : public ExtendedControllerBase {
|
|||||||
PoolEntry<float> mgm1PoolVec = PoolEntry<float>(3);
|
PoolEntry<float> mgm1PoolVec = PoolEntry<float>(3);
|
||||||
PoolEntry<float> mgm2PoolVec = PoolEntry<float>(3);
|
PoolEntry<float> mgm2PoolVec = PoolEntry<float>(3);
|
||||||
PoolEntry<float> mgm3PoolVec = PoolEntry<float>(3);
|
PoolEntry<float> mgm3PoolVec = PoolEntry<float>(3);
|
||||||
PoolEntry<float> imtqMgmPoolVec = PoolEntry<float>(3);
|
PoolEntry<int32_t> imtqMgmPoolVec = PoolEntry<int32_t>(3);
|
||||||
PoolEntry<uint8_t> imtqCalActStatus = PoolEntry<uint8_t>();
|
PoolEntry<uint8_t> imtqCalActStatus = PoolEntry<uint8_t>();
|
||||||
void copyMgmData();
|
void copyMgmData();
|
||||||
|
|
||||||
|
@@ -21,7 +21,7 @@ enum PoolIds : lp_id_t {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static constexpr uint8_t MGM_SET_ENTRIES = 5;
|
static constexpr uint8_t MGM_SET_ENTRIES = 10;
|
||||||
meierj marked this conversation as resolved
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This dataset can be used to store the collected temperatures of all temperature sensors
|
* @brief This dataset can be used to store the collected temperatures of all temperature sensors
|
||||||
|
Reference in New Issue
Block a user
I count only 6 entries in the MGM set. Is there a reason why this is set to 10?
Sometimes, some entries are added later, and the additional space for entries does not cost much. I actually got an error when this was set to 5 previously, so I left some room for more entries.