提交 653b0bf5 编写于 作者: K Kecheng Xu

Prediction: fix lint in obstacles prioritizer

上级 3585bbb0
......@@ -446,7 +446,8 @@ void ObstaclesPrioritizer::RankingCautionLevelObstacles(
obstacle_position.y() - ego_position.y());
caution_obstacle_queue.push({distance, obstacle_ptr});
}
while (caution_obstacle_queue.size() > FLAGS_caution_obs_max_nums) {
while (static_cast<int>(caution_obstacle_queue.size()) >
FLAGS_caution_obs_max_nums) {
Obstacle* obstacle_ptr = caution_obstacle_queue.top().second;
obstacle_ptr->mutable_latest_feature()->mutable_priority()->set_priority(
ObstaclePriority::NORMAL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册