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(autonomous_emergency_braking): keep collision information for user specified seconds #3292

Merged
merged 3 commits into from
Apr 10, 2023

Conversation

h-ohta
Copy link
Contributor

@h-ohta h-ohta commented Apr 6, 2023

Description

  • Keep collision information for user specified seconds
    • add class CollisionDataKeeper
    • add parameter collision_keeping_sec, default is 0.0
    • add RSS and distance to objects to diag information
    • publish marker for Collision decided Point
    • rearrange codes
  • publish marker for ObjectData

Related links

Tests performed

I confirmed it works in my environment.
green point: ObjectData
red point: Collision decided Point
https://user-images.githubusercontent.com/9547070/230254191-00cfe377-d48e-4aa3-bffe-19658f8d1d09.mp4

Notes for reviewers

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.

@github-actions github-actions bot added the component:control Vehicle control algorithms and mechanisms. (auto-assigned) label Apr 6, 2023
@h-ohta h-ohta marked this pull request as ready for review April 6, 2023 02:07
@h-ohta h-ohta requested review from TakaHoribe, purewater0901 and a team as code owners April 6, 2023 02:07
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! LGTM

@codecov
Copy link

codecov bot commented Apr 7, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.08 🎉

Comparison is base (e778e73) 12.41% compared to head (4683e9d) 12.49%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3292      +/-   ##
==========================================
+ Coverage   12.41%   12.49%   +0.08%     
==========================================
  Files        1368     1365       -3     
  Lines       96123    94695    -1428     
  Branches    27697    26745     -952     
==========================================
- Hits        11931    11835      -96     
+ Misses      71526    70343    -1183     
+ Partials    12666    12517     -149     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 12.50% <ø> (+0.09%) ⬆️ Carriedforward from 5460adb

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

Impacted Files Coverage Δ
...king/include/autonomous_emergency_braking/node.hpp 0.00% <0.00%> (ø)
control/autonomous_emergency_braking/src/node.cpp 0.00% <0.00%> (ø)

... and 46 files with indirect coverage changes

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 h-ohta enabled auto-merge (squash) April 10, 2023 03:44
@h-ohta h-ohta merged commit 5e8e928 into autowarefoundation:main Apr 10, 2023
h-ohta added a commit to tier4/autoware.universe that referenced this pull request Apr 10, 2023
…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 added a commit to tier4/autoware.universe that referenced this pull request Apr 13, 2023
…warefoundation#2793, autowarefoundation#3186, autowarefoundation#3248, autowarefoundation#3292) (#330)

* feat(control): add autonomous emergency braking module (autowarefoundation#2793)

* fix build error

* ci(pre-commit): autofix

* fix: fix lookup symbol error

* fix(autonomous_emergency_braking): fix typo (autowarefoundation#3186)

Update node.cpp

* fix(autonomous_emergency_braking): publish debug marker on base_link frame (autowarefoundation#3248)

* feat(autonomous_emergency_braking): keep collision information for user 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>

---------

Co-authored-by: Yutaka Shimizu <43805014+purewater0901@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:control Vehicle control algorithms and mechanisms. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants