Added sleep to stop to make sure at least one poll happens and EPCIS knows the motor is moving

This commit is contained in:
mathis_s committed 2025-07-29 09:44:26 +02:00
1 parent 949e9faef3
commit fd2afa9ec6
1 file changed
-1
-1
View File
@@ -863,7 +863,6 @@ asynStatus turboPmacAxis::stop(double acceleration) {
done, this thread (which also runs move commands) is paused for twice the
idle poll period.
*/
pC_->forcedFastPolls();
unsigned int idlePollMicros =
(unsigned int)ceil(pC_->idlePollPeriod() * 1e6);
usleep(2 * idlePollMicros);