Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(avoidance): fix bug in the logic to check object moving distance #6766

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Apr 9, 2024

Description

BACKGROUND: Avoidance module has option to avoid ambiguous stopped vehicle in order to prevent stuck. If the object keeps stopped speed (less than th_moving_speed) for a certain period of time (more than th_stopped_time), this module create avoidance path even if it's not obvious parked vehicle.

On the other hand, basically, we can't set th_moving_speed to zero because there should be a perception noise. As a result, sometimes the module reacted to vehicle that is moving super slowly. And, I found it necessary to add the logic to check object moving distance.

  • th_moving_speed: 1.0m/s
  • car speed: 0.5m/s < th_moving_speed
simplescreenrecorder-2024-04-25_17.15.34.mp4

BUG: The filter to check moving distance is applied for obvious parked vehicle unexpectedly in following situation.

image

simplescreenrecorder-2024-04-25_19.03.07.mp4

And, I found it necessary to add the logic to check object moving distance.

I want to apply this condition only for ambiguous vehicle and it shoud avoid as follow.

simplescreenrecorder-2024-04-25_19.08.55.mp4

Tests performed

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Apr 9, 2024
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@satoshi-ota satoshi-ota marked this pull request as ready for review April 25, 2024 08:31
@satoshi-ota satoshi-ota changed the title fix(avoidance): check object moving distance fix(avoidance): fix bug in the logic to check object moving distance Apr 25, 2024
@zulfaqar-azmi-t4
Copy link
Contributor

Tested with object speed 3.6m/s and deceleration -0.5m/s2 and spawn at 50 m away from ego vehicle.

cap-.2024-04-26-18-08-01.mp4

Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@shmpwk shmpwk added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Apr 29, 2024
Copy link
Contributor

@shmpwk shmpwk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@satoshi-ota satoshi-ota merged commit 7f368a2 into autowarefoundation:main Apr 29, 2024
57 of 59 checks passed
@satoshi-ota satoshi-ota deleted the fix/moving-object branch April 29, 2024 04:28
satoshi-ota added a commit to tier4/autoware.universe that referenced this pull request May 2, 2024
…utowarefoundation#6766)

fix(avoidance): check object moving distance

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
satoshi-ota added a commit to tier4/autoware.universe that referenced this pull request May 2, 2024
…utowarefoundation#6766)

fix(avoidance): check object moving distance

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
satoshi-ota added a commit to tier4/autoware.universe that referenced this pull request May 10, 2024
…utowarefoundation#6766)

fix(avoidance): check object moving distance

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…utowarefoundation#6766)

fix(avoidance): check object moving distance

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants