提交 2fad50aa 编写于 作者: Y Yajia Zhang 提交者: Yifei Jiang

planning: adjusted stitch zero time for more accurate time matching

上级 71392797
......@@ -115,8 +115,7 @@ std::vector<TrajectoryPoint> TrajectoryStitcher::ComputeStitchingTrajectory(
prev_trajectory.trajectory_points().begin() + matched_index,
prev_trajectory.trajectory_points().begin() + forward_index + 1);
const double zero_time =
prev_trajectory.TrajectoryPointAt(matched_index).relative_time();
const double zero_time = veh_rel_time;
const double zero_s =
prev_trajectory.TrajectoryPointAt(forward_index).path_point().s();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册