-
Notifications
You must be signed in to change notification settings - Fork 650
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(behavior_path_planner): avoid invalid access #3923
fix(behavior_path_planner): avoid invalid access #3923
Conversation
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
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.
LGTM!
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #3923 +/- ##
==========================================
- Coverage 14.11% 14.04% -0.08%
==========================================
Files 1444 1455 +11
Lines 101928 105656 +3728
Branches 27197 29818 +2621
==========================================
+ Hits 14387 14839 +452
- Misses 71774 74541 +2767
- Partials 15767 16276 +509
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
LGTM
…3923) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…3923) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
) * temp Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * temp Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * fix(compare_map_segmentation): initialize timer_callback_group_ (#3914) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix(behavior_path_planner): small refactoring for resamplePathWithSpline (#3922) Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix(behavior_path_planner): avoid invalid access (#3923) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * temo Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * create PredictedPath debug marker Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * delete debug print Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * refactoring Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * refactor Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * refactoring Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * refactoring Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * add param for predicted path generation Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * refactoring Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * temp Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * generalize safety check function Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * delete unnecessary difference Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * modify call refactored function Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> * Update planning/behavior_path_planner/include/behavior_path_planner/utils/safety_check.hpp Co-authored-by: Zulfaqar Azmi <93502286+zulfaqar-azmi-t4@users.noreply.github.com> * Update planning/behavior_path_planner/src/utils/safety_check.cpp Co-authored-by: Zulfaqar Azmi <93502286+zulfaqar-azmi-t4@users.noreply.github.com> --------- Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp> Co-authored-by: Zulfaqar Azmi <93502286+zulfaqar-azmi-t4@users.noreply.github.com>
commit 3dcfb6e Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Tue Jun 13 14:41:19 2023 +0900 update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit eeb884c Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Tue Jun 13 14:13:34 2023 +0900 refactoring Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 50e8346 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Tue Jun 13 13:50:49 2023 +0900 refactoring Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 9063019 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Tue Jun 13 13:22:49 2023 +0900 refactor Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 5fe015a Merge: ab7d208 f09e575 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Tue Jun 13 12:56:28 2023 +0900 Merge branch 'main' into feature/create_predicted_path_from_target_velcoity Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit ab7d208 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Sat Jun 10 01:17:41 2023 +0900 refactoring Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 6eb0dae Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Sat Jun 10 00:54:05 2023 +0900 delete debug print Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 57e75c4 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Sat Jun 10 00:52:06 2023 +0900 update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 89bfa91 Merge: abaf563 fc08b4f Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 21:26:18 2023 +0900 Merge branch 'main' into feature/create_predicted_path_from_target_velcoity Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit abaf563 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 20:37:08 2023 +0900 update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 1b32573 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 20:00:41 2023 +0900 update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 9db1416 Merge: 1ae32a3 21b6403 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 19:23:51 2023 +0900 Merge branch 'main' into feature/create_predicted_path_from_target_velcoity Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 1ae32a3 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 18:45:19 2023 +0900 create PredictedPath debug marker Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 1bc6451 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 15:45:09 2023 +0900 update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 6c78054 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 14:55:22 2023 +0900 update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit df7cbc1 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 14:43:52 2023 +0900 update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 0210dc1 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 14:31:58 2023 +0900 update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit f01e8e1 Merge: d9f8edb 35f94d0 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 12:17:24 2023 +0900 Merge branch 'main' into feature/add_safety_checker_pull_out Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit d9f8edb Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Fri Jun 9 12:07:51 2023 +0900 temo Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit b206444 Author: Tomoya Kimura <tomoya.kimura@tier4.jp> Date: Thu Jun 8 22:32:40 2023 +0900 fix(behavior_path_planner): avoid invalid access (autowarefoundation#3923) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> commit 6aa9f02 Author: Zulfaqar Azmi <93502286+zulfaqar-azmi-t4@users.noreply.github.com> Date: Thu Jun 8 18:02:30 2023 +0900 fix(behavior_path_planner): small refactoring for resamplePathWithSpline (autowarefoundation#3922) Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> commit 880216a Author: Tomoya Kimura <tomoya.kimura@tier4.jp> Date: Thu Jun 8 17:34:31 2023 +0900 fix(compare_map_segmentation): initialize timer_callback_group_ (autowarefoundation#3914) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> commit 920a0cb Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Thu Jun 8 19:14:32 2023 +0900 update Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit a75cf49 Merge: e27face 69e89d9 Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Thu Jun 8 16:30:09 2023 +0900 Merge branch 'main' into feature/add_safety_checker_pull_out Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit e27face Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Tue Jun 6 19:36:32 2023 +0900 temp Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> commit 7ec623e Author: kyoichi-sugahara <kyoichi.sugahara@tier4.jp> Date: Tue Jun 6 16:29:51 2023 +0900 add function to create PredictedPath from target velocity Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Description
During manual driving or automatic driving of vehicles with large control errors, the behavior_path_planner node will die if Lane_Change is activated in a situation where the vehicle speed is higher than expected.
This is due to accessing the null output.path, so I fixed it.
Related links
Tests performed
I tested on planning_simulator.
Notes for reviewers
Interface changes
none
Effects on system behavior
As the description. (Almost no effect on automatic driving )
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.