Compare commits
2 Commits
bab271bf4f
...
e299421040
| Author | SHA1 | Date |
|---|---|---|
|
|
e299421040 | |
|
|
e1405a5e64 |
|
|
@ -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): # 直行车道右侧出现左转
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue