提交 98c75d29 编写于 作者: J JasonZhou404 提交者: Qi Luo

Planning: reinit planner each time rerouting

上级 c6713aa6
......@@ -238,6 +238,7 @@ void OnLanePlanning::RunOnce(const LocalView& local_view,
History::Instance()->Clear();
PlanningContext::Instance()->mutable_planning_status()->Clear();
reference_line_provider_->UpdateRoutingResponse(*local_view_.routing);
planner_->Init(config_);
}
// Update reference line provider and reset pull over if necessary
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册