Relative_map: fixed a bug in setting "last_project_index_" for a cyclic/circular navigation line.
Because the starting point and the end point cannot be completely consistent in a cyclic/circular navigaton line. The vehicle's end point is usually beyond the starting point a little when making a cyclic/circular navigation line. Therefore, the "last_project_index_" is reset to 0 if it is greater than 95% size of the navigaton line and the vehicle's current position is near the starting point of the navigatoin line.
Showing
想要评论请 注册 或 登录