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

Railroad crossing: a track crosses a road of width w (along the x axis) at a right angle. Straights of length approach lie on both sides of the crossing surface (gauge + 2 outer rail strips = 2.6 m). rails (2, 2, 2) are the segments of the 2 rails (x = L/2 ± gauge/2, across the full road width), crossing_zone = (x0, x1) is the crossing surface, stop_lines (1, 2, 2) lies in the left lane stop_setback before the crossing surface. The polygon is a rectangle (the rails are metadata). Standard: gauge 1.1, outer rail strip 0.75 → params["regulation"]. Area = w·(2(rail_outer + gauge/2) + 2·approach).

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

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.