apollo
apollo copied to clipboard
Parking boundary bug
https://github.com/ApolloAuto/apollo/blob/0e3f5265ce89dae91789aad6cb6ab590abb97fd9/modules/planning/tasks/deciders/open_space_decider/open_space_roi_decider.cc#L1308
When parking space on the left of ADC, parking boundary is like this:
Found that
// reinsert the initial point to the back to from closed loop
boundary_points.push_back(right_lane_boundary.front());
should be
// insert the initial point of left lane boundary to the back to form closed loop
boundary_points.push_back(left_lane_boundary.front());
I think the vector "boundary_points" starts with the first point of "right_lane_boundary", so letting it end with the same point seems reasonable to form a closed loop.
Close this issue due to long time no reply.