overtake_permitted — DRIVE pass op

• 資料種類:table → table

• 呼叫: import fullseye as fs; fs.ledger.overtake_permitted(*, maneuver_start: 'float', maneuver_end: 'float', zones_result: 'Optional[dict]' = None, lead_kind: 'str' = 'car', lead_overtaking: 'bool' = False, lead_keeping_right: 'bool' = False, side: 'str' = 'right', dist_oncoming: 'float' = inf, requirement: 'Optional[dict]' = None, being_overtaken: 'bool' = False) -> 'Dict[str, object]'(要直接呼叫實作,import drivepass; drivepass.overtake_permitted(*, maneuver_start: 'float', maneuver_end: 'float', zones_result: 'Optional[dict]' = None, lead_kind: 'str' = 'car', lead_overtaking: 'bool' = False, lead_keeping_right: 'bool' = False, side: 'str' = 'right', dist_oncoming: 'float' = inf, requirement: 'Optional[dict]' = None, being_overtaken: 'bool' = False) -> 'Dict[str, object]';從台帳取用則 opsdrive.get("overtake_permitted"))

用法

是否可以開始超車(依條文與交通教則判定)。場景 S077、S078、S079、S080、S081、S083。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

maneuver_start .. maneuver_end = 進路を変え始めてから前車の側方を通り終えるまでの自車の前端の位置。理由(code, 根拠):

• no_passing_zone(30 条): その区間が no_overtaking_zones の禁止区間と重なる(前車が EXEMPT_KINDS なら除く)。

• double_overtaking(29 条): 前車が他の自動車を追い越そうとしている。

• wrong_side(28 条 1・2 項): 前車が右折のため中央(右側端)に寄っている(lead_keeping_right)なら左、それ以外は右。

• oncoming_too_close(28 条 4 項 + 閉形式): dist_oncoming < requirement["d_required"] (overtake_requirement の返り値)。

• being_overtaken(教則 5-6-1(2)エ。法の明文なし、場面 S080): 後ろの車が自車を追い越そうとしている。

返り値: ok、reasons = [(code, 根拠)]、required_side。

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• poc_driving_pass — py -3.11 examples/poc_driving_pass.py

型別可銜接的下一個運算子(可接受 table 作為輸入)

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

同類別(pass)

overtake_requirement · overtake_return_gap · no_overtaking_zones · overtaken_conduct_check · lane_change_follower_decel · lane_change_permitted · roundabout_entry_check · roundabout_signal_point


*Provenance: drivepass.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.