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(safety_checker): remove lane change dependency #4387

Merged

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Jul 25, 2023

Description

🤖 Generated by Copilot at 019b492

This pull request refactors the safety check related structs and their include dependencies in the behavior path planner component. It moves the struct definitions from lane_change_module_data.hpp to safety_check.hpp, and updates the type aliases and using declarations accordingly. This improves the code organization, readability, and modularity.

Tests performed

Psim

Effects on system behavior

Nothing.

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.

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jul 25, 2023
Copy link
Contributor

@purewater0901 purewater0901 left a comment

Choose a reason for hiding this comment

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

Nice work!

@satoshi-ota satoshi-ota marked this pull request as ready for review July 25, 2023 09:05
@satoshi-ota satoshi-ota added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 25, 2023
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 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

@kyoichi-sugahara kyoichi-sugahara left a comment

Choose a reason for hiding this comment

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

Perfect thanks!!

@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (859975a) 15.01% compared to head (ee16dc1) 15.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4387   +/-   ##
=======================================
  Coverage   15.01%   15.01%           
=======================================
  Files        1508     1509    +1     
  Lines      104000   104000           
  Branches    31768    31768           
=======================================
  Hits        15615    15615           
  Misses      71349    71349           
  Partials    17036    17036           
Flag Coverage Δ *Carryforward flag
differential 13.45% <0.00%> (?)
total 15.01% <ø> (+<0.01%) ⬆️ Carriedforward from 859975a

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

Files Changed Coverage Δ
...r_path_planner/scene_module/lane_change/normal.hpp 0.00% <ø> (ø)
...nner/utils/lane_change/lane_change_module_data.hpp 0.00% <ø> (ø)
...clude/behavior_path_planner/utils/safety_check.hpp 0.00% <0.00%> (ø)
...nner/include/behavior_path_planner/utils/utils.hpp 45.45% <ø> (ø)

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

@satoshi-ota satoshi-ota merged commit 1e4a53c into autowarefoundation:main Jul 25, 2023
@satoshi-ota satoshi-ota deleted the refactor/remove-lc-depend branch July 25, 2023 10:58
tkimura4 pushed a commit to tier4/autoware.universe that referenced this pull request Aug 7, 2023
…dation#4387)

* refactor(safety_checker): remove lane change dependency

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* refactor(safety_checker): init primitive member variables

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants