added RwSpeedActuationSets to AcsController
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/pr-develop There was a failure building this commit
This commit is contained in:
@ -189,8 +189,23 @@ void AcsController::performSafe() {
|
||||
// PoolReadGuard pg(&dipoleSet);
|
||||
// MutexGuard mg(torquer::lazyLock());
|
||||
// torquer::NEW_ACTUATION_FLAG = true;
|
||||
// dipoleSet.setDipoles(cmdDipolUnits[0], cmdDipolUnits[1], cmdDipolUnits[2],
|
||||
// torqueDuration);
|
||||
// dipoleSet.setDipoles(dipolCmdUnits[0], dipolCmdUnits[1], dipolCmdUnits[2], 0);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw1SpeedSet);
|
||||
// rw1SpeedSet.setRwSpeed(0);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw2SpeedSet);
|
||||
// rw2SpeedSet.setRwSpeed(0);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw3SpeedSet);
|
||||
// rw3SpeedSet.setRwSpeed(0);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw4SpeedSet);
|
||||
// rw4SpeedSet.setRwSpeed(0);
|
||||
// }
|
||||
}
|
||||
|
||||
@ -251,6 +266,22 @@ void AcsController::performDetumble() {
|
||||
// dipoleSet.setDipoles(cmdDipolUnitsInt[0], cmdDipolUnitsInt[1], cmdDipolUnitsInt[2],
|
||||
// torqueDuration);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw1SpeedSet);
|
||||
// rw1SpeedSet.setRwSpeed(0);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw2SpeedSet);
|
||||
// rw2SpeedSet.setRwSpeed(0);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw3SpeedSet);
|
||||
// rw3SpeedSet.setRwSpeed(0);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw4SpeedSet);
|
||||
// rw4SpeedSet.setRwSpeed(0);
|
||||
// }
|
||||
}
|
||||
|
||||
void AcsController::performPointingCtrl() {
|
||||
@ -431,6 +462,22 @@ void AcsController::performPointingCtrl() {
|
||||
// dipoleSet.setDipoles(cmdDipolUnitsInt[0], cmdDipolUnitsInt[1], cmdDipolUnitsInt[2],
|
||||
// torqueDuration);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw1SpeedSet);
|
||||
// rw1SpeedSet.setRwSpeed(cmdRwSpeedInt[0]);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw2SpeedSet);
|
||||
// rw2SpeedSet.setRwSpeed(cmdRwSpeedInt[1]);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw3SpeedSet);
|
||||
// rw3SpeedSet.setRwSpeed(cmdRwSpeedInt[2]);
|
||||
// }
|
||||
// {
|
||||
// PoolReadGuard pg(&rw4SpeedSet);
|
||||
// rw4SpeedSet.setRwSpeed(cmdRwSpeedInt[3]);
|
||||
// }
|
||||
}
|
||||
|
||||
ReturnValue_t AcsController::initializeLocalDataPool(localpool::DataPool &localDataPoolMap,
|
||||
|
Reference in New Issue
Block a user