autoware.universe icon indicating copy to clipboard operation
autoware.universe copied to clipboard

fix(behavior_velocity_planner): vehicle points lateral calculation

Open hasanzfdn opened this issue 2 years ago • 7 comments

Signed-off-by: Hasanzfdn [email protected]

Description

closes #1734 In addition to the issue, the util.cppcode has also been changed

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.

hasanzfdn avatar Sep 09 '22 14:09 hasanzfdn

LGTM for obstacle avoidance planner

@taikitanaka3 Could you check for behavior velocity planner

takayuki5168 avatar Sep 09 '22 15:09 takayuki5168

Ok I will check this later.

taikitanaka3 avatar Sep 09 '22 15:09 taikitanaka3

Codecov Report

Base: 11.13% // Head: 11.13% // No change to project coverage :thumbsup:

Coverage data is based on head (2119d48) compared to base (2119d48). Patch has no changes to coverable lines.

:exclamation: Current head 2119d48 differs from pull request most recent head d35aa5a. Consider uploading reports for the commit d35aa5a to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1831   +/-   ##
=======================================
  Coverage   11.13%   11.13%           
=======================================
  Files        1201     1201           
  Lines       86316    86316           
  Branches    20787    20787           
=======================================
  Hits         9609     9609           
  Misses      66579    66579           
  Partials    10128    10128           
Flag Coverage Δ
total 11.10% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Sep 09 '22 15:09 codecov[bot]

@hasanzfdn lateral polygon including this PR is something wrong. please check with occlusion spot / run out detecion area polygon image

taikitanaka3 avatar Sep 12 '22 11:09 taikitanaka3

@taikitanaka3

I tried again and again but I have not encountered such a problem. Screenshot like this. occlusion_sample_vehicle

hasanzfdn avatar Sep 13 '22 11:09 hasanzfdn

@hasanzfdn Thank you. I will try again with latest version tomorrow.

taikitanaka3 avatar Sep 13 '22 11:09 taikitanaka3

Also I tried with different maps but I didn't see anything like this.

@hasanzfdn lateral polygon including this PR is something wrong. please check with occlusion spot / run out detecion area polygon image

Occlusion spot:

Screenshot from 2022-09-13 14-12-39

Screenshot from 2022-09-13 14-18-05

beyzanurkaya avatar Sep 13 '22 11:09 beyzanurkaya

@taikitanaka3 have you tested it again?

xmfcx avatar Sep 20 '22 15:09 xmfcx

@xmfcx Sorry I didn't test this again yet, @xmfcx can you help me testing this PR if you have time to?

taikitanaka3 avatar Sep 21 '22 09:09 taikitanaka3

Thank you @hasanzfdn, can you rebase PR for review? There are some conflicts on obstacle_avoidance_planner.

ismetatabay avatar Oct 14 '22 10:10 ismetatabay

I tested with different maps and vehicles, I think occlusion_spot problem is solved.

Selection_004

Another map and vehicle:

Selection_005

ismetatabay avatar Oct 24 '22 16:10 ismetatabay

@taikitanaka3 @TakaHoribe It looks like LeoDrive member has done a review for this PR. Would you like to run Planning team CI internally before merging?

mitsudome-r avatar Nov 01 '22 16:11 mitsudome-r

LGTM for me @TomohitoAndo can you take a look at run out module?

Can you also run CI with x2 or awf-latest this PR to see the difference?

taikitanaka3 avatar Nov 02 '22 06:11 taikitanaka3

@hasanzfdn It seems value of wheel_tread, right_overhang and left_overhang are not assigned in run out module. Could you modify the manager.cpp for run out module like you did in occlusion spot module? Vehicle parameters are assigned here.

You can check the behavior by changing launch_run_out to true here and detection_method to Points here. The expected behavior is like this video.

https://user-images.githubusercontent.com/11865769/199435866-6905cff4-ceab-4b10-b0cf-49ab7793a258.mp4

TomohitoAndo avatar Nov 02 '22 08:11 TomohitoAndo

@hasanzfdn will you be able to work on this or shall we assign this issue to @ismetatabay?

mehmetdogru avatar Nov 02 '22 08:11 mehmetdogru

@hasanzfdn will you be able to work on this or shall we assign this issue to @ismetatabay?

Ismet will continue to work on this issue. You can assign to him.

hasanzfdn avatar Nov 02 '22 08:11 hasanzfdn

I will update the lateral calculation of the vehicle in the run out module.

ismetatabay avatar Nov 02 '22 08:11 ismetatabay

@hasanzfdn Can you update the PR to the draft stage?

ismetatabay avatar Nov 02 '22 08:11 ismetatabay

@TomohitoAndo Hi, I updated the run out model as you said and it works as in the video you shared.

Selection_008

ismetatabay avatar Nov 03 '22 10:11 ismetatabay

@ismetatabay Thanks! I checked it works in my environment and CI. LGTM

TomohitoAndo avatar Nov 07 '22 03:11 TomohitoAndo

@taikitanaka3 a code owner approval is also required, can you check it please?

xmfcx avatar Nov 07 '22 11:11 xmfcx