-
Notifications
You must be signed in to change notification settings - Fork 692
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: output avoidance debug array whenever the avoidance module is enabled #835
feat: output avoidance debug array whenever the avoidance module is enabled #835
Conversation
Codecov Report
@@ Coverage Diff @@
## main #835 +/- ##
========================================
- Coverage 9.58% 9.48% -0.11%
========================================
Files 925 925
Lines 57411 58022 +611
Branches 6863 6863
========================================
Hits 5502 5502
- Misses 47384 47995 +611
Partials 4525 4525
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
@zulfaqar-azmi-t4 Could you take a test and review? |
…nabled Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
e02380a
to
6153dff
Compare
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.
@tkimura4 I've conducted the test with approval turned on as default and no approval as default. For approval turned on as default:Note from video below: With single and multiple object case, it works great. The details from video2.mp4For no approval as defaultFrom the observation, the seems to be able to capture details from video1.mp4video3.mp4 |
…nabled (#835) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…nabled (#835) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…nabled (#835) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…nabled (autowarefoundation#835) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
* fix: behavior path multi thread Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * add mutex unlock Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * feat(behavior_path_planner): debug messages for failed avoidance (#694) * feat(behavior_path_planner): debug message for avoidance Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix: make_shared for the pointers Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * chore: pre-commit Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix: remove related DEBUG_PRINT Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * chore: naming, add debug to the variable name This is so that people can infer mutable to debug, therefore reducing the amount of time for debugging other things Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix: object id is written as string instead of uint8x16 Also fix getUuidStr function to reflect the actual hex value. the function is moved to avoidance_util as it better served as helper function. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * chore: fix spelling Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix: display all 32 uuid characters Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * chore: remove unnecessary header Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * feat: support more debug message Note: need further refactoring, due to multiple similar code, plus duplicate printing. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix mutiplication by introducing global variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * header stamp to get the clock Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix: renaming the type to show clearer intent of the type Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix(behavior_path_planner): getAvoidanceDebugMsgArray caused crash (#828) this is due to the assignment to pointer without guards in the function Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * feat: output avoidance debug array whenever the avoidance module is enabled (#835) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix: behavior path avoidance debug Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Co-authored-by: Zulfaqar Azmi <93502286+zulfaqar-azmi-t4@users.noreply.github.com>
…nabled (tier4#835) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…nabled (tier4#835) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…nabled (tier4#835) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…nabled (tier4#835) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
Signed-off-by: tomoya.kimura tomoya.kimura@tier4.jp
Description
In the current implementaion, the avoidance debug array is not published when avoidance is not executed such the following case.

I change it to output avoidance debug array whenever the avoidance module is enabled.
I also changed to publish the avoidance debug array only at the end of
calcAvoidancePlanningData
.Related links
Tests performed
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.
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.