fullseye

course_layout — DRIVE course op

使い方

複数の要素を剛体運動 (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 要素で有限でない。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(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 operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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