forked from epics_driver_modules/motorBase
motor: setting motorAxisHasEncoder bit for Newport XPS axes. This is so we can make use of the UEIP field.
This commit is contained in:
@@ -342,6 +342,9 @@ static int motorAxisInit(void)
|
||||
motorParam->setDouble(pAxis->params, motorAxisIGain, (pAxis->xpsCorrectorInfo).KI);
|
||||
motorParam->setDouble(pAxis->params, motorAxisDGain, (pAxis->xpsCorrectorInfo).KD);
|
||||
|
||||
/*Set motorAxisHasEncoder so that we can use UEIP field.*/
|
||||
motorParam->setDouble(pAxis->params, motorAxisHasEncoder, 1);
|
||||
|
||||
/*Initialise deferred move flags.*/
|
||||
pAxis->deferred_relative = 0;
|
||||
pAxis->deferred_position = 0;
|
||||
|
||||
Reference in New Issue
Block a user