提交 64ff2020 编写于 作者: S Shu Jiang 提交者: Calvin Miao

planning: removed yield decision for BICYCLE and PEDESTRIAN

上级 a6d93477
......@@ -417,15 +417,6 @@ bool SpeedDecider::CreateYieldDecision(
PerceptionObstacle::Type obstacle_type = obstacle.Perception().type();
double yield_distance = FLAGS_yield_distance;
switch (obstacle_type) {
case PerceptionObstacle::PEDESTRIAN:
case PerceptionObstacle::BICYCLE:
yield_distance = FLAGS_yield_distance_pedestrian_bycicle;
break;
default:
yield_distance = FLAGS_yield_distance;
break;
}
const auto& obstacle_boundary = obstacle.st_boundary();
const double yield_distance_s =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册