提交 03a24eea 编写于 作者: Z Zhang Liangliang 提交者: Jiangtao Hu

Planning: fixed a bug in reference_line_provider.

上级 b6002b55
......@@ -183,7 +183,6 @@ bool Frame::CreateReferenceLineInfo() {
const double offset = first_sl.l() - second_sl.l();
reference_line_info_.front().SetOffsetToOtherReferenceLine(offset);
reference_line_info_.back().SetOffsetToOtherReferenceLine(-offset);
AERROR << "set offset = " << offset;
}
// delay the time-consumping reference_line_info init() step to planner.
......
......@@ -517,7 +517,6 @@ AnchorPoint ReferenceLineProvider::GetAnchorPoint(
FLAGS_reference_line_lateral_buffer;
anchor.lateral_bound =
std::max(smoother_config_.lateral_boundary_bound(), effective_width);
anchor.lateral_bound = smoother_config_.lateral_boundary_bound();
return anchor;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册