crossing op• Data kinds: signal → table
• Call: import fullseye as fs; fs.ledger.crossing_gate_state(t, *, t_warning: 'float', t_lower_start: 'float', lower_duration: 'float', t_clear: 'float', raise_duration: 'float') -> 'Dict[str, np.ndarray]' (to call the implementation directly, import drivecrossing; drivecrossing.crossing_gate_state(t, *, t_warning: 'float', t_lower_start: 'float', lower_duration: 'float', t_clear: 'float', raise_duration: 'float') -> 'Dict[str, np.ndarray]'; from the registry, opsdrive.get("crossing_gate_state"))
Evaluates the railroad-crossing state machine (crossing warning signal + crossing gate) at times t (array).
> The detailed description below is the original text — the summary and the headings are translated.
状態: 0 idle(警報なし・かん上)、1 warning(警報中・かん上)、2 lowering(降下中)、3 closed(遮断中)、4 raising(列車が過ぎて警報が止まり、かんが上昇中)。警報灯は 1〜3 で点く(解釈基準 5(5)「通過後に警報を停止」)。かんの角 [rad]: 上 π/2 → 下 0。降下・上昇は余弦の滑らかな形(仮定: 実機の降下曲線は資料なし)。entry_forbidden = 1〜4(33 条 2 項。上昇中も含めるのは保守側の解釈)。
返り値: state(int)、boom_angle、lamps_on(bool)、entry_forbidden(bool)、t_closed(降下の終わり)。
• 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.
• poc_driving_crossing — py -3.11 examples/poc_driving_crossing.py
table as input)course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same
crossing)crossing_timing_check · crossing_lamp_signal · lamp_pair_phase · crossing_clear_time · exit_room_check · crossing_stop_check · track_sight_distance · sight_triangle_distance
*Provenance: drivecrossing.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.