A receding horizon control strategy for autonomous vehicles in dynamic environments