提交 972c8e61 编写于 作者: H Hongyi 提交者: Calvin Miao

Prediction: add priority in prediction_obstacle

上级 5e28acbc
......@@ -234,6 +234,8 @@ void PredictorManager::PredictObstacle(
}
}
prediction_obstacle->set_timestamp(obstacle->timestamp());
prediction_obstacle->mutable_priority()->CopyFrom(
obstacle->latest_feature().priority());
prediction_obstacle->set_is_static(obstacle->IsStill());
if (FLAGS_prediction_offline_mode == 3) {
FeatureOutput::InsertPredictionResult(obstacle->id(), *prediction_obstacle);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册