提交 977cd7ba 编写于 作者: J Jiangtao Hu 提交者: Aaron Xiao

planning: fix slowdown speed threshold condition bug.

上级 e7d0e62d
......@@ -41,7 +41,7 @@ apollo::common::Status SpeedOptimizer::Execute(
reference_line_info->mutable_speed_data());
if (!ret.ok() && FLAGS_enable_slowdown_profile_generator &&
frame->PlanningStartPoint().v() > FLAGS_slowdown_speed_threshold) {
frame->PlanningStartPoint().v() < FLAGS_slowdown_speed_threshold) {
*reference_line_info->mutable_speed_data() =
GenerateStopProfile(frame->PlanningStartPoint().v());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册