Added params & a mutex for global planner