From b1986ed16ec647bd013ad84b9de0d9f7790ca1cb Mon Sep 17 00:00:00 2001 From: Mamoru Sobue Date: Tue, 21 May 2024 12:21:19 +0900 Subject: [PATCH] docs(behavior_velocity): organize traffic light color action (#7049) Signed-off-by: Mamoru Sobue --- planning/behavior_velocity_planner/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/planning/behavior_velocity_planner/README.md b/planning/behavior_velocity_planner/README.md index 519e68764b450..1948004d1da49 100644 --- a/planning/behavior_velocity_planner/README.md +++ b/planning/behavior_velocity_planner/README.md @@ -56,3 +56,15 @@ So for example, in order to stop at a stop line with the vehicles' front on the | `max_accel` | double | (to be a global parameter) max acceleration of the vehicle | | `system_delay` | double | (to be a global parameter) delay time until output control command | | `delay_response_time` | double | (to be a global parameter) delay time of the vehicle's response to control commands | + +## Traffic Light Handling in sim/real + +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`. + +| module \\ case | `info` is `null` | `info` is not `null` | +| :--------------------------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| intersection_occlusion(`is_simulation = *`) | GO(occlusion is ignored) | intersection_occlusion uses the latest non UNKNOWN observation in the queue up to present. | +| traffic_light(sim, `is_simulation = true`) | GO | traffic_light uses the perceived traffic light information at present directly. {: rowspan=2} | +| traffic_light(real, `is_simulation = false`) | STOP | ⁠ {: style="padding:0"} | +| crosswalk with Traffic Light(`is_simulation = *`) | default | | +| map_based_prediction(`is_simulation = *`) | default | If a pedestrian traffic light is |