some tweaks for dipole set handling
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
This commit is contained in:
@ -100,7 +100,10 @@ ReturnValue_t ImtqHandler::buildNormalDeviceCommand(DeviceCommandId_t* id) {
|
||||
communicationStep = CommunicationStep::DIPOLE_ACTUATION;
|
||||
break;
|
||||
case CommunicationStep::DIPOLE_ACTUATION: {
|
||||
// The dipoles will be set by the ACS controller directly using the dipole local pool set.
|
||||
// If the dipole is not commanded but set by the ACS control algorithm,
|
||||
// the dipoles will be set by the ACS controller directly using the dipole local pool set.
|
||||
// This set has a flag to determine whether the ACS controller actually set any new input.
|
||||
PoolReadGuard pg(&dipoleSet);
|
||||
if (dipoleSet.newActuation) {
|
||||
*id = IMTQ::START_ACTUATION_DIPOLE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user