course_slope — DRIVE course op

• 数据种类:无 → table(仅由参数决定的算子 —— 不接受图像或数据输入)

• 调用: 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)(要直接调用实现,import drivecourse; drivecourse.course_slope(width=7.0, height=1.5, grade_gentle=0.08, grade_steep=0.11, top=4.0);从台账取用则 opsdrive.get("course_slope"))

用法

> 该算子的说明尚无译文,以下照原文给出。

坂道コース: 緩坂で高さ `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° 超は道ではない)。

参考(示例数据・文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

• 算法的正典(作者・年份)与用途见上面的族使用指南。

可运行的示例(实际调用该算子并已验证的样例)

• poc_driving_longitudinal — py -3.11 examples/poc_driving_longitudinal.py

• poc_driving_school — py -3.11 examples/poc_driving_school.py

类型可衔接的下一个算子(可接受 table 作为输入)

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

同类别(course)

course_crank · course_s_curve · course_turnaround · course_intersection · course_parallel_parking · course_crossing · course_road · course_loop_bend


*Provenance: drivecourse.py — DRIVE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.