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

fix(autonomous_emergency_braking): add sanity checks (#8998) #1573

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

danielsanchezaran
Copy link

@danielsanchezaran danielsanchezaran commented Oct 3, 2024

add sanity checks to prevent crashes (cherry-pick #8998)

Description

Related links

Related issue ticket: https://tier4.atlassian.net/browse/RT0-33710?focusedCommentId=188714
Parent Issue:

  • Link

How was this PR tested?

The changes only involve checking for vector emptiness so there is no change to the AEB behavior. Regardless, compilation was performed and Psim was used to test if the module compiles properly and if there are no problems.
Psim simulation to see if the AEB module runs without problems and compiles properly: As it can be seen in the image below, the module executes without problems. Objects were also placed on the simulated vehicle way to see if the module works properly. No problems found.

Screenshot from 2024-10-03 10-51-01

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@danielsanchezaran danielsanchezaran changed the title feat(autonomous_emergency_braking): add sanity checks (#8998) fix(autonomous_emergency_braking): add sanity checks (#8998) Oct 3, 2024
Copy link

sonarqubecloud bot commented Oct 3, 2024

@sfukuta
Copy link

sfukuta commented Oct 4, 2024

Test results are images only, test cases are unknown.
Please add any prerequisites and test cases to "How was this PR tested?"

@danielsanchezaran
Copy link
Author

Test results are images only, test cases are unknown. Please add any prerequisites and test cases to "How was this PR tested?"

I updated the description.

@danielsanchezaran danielsanchezaran merged commit 98d4b0b into beta/v0.3.19 Oct 4, 2024
13 of 14 checks passed
@danielsanchezaran danielsanchezaran deleted the fix/empty-vector-checks branch October 4, 2024 02:25
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.

2 participants