-
Notifications
You must be signed in to change notification settings - Fork 673
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(obstacle_stop_planner): add hold stop margin distance #1434
feat(obstacle_stop_planner): add hold stop margin distance #1434
Conversation
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #1434 +/- ##
==========================================
- Coverage 10.13% 10.07% -0.06%
==========================================
Files 1118 1118
Lines 77393 77780 +387
Branches 17989 17989
==========================================
Hits 7840 7840
- Misses 62284 62671 +387
Partials 7269 7269
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
@satoshi-ota How Can I check the distance between ego and obstacle? Is some information published? |
@h-ohta Sorry for late reply. I checked the distance by using rviz measure or tempolary embedded debug code. Unfortunatly, there is no infomation about the distance between the ego and collision obstacle in debug message now. But this module has and outputs debug values array, so I can add the distance infomation and output as debug message. I'll add it. |
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@h-ohta I added the infomation about the distance between the ego and obstacle as a debug message. Please check that in plotjuggler.
|
@TakaHoribe This PR: https://evaluation.tier4.jp/evaluation/reports/49ea6a0f-b177-50c8-95ed-1ba2a72ef8a5?project_id=prd_jt (682/768) |
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@TakaHoribe @h-ohta I fixed some bugs and re-run test. Test result is similar to baseline. This PR: https://evaluation.tier4.jp/evaluation/reports/d9b53322-3336-5f2a-8e91-428cc2d14e59?project_id=prd_jt (702/768) |
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.
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
…oundation#1434) * feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
…1434) (#210) * feat(obstacle_stop_planner): add hold stop margin distance (#1434) * feat(obstacle_stop_planner): add hold stop margin distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): output distance info Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(obstacle_stop_planner): add param into config Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix: replace motion_utils to tier4_autoware_utils * ci(pre-commit): autofix --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…cherry-pick-avoidance fix(static_obstacle_avoidance): cherry pick avoidance PRs
Signed-off-by: satoshi-ota satoshi.ota928@gmail.com
Description
Now, this ego always try to stop at the stop position by re-starting (re-approach) even if the ego is stopped near the planned stop position in the module. On the other hand, if the stopping performance of the vehicle is poor (e.g. it cannot stop for one meter) and once it starts traveling, there is a possibility that the vehicle may over the stop position, in which case there may be a issue for the vehicle to continue stopping on the spot, if the distance between the ego and stop position is closer than threshold.
So, in this PR, I fixed following points.
add new param hold_stop_margin_distance (default: 0.0 [m])
if the following condisions are satisfied, the ego keep stopping at current position.
condition 1. the ego has stopped
condition 2. the distance between the ego and stop point is shorter than hold_stop_margin_distance
test perform (hold_stop_margin_distance = 2.0 [m])
simplescreenrecorder-2022-07-26_17.58.32.mp4
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.