Invia SMS: Local and global artificial potential functions in the control of mobile robots