forked from epics_driver_modules/motorBase
Fixed incorrect motorAxisActualVel calculation.
This commit is contained in:
1 parent
cbbabe0ce8
commit
6a6a34ebe5
1 file changed
+1
-1
@@ -820,7 +820,7 @@ static void EnsemblePoller(EnsembleController *pController)
|
||||
}
|
||||
else
|
||||
{
|
||||
double actvelocity = atof(&inputBuff[1]) * 1000.;
|
||||
double actvelocity = atof(&inputBuff[1]) / fabs(pAxis->stepSize);
|
||||
motorParam->setDouble(pAxis->params, motorAxisActualVel, actvelocity);
|
||||
}
|
||||
motorParam->callCallback(pAxis->params);
|
||||
|
||||
Reference in new issue
Block a user