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

feat(obstacle_cruise_planner): add calculation of obstacle distance to ego #6057

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

isouf
Copy link
Contributor

@isouf isouf commented Jan 11, 2024

Add the arc length from the ego to the obstacle stop point to the stop_reasons topic.

Description

Tests performed

Tested the behaviour manually using the Planning Simulator.

Effects on system behavior

This PR adds the required functionality (arc length calculation) to populate the dist_to_stop_pose field of the StopFactor.msg message.

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 Jan 11, 2024
@yuki-takagi-66 yuki-takagi-66 added tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) and removed tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) labels Jan 12, 2024
@yuki-takagi-66
Copy link
Contributor

@isouf Thanks for the PR. We welcome your contribution, and the code changes in the PR look good. With apologies for the insufficient guidance, we would like to ask you to work on the following two points.

  1. Please make a signed-off in the git commit message.
  2. Could you add the label run-build-and-test-differential to the PR?
    https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/ci-checks/
    https://autowarefoundation.github.io/autoware-documentation/main/contributing/pull-request-guidelines/commit-guidelines/

Screenshot from 2024-01-12 10-53-49

…o ego

Add the arc length from the ego to the obstacle stop point to the stop_reasons topic.

Signed-off-by: Ioannis Souflas <[email protected]>
@isouf isouf marked this pull request as draft January 15, 2024 10:12
@isouf isouf marked this pull request as ready for review January 15, 2024 10:14
@isouf
Copy link
Contributor Author

isouf commented Jan 15, 2024

@yuki-takagi-66 thank you very much for your message. I signed off the commit message as per your request. I tried to add the run-build-and-test-differential label but I do not have permission to add labels (see image below). Could you kindly advise how to proceed?

image

@isouf
Copy link
Contributor Author

isouf commented Jan 15, 2024

@yuki-takagi-66 also tried to add using gh but I am not allowed:
Screenshot from 2024-01-15 12-35-02

@yuki-takagi-66 yuki-takagi-66 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 16, 2024
@yuki-takagi-66
Copy link
Contributor

yuki-takagi-66 commented Jan 16, 2024

@isouf Thank you for your kind response. I asked the administrator about the CI check, and the current operation is that the reviewer starts the CI check. I apologize for requesting the wrong task. I have just set it up.

Copy link

codecov bot commented Jan 16, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (b60975f) 14.67% compared to head (5c94038) 14.67%.
Report is 9 commits behind head on main.

Files Patch % Lines
.../obstacle_cruise_planner/src/planner_interface.cpp 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6057      +/-   ##
==========================================
- Coverage   14.67%   14.67%   -0.01%     
==========================================
  Files        1858     1858              
  Lines      126598   126600       +2     
  Branches    37149    37150       +1     
==========================================
  Hits        18582    18582              
- Misses      87129    87131       +2     
  Partials    20887    20887              
Flag Coverage Δ *Carryforward flag
differential 8.23% <0.00%> (?)
total 14.67% <ø> (+<0.01%) ⬆️ Carriedforward from b60975f

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@yuki-takagi-66 yuki-takagi-66 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 the contribution. looks good to me

@yuki-takagi-66 yuki-takagi-66 merged commit f78ea59 into autowarefoundation:main Jan 17, 2024
28 of 33 checks passed
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 26, 2024
…o ego (autowarefoundation#6057)

Add the arc length from the ego to the obstacle stop point to the stop_reasons topic.

Signed-off-by: Ioannis Souflas <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
…o ego (autowarefoundation#6057)

Add the arc length from the ego to the obstacle stop point to the stop_reasons topic.

Signed-off-by: Ioannis Souflas <[email protected]>
Signed-off-by: karishma <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
…o ego (autowarefoundation#6057)

Add the arc length from the ego to the obstacle stop point to the stop_reasons topic.

Signed-off-by: Ioannis Souflas <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…o ego (autowarefoundation#6057)

Add the arc length from the ego to the obstacle stop point to the stop_reasons topic.

Signed-off-by: Ioannis Souflas <[email protected]>
yuki-takagi-66 pushed a commit to tier4/autoware.universe that referenced this pull request Jun 5, 2024
…o ego (autowarefoundation#6057)

Add the arc length from the ego to the obstacle stop point to the stop_reasons topic.

Signed-off-by: Ioannis Souflas <[email protected]>
saka1-s pushed a commit to tier4/autoware.universe that referenced this pull request Jun 14, 2024
… abandon to stop (#1336)

* feat(obstacle_cruise_planner): add calculation of obstacle distance to ego (autowarefoundation#6057)

Add the arc length from the ego to the obstacle stop point to the stop_reasons topic.

Signed-off-by: Ioannis Souflas <[email protected]>

* refactor(obstacle_cruise): refactor a function checkConsistency() (autowarefoundation#7105)

refactor
Signed-off-by: Yuki Takagi <[email protected]>

* add abandon function

Signed-off-by: Yuki Takagi <[email protected]>

* fix lib include

Signed-off-by: Yuki Takagi <[email protected]>

---------

Signed-off-by: Ioannis Souflas <[email protected]>
Signed-off-by: Yuki Takagi <[email protected]>
Co-authored-by: Ioannis Souflas <[email protected]>
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) tag: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.

2 participants