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

refactor(behavior_velocity_planner_common): add behavior_velocity_rtc_interface and move RTC-related implementation #9799

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented Dec 26, 2024

Description

In order to split the tier4_msgs dependency from the pure behavior velocity planner 's common implementation, I split the behavior_velocity_planner_common into

  • behavior_velocity_planne_common
    • mostly without tier4_msgs, especially RTC
  • behavior_velocity_rtc_interface
    • can depend on tier4_msgs

The motivation is porting behavior_velocity_planner_common to Autoware.Core by removing the tier4_msgs dependency.

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) labels Dec 26, 2024
Copy link

github-actions bot commented Dec 26, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@takayuki5168 takayuki5168 force-pushed the feat/behavior-velocity-rtc-interface branch from e67f34a to 41e85fa Compare December 26, 2024 05:53
@takayuki5168 takayuki5168 changed the title refactor(behavior_velocity_planner_common): add behavior_velocity_rtc_interface and move RTC-related implementation to the package refactor(behavior_velocity_planner_common): add behavior_velocity_rtc_interface and move RTC-related implementation Dec 26, 2024
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Copy link

codecov bot commented Dec 26, 2024

Codecov Report

Attention: Patch coverage is 73.64865% with 39 lines in your changes missing coverage. Please review.

Project coverage is 30.01%. Comparing base (452e076) to head (088cb46).
Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...velocity_planner_common/scene_module_interface.hpp 68.85% 12 Missing and 7 partials ⚠️
..._interface/src/scene_module_interface_with_rtc.cpp 77.58% 11 Missing and 2 partials ⚠️
..._rtc_interface/scene_module_interface_with_rtc.hpp 75.00% 4 Missing and 1 partial ⚠️
...r_velocity_no_stopping_area_module/src/manager.cpp 66.66% 1 Missing ⚠️
...vior_velocity_traffic_light_module/src/manager.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9799      +/-   ##
==========================================
- Coverage   30.03%   30.01%   -0.02%     
==========================================
  Files        1452     1459       +7     
  Lines      109043   109097      +54     
  Branches    42759    42763       +4     
==========================================
- Hits        32748    32746       -2     
- Misses      73095    73151      +56     
  Partials     3200     3200              
Flag Coverage Δ *Carryforward flag
differential 24.14% <73.64%> (?)
total 29.96% <ø> (-0.07%) ⬇️ Carriedforward from 3a65d75

*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.

@soblin
Copy link
Contributor

soblin commented Dec 26, 2024

LGTM

takayuki5168 and others added 2 commits December 26, 2024 20:16
…planner_common/include/autoware/behavior_velocity_planner_common/scene_module_interface.hpp

Co-authored-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…rtc_interface/include/autoware/behavior_velocity_rtc_interface/scene_module_interface_with_rtc.hpp

Co-authored-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
@takayuki5168
Copy link
Contributor Author

@soblin
Thank you for the suggestion. Please approve the PR.

Copy link
Contributor

@soblin soblin left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@takayuki5168 takayuki5168 merged commit 4ed851f into autowarefoundation:main Dec 27, 2024
36 checks passed
@takayuki5168 takayuki5168 deleted the feat/behavior-velocity-rtc-interface branch December 27, 2024 01:16
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Dec 27, 2024
…_interface and move RTC-related implementation (autowarefoundation#9799)

* split into planer_common and rtc_interface

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* Update planning/behavior_velocity_planner/autoware_behavior_velocity_planner_common/include/autoware/behavior_velocity_planner_common/scene_module_interface.hpp

Co-authored-by: Mamoru Sobue <mamoru.sobue@tier4.jp>

* Update planning/behavior_velocity_planner/autoware_behavior_velocity_rtc_interface/include/autoware/behavior_velocity_rtc_interface/scene_module_interface_with_rtc.hpp

Co-authored-by: Mamoru Sobue <mamoru.sobue@tier4.jp>

* fix

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Jan 6, 2025
…_interface and move RTC-related implementation (autowarefoundation#9799)

* split into planer_common and rtc_interface

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* Update planning/behavior_velocity_planner/autoware_behavior_velocity_planner_common/include/autoware/behavior_velocity_planner_common/scene_module_interface.hpp

Co-authored-by: Mamoru Sobue <mamoru.sobue@tier4.jp>

* Update planning/behavior_velocity_planner/autoware_behavior_velocity_rtc_interface/include/autoware/behavior_velocity_rtc_interface/scene_module_interface_with_rtc.hpp

Co-authored-by: Mamoru Sobue <mamoru.sobue@tier4.jp>

* fix

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
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) type:documentation Creating or refining documentation. (auto-assigned)
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants