If global path has not been published, local_planner will crash due to nullptr
If global path has not been published, local_planner will crash due to nullptr