Skip to content

Commit b1986ed

Browse files
authored
docs(behavior_velocity): organize traffic light color action (#7049)
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
1 parent 1f6a6c5 commit b1986ed

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

planning/behavior_velocity_planner/README.md

+12
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,15 @@ So for example, in order to stop at a stop line with the vehicles' front on the
5656
| `max_accel` | double | (to be a global parameter) max acceleration of the vehicle |
5757
| `system_delay` | double | (to be a global parameter) delay time until output control command |
5858
| `delay_response_time` | double | (to be a global parameter) delay time of the vehicle's response to control commands |
59+
60+
## Traffic Light Handling in sim/real
61+
62+
The handling of traffic light information varies depending on the usage. In the below table, the traffic signal topic element for the corresponding lane is denoted as `info`, and if `info` is not available, it is denoted as `null`.
63+
64+
| module \\ case | `info` is `null` | `info` is not `null` |
65+
| :--------------------------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
66+
| intersection_occlusion(`is_simulation = *`) <ul> <li>`info` is the latest non-`null` information</li></ul> | GO(occlusion is ignored) | intersection_occlusion uses the latest non UNKNOWN observation in the queue up to present.<ul><li>If `info` is `GREEN or UNKNOWN`, occlusion is cared</li><li>If `info` is `RED or YELLOW`, occlusion is ignored(GO) </li> <li> NOTE: Currently timeout is not considered</li> </ul> |
67+
| traffic_light(sim, `is_simulation = true`) <ul> <li>`info` is current information</li></ul> | GO | traffic_light uses the perceived traffic light information at present directly. <ul><li>If `info` is timeout, STOP whatever the color is</li> <li>If `info` is not timeout, then act according to the color. If `info` is `UNKNOWN`, STOP</li></ul> {: rowspan=2} |
68+
| traffic_light(real, `is_simulation = false`) <ul> <li>`info` is current information</li></ul> | STOP | &#8288 {: style="padding:0"} |
69+
| crosswalk with Traffic Light(`is_simulation = *`) <ul> <li>`info` is current information</li></ul> | default | <ul> <li>If `disable_yield_for_new_stopped_object` is true, each sub scene_module ignore newly detected pedestrians after module instantiation.</li> <li>If `ignore_with_traffic_light` is true, occlusion detection is skipped.</li></ul> |
70+
| map_based_prediction(`is_simulation = *`) <ul> <li>`info` is current information</li></ul> | default | If a pedestrian traffic light is<ul> <li>RED, surrouding pedestrians are not predicted.</li> <li>GREEN, stopped pedestrians are not predicted.</li></ul> |

0 commit comments

Comments
 (0)