Constrained nonlinear receding horizon control using artificial potential