Email Record: A stream function approach to real-time path planning for mobile robots