set commanded speed to 0 during off transition
This commit is contained in:
parent
4ed112d019
commit
78cc0fc52d
@ -55,6 +55,10 @@ void RwHandler::doShutDown() {
|
|||||||
PoolReadGuard pg(&tmDataset);
|
PoolReadGuard pg(&tmDataset);
|
||||||
tmDataset.setValidity(false, true);
|
tmDataset.setValidity(false, true);
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
PoolReadGuard pg(&rwSpeedActuationSet);
|
||||||
|
rwSpeedActuationSet.setRwSpeed(0, 10);
|
||||||
|
}
|
||||||
// The power switch is handled by the assembly, so we can go off here directly.
|
// The power switch is handled by the assembly, so we can go off here directly.
|
||||||
setMode(MODE_OFF);
|
setMode(MODE_OFF);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user