Skip to content

obstacle_avoidance_planner dies when the interval of path points is long #798

Closed
@kosuke55

Description

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

This is a problem that does not occur with the current hard code, but could potentially occur.

truncated_points size will be 1 when the interval of points in path is less than 5.0. This causes the node to die when it finally accesses seg_idx + 1
The interval between paths of behavior_velocity is 1.0 with interporate, so this is implicitly avoided.

Expected behavior

obstacle_avoidance_planner does not die with any interval of path points.

Actual behavior

obstacle_avoidance_planner dies with interval longer than 5.0.

Steps to reproduce

Set interval of path points greater than clip length

Versions

No response

Possible causes

No response

Additional context

No response

Metadata

Assignees

Labels

component:planningRoute planning, decision-making, and navigation. (auto-assigned)priority:lowLower urgency, can be addressed later.status:help-wantedAssistance or contributors needed.type:bugSoftware flaws or errors.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions