course_slope — 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_slope(width=7.0, height=1.5, grade_gentle=0.08, grade_steep=0.11, top=4.0) (to call the implementation directly, import drivecourse; drivecourse.course_slope(width=7.0, height=1.5, grade_gentle=0.08, grade_steep=0.11, top=4.0); from the registry, opsdrive.get("course_slope"))

Usage

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

坂道コース: 緩坂で高さ `height まで上り、頂上平坦部 top`、急坂で下りる矩形の道(x 軸沿い)。

多角形は幅 w × 長さ L = height/g_gentle + top + height/g_steep の矩形。`profile` = (s, z) の折線

[(0,0), (s1,h), (s1+top,h), (L,0)]、z は `slope_height` で補間(driveworld が路面を持ち上げる)。

規格: 幅 ≥ 7、高さ ≥ 1.5、緩 6.5〜9.0 %、急 10.0〜12.5 %、平坦部 ≥ 4 → `params["regulation"]`。

面積 = w·L。

Raises `ValueError`: 幅・高さ・勾配・平坦部が正でない、勾配 ≥ 1(45° 超は道ではない)。

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_longitudinal — py -3.11 examples/poc_driving_longitudinal.py

• 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_intersection · course_parallel_parking · course_crossing · 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.