Skip to content

Refactor/behavior tree 2 #1606

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

Merged
merged 12 commits into from
May 27, 2025
Merged

Refactor/behavior tree 2 #1606

merged 12 commits into from
May 27, 2025

Conversation

takanotaiga
Copy link
Member

@takanotaiga takanotaiga commented May 23, 2025

Abstract

This pull request is a refactoring of the BehaviorTreePlugin proposed by ROBOTECH.

Background

N/A

Details

  • Removed unreachable section.
  • Reviewed and simplified the logic in StopAtStopLineAction.
  • Removed unused in_stop_sequence_.
  • Avoided redundant checks for identical conditions in StopAtCrossingAc…
  • Added lane matching failure condition in StopAtStopLineAction.
  • Added a check for the value of lane_change_velocity_.
  • Replaced hardcoded values with named constants.

References

Destructive Changes

N/A

Known Limitations

N/A

Copy link

github-actions bot commented May 23, 2025

Checklist for reviewers ☑️

All references to "You" in the following text refer to the code reviewer.

  • Is this pull request written in a way that is easy to read from a third-party perspective?
  • Is there sufficient information (background, purpose, specification, algorithm description, list of disruptive changes, and migration guide) in the description of this pull request?
  • If this pull request contains a destructive change, does this pull request contain the migration guide?
  • Labels of this pull request are valid?
  • All unit tests/integration tests are included in this pull request? If you think adding test cases is unnecessary, please describe why and cross out this line.
  • The documentation for this pull request is enough? If you think adding documents for this pull request is unnecessary, please describe why and cross out this line.

@takanotaiga takanotaiga added bump patch If this pull request merged, bump patch version of the scenario_simulator_v2 and removed wait for regression test labels May 26, 2025
@takanotaiga takanotaiga marked this pull request as ready for review May 26, 2025 07:08
@takanotaiga takanotaiga requested a review from hakuturu583 May 26, 2025 07:08
Copy link

@hakuturu583 hakuturu583 merged commit f5bfa67 into master May 27, 2025
18 of 21 checks passed
@github-actions github-actions bot deleted the refactor/behavior-tree-2 branch May 27, 2025 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump patch If this pull request merged, bump patch version of the scenario_simulator_v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants