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(control): add autonomous emergency braking module (backport #2793, #3186, #3248, #3292) #330

Merged
merged 10 commits into from
Apr 13, 2023

Conversation

h-ohta
Copy link

@h-ohta h-ohta commented Mar 20, 2023

Description

Related Links

https://tier4.atlassian.net/browse/T4PB-25351
https://github.com/tier4/autoware_launch.x1.eve/pull/379

Test performed

I confirmed in https://tier4.atlassian.net/wiki/spaces/SI/pages/2752285412/2023-04-10+AEB .

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.

@codecov-commenter
Copy link

codecov-commenter commented Mar 20, 2023

Codecov Report

❗ No coverage uploaded for pull request base (beta/v0.3.15@b20c054). Click here to learn what that means.
Patch has no changes to coverable lines.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@               Coverage Diff               @@
##             beta/v0.3.15     #330   +/-   ##
===============================================
  Coverage                ?   10.09%           
===============================================
  Files                   ?      506           
  Lines                   ?    40832           
  Branches                ?     8508           
===============================================
  Hits                    ?     4124           
  Misses                  ?    32994           
  Partials                ?     3714           
Flag Coverage Δ
differential 10.09% <0.00%> (?)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

h-ohta and others added 6 commits March 28, 2023 17:07
…er specified seconds (autowarefoundation#3292)

* feat(autonomous_emergency_braking): keep collision information for user specified seconds

* style(pre-commit): autofix

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@h-ohta h-ohta changed the title feat(control): add autonomous emergency braking module (backport #2793) feat(control): add autonomous emergency braking module (backport #2793, #3186, #3248, #3292) Apr 10, 2023
@h-ohta h-ohta requested review from 0x126, YoheiMishina and yn-mrse and removed request for 0x126 April 10, 2023 07:23
@h-ohta h-ohta enabled auto-merge (squash) April 13, 2023 02:45
Comment on lines +81 to +87
bool checkExpired()
{
if (data_ && (clock_->now() - data_->stamp).seconds() > timeout_sec_) {
data_.reset();
}
return (data_ == nullptr);
}
Copy link

Choose a reason for hiding this comment

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

Changing internal variables with the bool type check function is not recommended, as it may lead to misunderstandings by maintenance personnel or human error.
Since this is a backport PR, no fix action is required in this PR.

@h-ohta h-ohta merged commit 2ed77fc into beta/v0.3.15 Apr 13, 2023
@h-ohta h-ohta deleted the porting/aeb branch April 13, 2023 03:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants