-
Notifications
You must be signed in to change notification settings - Fork 682
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(AEB): implement parameterized prediction time horizon and interval #5413
feat(AEB): implement parameterized prediction time horizon and interval #5413
Conversation
Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>
@1222-takeshi |
Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com>
@tkimura4 |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5413 +/- ##
==========================================
- Coverage 14.80% 14.80% -0.01%
==========================================
Files 1661 1661
Lines 115448 115453 +5
Branches 35642 35642
==========================================
Hits 17093 17093
- Misses 79109 79114 +5
Partials 19246 19246
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
|
||
if (i * mpc_prediction_time_interval_ > mpc_prediction_time_horizon_) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@1222-takeshi Since mpc_prediction_time_interval_
is defined in the MPC, it should be calculated from predicted_trajectory itself.
…al (autowarefoundation#5413) * feat(AEB): implement parameterized prediction time horizon and interval Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com> * chore: update readme Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com> * style(pre-commit): autofix --------- Signed-off-by: 1222-takeshi <m.takeshi1995@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description
Introduced parameters for controlling the prediction time horizon and interval for both IMU and MPC-based predictions in Autonomous Emergency Braking (AEB). This enhancement allows for optimized processing by enabling the configuration of the prediction span, thereby improving system performance and usability.
Additionally, introduced a parameter to toggle the publishing of debug pointcloud.
Related links
TIER IV INTERNAL LINK
tier4#966
launcher PR
Tests performed
see debug polygon
![Screenshot from 2023-10-25 16-42-54](https://private-user-images.githubusercontent.com/57553950/278178212-45d9806b-e504-42ad-96c7-5d7b192d2855.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Nzc4NTIsIm5iZiI6MTczOTY3NzU1MiwicGF0aCI6Ii81NzU1Mzk1MC8yNzgxNzgyMTItNDVkOTgwNmItZTUwNC00MmFkLTk2YzctNWQ3YjE5MmQyODU1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAzNDU1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY4MTNhYjNkMWE2YmQ2ZDZlNDk0ZDRkN2NhYmU1YzI2OTU5MzEwOTNkMjQyYmRhMGU5MTAzNWFiYWQ3ODUxMjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ISrnT6JaGKd6-vXcKBYzB07qVY4LM91n-Q5km4GzmSE)
before
after
![image](https://private-user-images.githubusercontent.com/57553950/278182189-fe68b0b5-30f2-45c1-a22a-f7ceef7ce815.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2Nzc4NTIsIm5iZiI6MTczOTY3NzU1MiwicGF0aCI6Ii81NzU1Mzk1MC8yNzgxODIxODktZmU2OGIwYjUtMzBmMi00NWMxLWEyMmEtZjdjZWVmN2NlODE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAzNDU1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ3NWFhMmNmNmY3NDI4MjQ1ZjFhYmQ2NWE1NDc0ZDVjZmRkZWEzNzg3MTNkMWM5YzUzODM4NWYyZTQ5OGEwMWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.cZdgKwE3hD8t_KZwbwBHO4whbBPVPQAt6nKyi9z89jc)
Notes for reviewers
Interface changes
Effects on system behavior
Before, the whole predicted trajectory was used for collision prediction. Now, to save computing effort, only selected parts of the trajectory can be used. This is done by cutting the trajectory to a specific interval, making collision prediction faster while keeping it accurate.
Due to this change, some parameters may need adjustment to keep the system working properly.
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.