add global planner in example implementation