controller calibration