Passive positioning learning code