course_crossing — DRIVE course op

• Data kinds: none → table (an op determined by its arguments alone — it takes no image or data input)

• Call: import fullseye as fs; fs.ledger.course_crossing(width=7.0, gauge=1.1, rail_outer=0.75, approach=6.0, stop_setback=0.5) (to call the implementation directly, import drivecourse; drivecourse.course_crossing(width=7.0, gauge=1.1, rail_outer=0.75, approach=6.0, stop_setback=0.5); from the registry, opsdrive.get("course_crossing"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

踏切: 幅 w の道路(x 軸沿い)を線路が直角に横切る。踏切面(軌間 + レール外側 2 つ = 2.6 m)の両側に

`approach の直線。rails` (2, 2, 2) はレール 2 本の線分(x = L/2 ± gauge/2、道路幅いっぱい)、

`crossing_zone = (x0, x1) 踏切面、stop_lines (1, 2, 2) は踏切面の stop_setback` 手前の左車線。

多角形は矩形(レールはメタデータ)。規格: 軌間 1.1、レール外側 0.75 → `params["regulation"]`。

面積 = w·(2(rail_outer + gauge/2) + 2·approach)。

Raises `ValueError`: 幅・軌間・approach が正でない、rail_outer < 0、stop_setback < 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_school — py -3.11 examples/poc_driving_school.py

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

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

Same category (course)

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


*Provenance: drivecourse.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.