Uberpool bus

I an trying to imagine how a bus would schedule stops for pickups and dropoffs assuming all patrons have unlimited passes and they usually take the same route every day. Maybe we can share our locations constantly with the bus fleet and some kind of uber pool will try to figure out which of their buses is in the best position to pick you up where you are and drop you off where you want to go. I'm also assuming self-driving, of course.