提交 dc47a0cb 编写于 作者: K kechxu 提交者: Jiangtao Hu

Prediction: fast fix prediction trajectory

上级 09882147
......@@ -234,7 +234,7 @@ void MoveSequencePredictor::DrawManeuverTrajectoryPoints(
? EvaluateLongitudinalPolynomial(
longitudinal_coeffs, relative_time - period, 0)
: 0.0;
lane_s += (curr_s - prev_s);
lane_s += std::max(0.0, (curr_s - prev_s));
if (!map->SmoothPointFromLane(lane_id, lane_s, lane_l, &point, &theta)) {
AERROR << "Unable to get smooth point from lane [" << lane_id
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册