Open TakumIto opened 1 year ago
I have not check in details how the parking planner is implemented, but I notice your example the vehicle is driving very close from the drivable area boundaries, which is the same than driving very close from an obstacle.
As you can see, the drivable area is updated constantly. Even if it does not change much,the changes might be enough so that a path that was considered safe is not acceptable anymore. In such case, Autoware has no choice but to generate a new path, which might be rejected 1 second later for the very same reason.
Rather than a quantization, I think this problem is inherent to A*. In particular because the algorithm does not use any soft constraint: a path that goes 1mm close from a wall is as valid as a path that stays far from every obstacle.
This pull request has been automatically marked as stale because it has not had recent activity.
Checklist
Description
Although the planning succeeds and there is no obstacle, path is replanned during driving.
Expected behavior
The vehicle follows the initially planned path without replanning.
Actual behavior
The path is replanned though there is no obstacle.
Screencast from 08-09-2023 04:32:44 PM.webm
Steps to reproduce
Versions
Possible causes
I think this issue is caused by the quantization error in transforming from position to index.
Additional context
No response