1. A transmission comprising: a hydraulically actuated clutch having a piston; a model for estimating an axial position of the piston during a preparatory phase of a shift while a torque capacity of the clutch is zero; and a controller adapted to measure a time delay between a beginning of the preparatory phase and onset of torque capacity, and to update the model based on the measured time delay.