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

Slope course: a rectangular road (along the x axis) that climbs a gentle slope to height height, has a flat top section top, and descends a steep slope.

The polygon is a rectangle of width w × length L = height/g_gentle + top + height/g_steep. profile = (s, z) polyline [(0,0), (s1,h), (s1+top,h), (L,0)]; z is interpolated by slope_height (driveworld raises the road surface).

Standard: width ≥ 7, height ≥ 1.5, gentle 6.5–9.0 %, steep 10.0–12.5 %, flat part ≥ 4 → params["regulation"]. Area = w·L.

Raises ValueError: width, height, grade or flat part not positive, grade ≥ 1 (over 45° is not a road).

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.