road_profile — DRIVE long op

• Data kinds: table → table

• Call: import fullseye as fs; fs.ledger.road_profile(profile_xz, l0: 'float' = 0.0) -> 'Dict[str, np.ndarray]' (to call the implementation directly, import drivelong; drivelong.road_profile(profile_xz, l0: 'float' = 0.0) -> 'Dict[str, np.ndarray]'; from the registry, opsdrive.get("road_profile"))

Usage

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

水平距離と高さの折線 (x, z)(drivecourse.course_slope の `profile` と同じ形)を、路面に沿った弧長 l の縦断にする。

返り値 = `{"l" (n,), "x" (n,), "z" (n,), "sin" (n−1,), "cos" (n−1,)}。l は l0` から始まる折れ点の弧長。

区間 i の勾配角 θ_i は sin = Δz/Δl、cos = Δx/Δl(両端の外は平ら: θ = 0、z は端の値)。

Raises `ValueError`: 2 点未満、非有限、x が狭義単調増加でない、勾配が 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

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 (long)

long_params · road_eval · long_simulate · long_energy_residual · stopping_distance_grade · stop_line_plan · plan_command · hill_hold_brake_min


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