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

feat(obstacle_stop_planner): add hold stop margin distance #1434

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Jul 26, 2022

Signed-off-by: satoshi-ota [email protected]

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.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@codecov
Copy link

codecov bot commented Jul 26, 2022

Codecov Report

Merging #1434 (2233b26) into main (4504ae1) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@            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              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 10.11% <0.00%> (ø) Carriedforward from a8d4d5a

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
...ner/include/obstacle_stop_planner/debug_marker.hpp 0.00% <ø> (ø)
planning/obstacle_stop_planner/src/node.cpp 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4504ae1...2233b26. Read the comment docs.

@h-ohta
Copy link
Contributor

h-ohta commented Jul 26, 2022

@satoshi-ota How Can I check the distance between ego and obstacle? Is some information published?

@satoshi-ota
Copy link
Contributor Author

satoshi-ota commented Jul 28, 2022

@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.

@satoshi-ota
Copy link
Contributor Author

@h-ohta I added the infomation about the distance between the ego and obstacle as a debug message. Please check that in plotjuggler.

  • topic name: /planning/scenario_planning/lane_driving/motion_planning/obstacle_stop_planner/obstacle_stop/debug_values
  • data: data.4 is the infomation about the distance between the ego and collision obstacle

Screenshot from 2022-07-29 08-55-05

@satoshi-ota
Copy link
Contributor Author

satoshi-ota commented Jul 29, 2022

@TakaHoribe I confirmed that there is no critical degradation in this PR by evaluator.
There is maybe bugs in this PR... 🤔

This PR: https://evaluation.tier4.jp/evaluation/reports/49ea6a0f-b177-50c8-95ed-1ba2a72ef8a5?project_id=prd_jt (682/768)
Baseline: https://evaluation.tier4.jp/evaluation/reports/ddd34bcc-0fb6-5ea8-8844-0a4961745f5f?project_id=prd_jt (700/768)

@satoshi-ota
Copy link
Contributor Author

Copy link
Contributor

@TakaHoribe TakaHoribe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
image

@satoshi-ota satoshi-ota merged commit 3f90850 into autowarefoundation:main Aug 3, 2022
@satoshi-ota satoshi-ota deleted the feat/hold-stop-margin-distance-obstacle branch August 3, 2022 03:08
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
1222-takeshi referenced this pull request in tier4/autoware.universe Oct 13, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
1222-takeshi referenced this pull request in tier4/autoware.universe Oct 13, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
1222-takeshi referenced this pull request in tier4/autoware.universe Oct 13, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
yukke42 pushed a commit to tzhong518/autoware.universe that referenced this pull request Oct 14, 2022
…oundation#1434)

* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
1222-takeshi referenced this pull request in tier4/autoware.universe Oct 18, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
kosuke55 referenced this pull request in tier4/autoware.universe Nov 10, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
kosuke55 referenced this pull request in tier4/autoware.universe Nov 30, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
yn-mrse referenced this pull request in tier4/autoware.universe Dec 19, 2022
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
yn-mrse referenced this pull request in tier4/autoware.universe Jun 20, 2023
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
yn-mrse referenced this pull request in tier4/autoware.universe Jun 21, 2023
* feat(obstacle_stop_planner): add hold stop margin distance

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>
yn-mrse referenced this pull request in tier4/autoware.universe Jun 21, 2023
…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 <[email protected]>

* feat(obstacle_stop_planner): output distance info

Signed-off-by: satoshi-ota <[email protected]>

* feat(obstacle_stop_planner): add param into config

Signed-off-by: satoshi-ota <[email protected]>

* fix: replace motion_utils to tier4_autoware_utils

* ci(pre-commit): autofix

---------

Signed-off-by: satoshi-ota <[email protected]>
Co-authored-by: Satoshi OTA <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
technolojin pushed a commit to technolojin/autoware.universe that referenced this pull request Jul 31, 2024
…cherry-pick-avoidance

fix(static_obstacle_avoidance): cherry pick avoidance PRs
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.

3 participants