apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Parking boundary bug

Open armme41 opened this issue 2 years ago • 1 comments

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: Screenshot from 2022-07-27 20-49-25

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());

armme41 avatar Jul 27 '22 12:07 armme41

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.

chenxiaoying21 avatar Jul 29 '22 11:07 chenxiaoying21

Close this issue due to long time no reply.

chenxiaoying21 avatar Sep 22 '22 10:09 chenxiaoying21