From 52bb849e1c3508131bb87b6113b817ebad581222 Mon Sep 17 00:00:00 2001 From: Michael Plass Date: Wed, 13 May 2026 07:27:18 +0200 Subject: [PATCH] Grouping the traffic lights MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The individual bulbs of a traffic light rarely function as standalone signals. Rather, they form a unit consisting of two or three bulbs that convey a specific instruction to the driver. The introduction of the group_id defines a unique assignment of the lights. It replaces heuristics—such as those based on position and orientation—that were previously necessary in the user software. Signed-off-by: Michael Plass --- osi_trafficlight.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/osi_trafficlight.proto b/osi_trafficlight.proto index a8b77f22f..9ef72bea4 100644 --- a/osi_trafficlight.proto +++ b/osi_trafficlight.proto @@ -140,6 +140,13 @@ message TrafficLight // repeated LogicalLaneAssignment logical_lane_assignment = 7; + // Shared group identifier for related bulbs. + // + // \note All bulbs belonging to the same signal unit share the identical \c #group_id . + // \note The id must be globally unique within a single ground_truth message. + // All traffic lights with identical \c #group_id form one logical traffic signal unit. + optional Identifier group_id = 8; + // Definition of semantic colors for traffic lights. // // \note The color types represent the semantic classification of a traffic light