Open sebekx opened 5 months ago
@sebekx Could you upload your map for testing?
@sebekx Would you please share the map you used to have it easier to reproduce the same behavior ?
This pull request has been automatically marked as stale because it has not had recent activity.
Checklist
Description
In situation when there are two lanelets one on another but in different direction and those lanelets contains the same lanestrings but in opposite direction and we drive through one lanelet then turn around at the roundabout and set goal on the other lanelet in opposite direction.
so we have:
Mission planner reports error: "Goal's footprint exceeds lane!". which is not true, but there is a problem with DefaultPlanner::is_goal_valid function. I've found that there is function that combine lanelets with shoulder and there is condition that check exactly that case:
https://github.com/sebekx/autoware.universe/blob/fd032e86926cbd191f8fdca3b154f46cadad3fd8/planning/mission_planner/src/lanelet2_plugins/utility_functions.cpp#L88
add_bound is called only when there is no such bound in opposite direction. Could you please explain what cases it addresses? When i removed this condition i was able to set that trajectory.
Expected behavior
Mission planner correctly generates routes in such case
Actual behavior
Mission planner is not able to generate route in such case due to error "Goal's footprint exceeds lane!"
Steps to reproduce
Versions
No response
Possible causes
Function that checks if vehicle is within lanelet checks combined_prev_lanelet:
however this lanelet is generated by:
which contains conditions that prevents before adding such lanes:
Additional context
No response