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: is_in_parking_lot check method #992

Merged
merged 4 commits into from
Jun 14, 2022

Conversation

NorahXiong
Copy link
Contributor

@NorahXiong NorahXiong commented May 30, 2022

Signed-off-by: NorahXiong norah.xiong@autocore.ai

Description

fix #941
Use ego car position instead of the lanelet nearest to ego car to check if ego car is in a parking lot.

Related links

#941

Tests performed

Tested in planning simulator.

Before fixing
image

After fixing
image

Notes for reviewers

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

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

@codecov
Copy link

codecov bot commented May 30, 2022

Codecov Report

Merging #992 (196b607) into main (73b76cf) will decrease coverage by 0.14%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main    #992      +/-   ##
========================================
- Coverage   8.88%   8.73%   -0.15%     
========================================
  Files       1017    1017              
  Lines      63653   65195    +1542     
  Branches   11224   11396     +172     
========================================
+ Hits        5655    5696      +41     
- Misses     53074   54486    +1412     
- Partials    4924    5013      +89     
Flag Coverage Δ *Carryforward flag
differential 2.25% <0.00%> (?)
total 8.88% <0.00%> (ø) Carriedforward from 73b76cf

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
map/lanelet2_extension/lib/query.cpp 10.53% <0.00%> (+0.77%) ⬆️
...nodes/costmap_generator/costmap_generator_node.cpp 0.00% <ø> (ø)
.../scenario_selector_node/scenario_selector_node.cpp 0.00% <ø> (ø)
...nning/behavior_velocity_planner/test/src/utils.hpp 82.22% <0.00%> (-5.59%) ⬇️
...city_planner/include/utilization/state_machine.hpp 50.00% <0.00%> (-2.64%) ⬇️
map/lanelet2_extension/lib/mgrs_projector.cpp 38.00% <0.00%> (-2.43%) ⬇️
...city_planner/include/utilization/arc_lane_util.hpp 40.42% <0.00%> (-0.88%) ⬇️
...ene_module/occlusion_spot/occlusion_spot_utils.cpp 8.69% <0.00%> (-0.49%) ⬇️
map/lanelet2_extension/lib/utilities.cpp 8.89% <0.00%> (-0.30%) ⬇️
...ior_velocity_planner/test/src/test_utilization.cpp 53.52% <0.00%> (-0.11%) ⬇️
... and 167 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 73b76cf...196b607. Read the comment docs.

@NorahXiong NorahXiong requested review from mitsudome-r and kenji-miyake and removed request for taikitanaka3 June 10, 2022 05:09
@shmpwk shmpwk self-requested a review June 10, 2022 06:21
@shmpwk shmpwk added component:planning Route planning, decision-making, and navigation. (auto-assigned) component:map Map creation, storage, and loading. (auto-assigned) labels Jun 10, 2022
@soblin soblin self-assigned this Jun 10, 2022
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.

Thank you for your nice contribution!
I've confirmed it works fine wherever the vehicle starts.
Also, the changes in scenario_selector_node.cpp and constmap_generator_node.cpp are independent from the other codes and thus they cannot be harmful for now.

Copy link
Contributor

@kenji-miyake kenji-miyake left a comment

Choose a reason for hiding this comment

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

Thank you for fixing this! Generally LGTM, but some improvements can be considered.

Copy link
Contributor

@kenji-miyake kenji-miyake left a comment

Choose a reason for hiding this comment

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

Great! Thanks! 🙏

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!

NorahXiong and others added 4 commits June 14, 2022 19:20
Signed-off-by: NorahXiong <norah.xiong@autocore.ai>
Signed-off-by: NorahXiong <norah.xiong@autocore.ai>
@xmfcx xmfcx enabled auto-merge (squash) June 14, 2022 16:21
@xmfcx xmfcx merged commit 8fbf378 into autowarefoundation:main Jun 14, 2022
SoohyeokPark-MORAI pushed a commit to SoohyeokPark-MORAI/autoware.universe that referenced this pull request Jun 15, 2022
Signed-off-by: NorahXiong <norah.xiong@autocore.ai>
Signed-off-by: SoohyeokPark-MORAI <shpark.morai@gmail.com>
SoohyeokPark-MORAI pushed a commit to SoohyeokPark-MORAI/autoware.universe that referenced this pull request Jun 15, 2022
Signed-off-by: NorahXiong <norah.xiong@autocore.ai>
boyali referenced this pull request in boyali/autoware.universe Jul 1, 2022
Signed-off-by: NorahXiong <norah.xiong@autocore.ai>
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
Signed-off-by: NorahXiong <norah.xiong@autocore.ai>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
Signed-off-by: NorahXiong <norah.xiong@autocore.ai>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
Signed-off-by: NorahXiong <norah.xiong@autocore.ai>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
Signed-off-by: NorahXiong <norah.xiong@autocore.ai>
saka1-s pushed a commit to saka1-s/autoware.universe that referenced this pull request Nov 28, 2023
…undation#992)

* fix(lane_change): filter objects for skip parking objects

Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>

* Update planning/behavior_path_planner/src/scene_module/lane_change/normal.cpp

Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>

---------

Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
Co-authored-by: Kosuke Takeuchi <kosuke.tnp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:map Map creation, storage, and loading. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inappropriate method in parking lot search function
5 participants