-
Notifications
You must be signed in to change notification settings - Fork 668
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
fix(emergency_handler,mrm_handler): check for ego speed when determining the gear command #7264
Merged
danielsanchezaran
merged 3 commits into
autowarefoundation:main
from
tier4:fix/output_correct_gear_when_reversing
Jun 6, 2024
Merged
fix(emergency_handler,mrm_handler): check for ego speed when determining the gear command #7264
danielsanchezaran
merged 3 commits into
autowarefoundation:main
from
tier4:fix/output_correct_gear_when_reversing
Jun 6, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
added
the
component:system
System design and integration. (auto-assigned)
label
Jun 4, 2024
danielsanchezaran
requested review from
mkuri,
veqcc and
TetsuKawa
as code owners
June 4, 2024 07:33
danielsanchezaran
added
the
run:build-and-test-differential
Mark to enable build-and-test-differential workflow. (used-by-ci)
label
Jun 4, 2024
veqcc
reviewed
Jun 4, 2024
veqcc
requested changes
Jun 5, 2024
system/emergency_handler/include/emergency_handler/emergency_handler_core.hpp
Outdated
Show resolved
Hide resolved
7 tasks
veqcc
approved these changes
Jun 6, 2024
danielsanchezaran
force-pushed
the
fix/output_correct_gear_when_reversing
branch
from
June 6, 2024 02:10
01088c2
to
ecfabfe
Compare
Signed-off-by: Daniel Sanchez <[email protected]>
Signed-off-by: Daniel Sanchez <[email protected]>
danielsanchezaran
force-pushed
the
fix/output_correct_gear_when_reversing
branch
from
June 6, 2024 02:12
ecfabfe
to
3cde0c2
Compare
Signed-off-by: veqcc <[email protected]>
veqcc
force-pushed
the
fix/output_correct_gear_when_reversing
branch
from
June 6, 2024 04:44
3cde0c2
to
f50c018
Compare
danielsanchezaran
merged commit Jun 6, 2024
6fb5221
into
autowarefoundation:main
22 of 25 checks passed
Hi, I think the Line 585 changed in this PR contains a bug. autoware.universe/system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp Lines 582 to 586 in 5913c5c
|
@Autumn60 |
4 tasks
4 tasks
KhalilSelyan
pushed a commit
that referenced
this pull request
Jul 22, 2024
…ing the gear command (#7264) * check for ego speed when determining the gear command Signed-off-by: Daniel Sanchez <[email protected]> * add gear history Signed-off-by: Daniel Sanchez <[email protected]> * update msg types Signed-off-by: veqcc <[email protected]> --------- Signed-off-by: Daniel Sanchez <[email protected]> Signed-off-by: veqcc <[email protected]> Co-authored-by: veqcc <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component:system
System design and integration. (auto-assigned)
run:build-and-test-differential
Mark to enable build-and-test-differential workflow. (used-by-ci)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Currently, both handlers always output a DRIVE gear when an emergency message makes the ego stop, which causes a very dangerous behavior (at least in simulations) when the ego vehicle is going backwards and an emergency is triggered -> since the gear is changed to Drive and the ego is going backwards, the simulator gives a positive velocity to the ego and makes it shoot forward (See video). Note that I used a script to simulate the AEB module activating to make these tests easier.
Screencast.from.2024.05.28.15.24.35.webm
After this PR fix:
cap-.2024-06-04-16-21-19.mp4
Related links
Tests performed
PSIM
Notes for reviewers
Interface changes
ROS Topic Changes
ROS Parameter Changes
Effects on system behavior
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.
After all checkboxes are checked, anyone who has write access can merge the PR.