Skip to content

Commit a7d130f

Browse files
docs(crosswalk): update ttc vs ttv docs (#10025)
Signed-off-by: yuki-takagi-66 <yuki.takagi@tier4.jp>
1 parent 4c13bb0 commit a7d130f

File tree

2 files changed

+332
-200
lines changed

2 files changed

+332
-200
lines changed

planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/README.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -138,27 +138,24 @@ The decision is based on the following variables, along with the calculation of
138138

139139
We classify ego behavior at crosswalks into three categories according to the relative relationship between TTC and TTV [1].
140140

141-
- A. **TTC >> TTV**: The object has enough time to cross before the ego.
141+
- A. **TTC >> TTV**: The object will pass early enough than the ego reach the collision point.
142142
- No stop planning.
143143
- B. **TTC ≒ TTV**: There is a risk of collision.
144144
- **Stop point is inserted in the ego's path**.
145-
- C. **TTC << TTV**: Ego has enough time to cross before the object.
145+
- C. **TTC << TTV**: The ego will pass early enough than the object reach the collision point.
146146
- No stop planning.
147147

148+
The following figure shows the decision result for each TTC and TTV with the parameters, `ego_pass_first_margin_x` is `{0}`, `ego_pass_first_margin_y` is `{4}`, `ego_pass_later_margin_x` is `{0}`, and `ego_pass_later_margin_y` is `{13}`.
149+
148150
<div align="center">
149151
<table>
150152
<tr>
151153
<td><img src="./docs/virtual_collision_point.svg" width="600"></td>
152-
<td><img src="./docs/ttc_vs_ttv.drawio.svg" width="350"></td>
154+
<td><img src="./docs/ttc_vs_ttv.svg" width="350"></td>
153155
</tr>
154156
</table>
155157
</div>
156158

157-
The boundary of A and B is interpolated from `ego_pass_later_margin_x` and `ego_pass_later_margin_y`.
158-
In the case of the upper figure, `ego_pass_later_margin_x` is `{0, 1, 2}` and `ego_pass_later_margin_y` is `{1, 4, 6}`.
159-
In the same way, the boundary of B and C is calculated from `ego_pass_first_margin_x` and `ego_pass_first_margin_y`.
160-
In the case of the upper figure, `ego_pass_first_margin_x` is `{3, 5}` and `ego_pass_first_margin_y` is `{0, 1}`.
161-
162159
If the red signal is indicating to the corresponding crosswalk, the ego do not yield against the pedestrians.
163160

164161
<div align="center">

0 commit comments

Comments
 (0)