提交 c776d036 编写于 作者: T Tao Jiaming 提交者: Jiangtao Hu

add follow_heading for FOLLOW decision

上级 5806e872
......@@ -430,6 +430,7 @@ bool DpStGraph::CreateFollowDecision(
follow_point->set_x(path_point.x());
follow_point->set_y(path_point.y());
follow_point->set_z(0.0);
follow->set_follow_heading(path_point.theta());
return true;
}
......
......@@ -56,6 +56,7 @@ message ObjectYield {
message ObjectFollow {
optional double distance_s = 1; // minimum longitutional distance in meters
optional apollo.common.PointENU follow_point = 2;
optional double follow_heading = 3;
}
message ObjectOvertake {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册