motor: XPS model 3 driver. modified the home function so that we can do a rehome from states 50 and 63.

This commit is contained in:
mp49
2011-07-29 10:23:09 +00:00
parent bc55ee3725
commit 47e834f337
+1 -1
View File
@@ -305,7 +305,7 @@ asynStatus XPSAxis::home(double min_velocity, double max_velocity, double accele
}
status = GroupStatusGet(pollSocket_, groupName_, &groupStatus);
/* If axis not initialized, then initialize it */
if (groupStatus >= 0 && groupStatus <= 9) {
if ((groupStatus >= 0 && groupStatus <= 9) || (groupStatus == 50) || (groupStatus == 63)) {
status = GroupInitialize(pollSocket_, groupName_);
if (status) {
asynPrint(pasynUser_, ASYN_TRACE_ERROR,