- Modified dubiuos limit code in ECBSetValue

- Added subsampling to sinqhmdriv
This commit is contained in:
koennecke
2008-06-09 09:00:19 +00:00
parent b9157b18d7
commit 90497e4beb
4 changed files with 32 additions and 6 deletions

View File

@@ -694,9 +694,14 @@ static int ECBRunTo(void *pData, float newPosition){
*/
diff = newPosition - oldValue;
steps2degree= ObVal(self->driverPar,STEPS2DEG);
if(ABS(diff) <= ObVal(self->driverPar,TOLERANCE)){
return OKOK;
}
/*
if(ABS(diff) <= .5/steps2degree + ObVal(self->driverPar,TOLERANCE)){
return OKOK;
}
*/
/*
save restartTarget for backlash handling