Compare commits

...

2 Commits

Author SHA1 Message Date
wangxu e299421040 Merge branch 'master' of http://data01:3000/xuwang/cross_doctor 2025-11-11 15:14:47 +08:00
wangxu e1405a5e64 修复左转外置判定bug 2025-11-11 15:14:23 +08:00
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): def check_outside_left(lane_turn_info):
seen_s = False # 是否已出现直行车道 seen_s = False # 是否已出现直行车道
for func in lane_turn_info: for func in lane_turn_info:
if func == '-': if func == '-' or func in ('17', '18', '19', '20'):
continue continue
turn_type_str = g_turn2str[str(func)] turn_type_str = g_turn2str[str(func)]
if seen_s and ('l' in turn_type_str): # 直行车道右侧出现左转 if seen_s and ('l' in turn_type_str): # 直行车道右侧出现左转