occlusion_visible_intervals — DRIVE traffic op

• Data kinds: any → any

• Call: import fullseye as fs; fs.ledger.occlusion_visible_intervals(ego_xy, ego_heading: 'float', parked_box, emerge_xy, s_max: 'float') -> 'list' (to call the implementation directly, import drivetraffic; drivetraffic.occlusion_visible_intervals(ego_xy, ego_heading: 'float', parked_box, emerge_xy, s_max: 'float') -> 'list'; from the registry, opsdrive.get("occlusion_visible_intervals"))

Usage

While the ego vehicle's eye advances along p(s) = ego_xy + s h for 0 ≤ s ≤ s_max, the list of intervals of advance during which the point emerge_xy is visible.

> The detailed description below is the original text — the summary and the headings are translated.

occlusion_reveal_distance は「最初に見える所」だけを返すが、見え方は単調でない: 駐車車両の幅の帯の外(歩道の上)の点は、遠くからは車と縁石の隙間越しに見え、近づくと隠れ、また見える。ここでは見える/見えないが切り替わり得る候補(角をかすめる視線と進路の交点、進路と辺の交点 —— 閉形式)で [0, s_max] を区切り、各区間の中点で視線を判定して、見える区間を [(s0, s1), ...] (昇順、隣り合う見える区間は結合)で返す。区間の端の縦距離は h · (e − p(s))。点が箱の内部なら []。

Raises ValueError: 形・非有限・寸法 ≤ 0、s_max ≤ 0。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_driving_traffic — py -3.11 examples/poc_driving_traffic.py

Ops the type connects to (they accept any as input)

course_crank · course_s_curve · course_turnaround · course_slope · course_intersection · course_parallel_parking · course_crossing · course_road

Same category (traffic)

idm_accel · idm_equilibrium_gap · idm_platoon_simulate · driver_style · lateral_wobble · ou_estimate · social_force_step · pedestrian_crossing


*Provenance: drivetraffic.py — DRIVE operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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