You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched other issues and no duplicate issues were found.
I'm convinced that this is not my fault but a bug.
Description
We find that in some scenarios, Autoware fails to start because the global path and local path are not aligned. This misalignment caused Autoware to continuously attempt to align the two paths, resulting in an infinite loop.
Through examining the source code of Autoware, we find that when the op_global_planner module generates a global path, it creates multiple alternative straight-line paths at points where multiple lane changes are detected in the initial planned path. This multi-path generation causes a mismatch between globalPathId_roll_outs and globalPathId in the local_planning module, ultimately leading to a crash.
Autoware should limit the number of generated global paths, retaining only the optimal path or a limited set of alternative paths to prevent crashes in subsequent modules due to path ID mismatches. Alternatively, the path selection logic in local_planning can be modified to handle multiple path options, eliminating the strict dependency on matching globalPathId_roll_outs and globalPathId.
Expected behavior
Autoware works fine in normal scenarios.
Actual behavior
Since the local and global paths are not synchronised, the program is stuck in a dead loop.
Steps to reproduce
If there are multiple lane change points in the Initialisation single path (i.e., there are multiple nodes in the path that are not in the straight ahead direction), the function generates multiple alternative straight-line paths at those points, thus generating multiple path scenarios in allPaths. This is where the problem of unalignment is likely to occur.
Versions
No response
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Checklist
Description
We find that in some scenarios, Autoware fails to start because the global path and local path are not aligned. This misalignment caused Autoware to continuously attempt to align the two paths, resulting in an infinite loop.
Through examining the source code of Autoware, we find that when the op_global_planner module generates a global path, it creates multiple alternative straight-line paths at points where multiple lane changes are detected in the initial planned path. This multi-path generation causes a mismatch between globalPathId_roll_outs and globalPathId in the local_planning module, ultimately leading to a crash.
Autoware should limit the number of generated global paths, retaining only the optimal path or a limited set of alternative paths to prevent crashes in subsequent modules due to path ID mismatches. Alternatively, the path selection logic in local_planning can be modified to handle multiple path options, eliminating the strict dependency on matching globalPathId_roll_outs and globalPathId.
Expected behavior
Autoware works fine in normal scenarios.
Actual behavior
Since the local and global paths are not synchronised, the program is stuck in a dead loop.
Steps to reproduce
If there are multiple lane change points in the Initialisation single path (i.e., there are multiple nodes in the path that are not in the straight ahead direction), the function generates multiple alternative straight-line paths at those points, thus generating multiple path scenarios in allPaths. This is where the problem of unalignment is likely to occur.
Versions
No response
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: