ACS Controller Init #275
2
fsfw
2
fsfw
@ -1 +1 @@
|
||||
Subproject commit f4c4f9946c7fb9fd050178baa4865da654366b70
|
||||
Subproject commit d975958120bd151dabdc450a104e9cc8069ff509
|
@ -29,9 +29,11 @@ void AcsController::performControlOperation() {
|
||||
break;
|
||||
}
|
||||
|
||||
if (mgmData.read() == RETURN_OK) {
|
||||
copyMgmData();
|
||||
mgmData.commit();
|
||||
{
|
||||
PoolReadGuard pg(&mgmData);
|
||||
if (pg.getReadResult() == RETURN_OK) {
|
||||
copyMgmData();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ class AcsController : public ExtendedControllerBase {
|
||||
PoolEntry<float> mgm1PoolVec = PoolEntry<float>(3);
|
||||
PoolEntry<float> mgm2PoolVec = 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>();
|
||||
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
|
||||
|
Loading…
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.