Human-in-the-loop Planning of Mobile Robots