/** * modify the sagittal location of the step so that the desired step width results. */ public float adjustSagittalStepLocation(float IPPrediction) { if (sagittalStepWidth == 0) { return(IPPrediction); } float stepLength = sagittalStepWidth; stepLength = (lowLCon.getStance() == SimGlobals.LEFT_STANCE)?(stepLength):(-stepLength); IPPrediction += lowLCon.getLocalLeftAxisSign() * stepLength; return(IPPrediction); }