Skip to content

Commit

Permalink
po
Browse files Browse the repository at this point in the history
  • Loading branch information
takayuki5168 committed Nov 14, 2023
1 parent f9faadd commit 52bea86
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion planning/behavior_velocity_crosswalk_module/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,34 @@ Depending on the relative relationship between TTC and TTV, the ego's behavior a

### Dead Lock Prevention

If there are objects stop within a radius of `min_object_velocity * ego_pass_later_margin` meters from virtual collision point, this module judges that ego should stop based on the pass judge logic described above at all times. In such a situation, even if the pedestrian has no intention of crossing, ego continues the stop decision on the spot. So, this module has another logic for dead lock prevention, and if the object continues to stop for more than `timeout_no_intention_to_walk` seconds after ego stops in front of the crosswalk, this module judges that the object has no intention of crossing and switches from **STOP** state to **PASS** state. The parameter `stop_object_velocity_threshold` is used to judge whether the objects are stopped or not. In addition, if the object starts to move after the module judges that the object has no intention of crossing, this module judges whether ego should stop or not once again.
When the object is stopped around the crosswalk but has no intention to walk, the ego will yield the object forever.
To prevent this dead lock, the ego will cancel the yield depending on the situation.

#### When there is no traffic light

For the object is stopped around the crosswalk but has no intention to walk, when the ego keeps stopping to yield for a certain time (\*1), the ego cancels the yield and start driving.

<figure markdown>
![no-intension](docs/no-intension.svg){width=1000}
<figcaption>dead lock situation</figcaption>
</figure>

\*1:
The time is calculated based on the distance between the object and crosswalk.
When `distance_map_for_no_intention_to_walk` is `[1.0, 5.0]` and `timeout_map_for_no_intention_to_walk` is `[3.0, 0.0]`, the time is calculated as follows.

#### When there is traffic light

For the object is stopped around the crosswalk but has no intention to walk, when the ego will cancel the yield without stopping.
This comes from the assumption that the object has no intention to walk since it is stopped even though the pedestrian traffic light is green.

<figure markdown>
![no-intension](docs/no-intension.svg){width=1000}
<figcaption>dead lock situation</figcaption>
</figure>

#### New Object Handling

### Safety Slow Down Behavior

In current autoware implementation if there are no target objects around a crosswalk, ego vehicle
Expand Down

0 comments on commit 52bea86

Please sign in to comment.