提交 a308ac46 编写于 作者: Y Yajia Zhang 提交者: PAN Jiacheng

planning: remove speed heuristic in lane follow scenario

上级 eef2eb20
......@@ -156,18 +156,8 @@ Status LaneFollowStage::PlanOnReferenceLine(
reference_line_info->AddCost(kStraightForwardLineCost);
}
ADEBUG << "planning start point:" << planning_start_point.DebugString();
auto* heuristic_speed_data = reference_line_info->mutable_speed_data();
auto speed_profile = SpeedProfileGenerator::GenerateInitSpeedProfile(
planning_start_point, reference_line_info);
if (speed_profile.empty()) {
speed_profile =
SpeedProfileGenerator::GenerateSpeedHotStart(planning_start_point);
ADEBUG << "Using dummy hot start for speed vector";
}
*heuristic_speed_data = SpeedData(speed_profile);
auto ret = Status::OK();
for (auto* optimizer : task_list_) {
const double start_timestamp = Clock::NowInSeconds();
ret = optimizer->Execute(frame, reference_line_info);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册