修复左转外置判定bug

This commit is contained in:
wangxu 2025-11-11 15:14:23 +08:00
parent 131b31013b
commit e1405a5e64
1 changed files with 1 additions and 1 deletions

View File

@ -450,7 +450,7 @@ def gen_dir_light_info_dict(light_infos):
def check_outside_left(lane_turn_info):
seen_s = False # 是否已出现直行车道
for func in lane_turn_info:
if func == '-':
if func == '-' or func in ('17', '18', '19', '20'):
continue
turn_type_str = g_turn2str[str(func)]
if seen_s and ('l' in turn_type_str): # 直行车道右侧出现左转