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: change planning factor behavior constants #5590

Merged

Conversation

isamu-takagi
Copy link
Contributor

@isamu-takagi isamu-takagi commented Nov 15, 2023

Description

Changed the velocity/steering factor type to string for extensibility of the module. Since it is an unreleased API, I don't think it will have a big impact, but the default_ad_api package converts it to the previous type to maintain compatibility.

Related links

autowarefoundation/autoware_adapi_msgs#45

Tests performed

Notes for reviewers

None

Interface changes

autowarefoundation/autoware_adapi_msgs#45.

Effects on system behavior

None

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.

Signed-off-by: Takagi, Isamu <[email protected]>
Signed-off-by: Takagi, Isamu <[email protected]>
@github-actions github-actions bot added component:planning Route planning, decision-making, and navigation. (auto-assigned) component:system System design and integration. (auto-assigned) component:common Common packages from the autoware-common repository. (auto-assigned) labels Nov 15, 2023
@isamu-takagi isamu-takagi self-assigned this Nov 22, 2023
@isamu-takagi isamu-takagi changed the title Feat/update planning factor feat: change planning factor behavior constants Nov 22, 2023
@isamu-takagi isamu-takagi marked this pull request as ready for review November 22, 2023 02:27
@isamu-takagi isamu-takagi added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 22, 2023
Copy link
Contributor

@tkhmy tkhmy left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@yabuta yabuta left a comment

Choose a reason for hiding this comment

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

LGTM

@h-ohta
Copy link
Contributor

h-ohta commented Nov 30, 2023

After merging this PR, following line would be no longer used.
https://github.com/autowarefoundation/autoware_adapi_msgs/blob/main/autoware_adapi_v1_msgs/planning/msg/VelocityFactor.msg#L39
@isamu-takagi Do you make another PR to fix it?

Copy link

codecov bot commented Nov 30, 2023

Codecov Report

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

Comparison is base (765a596) 15.32% compared to head (237d618) 11.70%.
Report is 107 commits behind head on main.

Files Patch % Lines
...s/drivable_area_expansion/static_drivable_area.cpp 13.19% 597 Missing and 87 partials ⚠️
...anner/src/utils/avoidance/shift_line_generator.cpp 13.28% 431 Missing and 65 partials ⚠️
...ehavior_path_planner/src/utils/avoidance/utils.cpp 3.90% 187 Missing and 10 partials ⚠️
.../scene_module/goal_planner/goal_planner_module.cpp 0.56% 175 Missing and 2 partials ⚠️
...er/src/scene_module/avoidance/avoidance_module.cpp 10.56% 110 Missing and 17 partials ⚠️
...ner/src/utils/path_safety_checker/safety_check.cpp 0.00% 84 Missing ⚠️
..._path_planner/src/marker_utils/avoidance/debug.cpp 0.00% 61 Missing ⚠️
...ule/dynamic_avoidance/dynamic_avoidance_module.cpp 1.69% 58 Missing ⚠️
...cene_module/start_planner/start_planner_module.cpp 8.62% 53 Missing ⚠️
planning/behavior_path_planner/src/utils/utils.cpp 35.89% 31 Missing and 19 partials ⚠️
... and 30 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5590      +/-   ##
==========================================
- Coverage   15.32%   11.70%   -3.62%     
==========================================
  Files        1721      272    -1449     
  Lines      118559    29583   -88976     
  Branches    37995    15778   -22217     
==========================================
- Hits        18169     3464   -14705     
+ Misses      79657    21153   -58504     
+ Partials    20733     4966   -15767     
Flag Coverage Δ
differential 11.70% <11.97%> (?)
total ?

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

@isamu-takagi
Copy link
Contributor Author

@isamu-takagi Do you make another PR to fix it?

@h-ohta Yes, I want a commit where both can be used temporarily, so I will delete it in another PR.

@h-ohta
Copy link
Contributor

h-ohta commented Nov 30, 2023

output-2023-11-30_12.32.50-00.00.17.207-00.00.54.700.mp4

Confirmed:

  • Build: OK
  • Velocity Factors
    • Intersection
    • Route Obstacle
    • Crosswalk
  • Steering Factors
    • Intersection

@isamu-takagi isamu-takagi enabled auto-merge (squash) November 30, 2023 04:24
@isamu-takagi isamu-takagi merged commit b5417a9 into autowarefoundation:main Nov 30, 2023
19 of 24 checks passed
@isamu-takagi isamu-takagi deleted the feat/update-planning-factor branch November 30, 2023 08:43
danielsanchezaran pushed a commit to tier4/autoware.universe that referenced this pull request Dec 15, 2023
)

* replace module type

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

* support compatibility

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

---------

Signed-off-by: Takagi, Isamu <[email protected]>
Co-authored-by: Hiroki OTA <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:common Common packages from the autoware-common repository. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) component:system System design and integration. (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.