course_layout — DRIVE course op

• 資料種類:table × table → table

• 呼叫: import fullseye as fs; fs.ledger.course_layout(elements, placements)(要直接呼叫實作,import drivecourse; drivecourse.course_layout(elements, placements);從台帳取用則 opsdrive.get("course_layout"))

用法

> 該運算子的說明尚無譯文,以下照原文給出。

複数の要素を剛体運動 `(x, y, yaw)` で配置して 1 つの dict にする。

各要素の polygon / centerline / rails / stop_lines は点として、entry / exit / signal_poses は姿勢として

(yaw も回す)変換する。`profile`(坂道の (s, z))は要素の局所弧長なのでそのまま。返り値は

``{"kind": "layout", "elements": [変換済み要素(各々 "placement" を持つ)], "polygon": None,

"bounds": (xmin, xmax, ymin, ymax), "placements": [...]}`。内外判定は要素の和(course_contains` /

`course_occupancy`)。要素の重なりは和として扱う。

Raises `ValueError`: 要素が空・要素と配置の数が違う・要素が dict でない・配置が 3 要素で有限でない。

參考(範例資料・文獻)

• 範例資料目錄(下載 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

• poc_driving_weather — py -3.11 examples/poc_driving_weather.py

• poc_ttc_rss — py -3.11 examples/poc_ttc_rss.py

• poc_world_terrain — py -3.11 examples/poc_world_terrain.py

型別可銜接的下一個運算子(可接受 table 作為輸入)

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

同類別(course)

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


*Provenance: drivecourse.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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