fullseye

polygon_peg — DRIVE pegsym op

使い方

ペグの断面(反時計回りの頂点列): 正 n 角形(辺心距離 apothem [m]、面 0 の法線が yaw [rad])。cut > 0 なら頂点 0 (面 0 と面 1 の間)を、その頂点の向きを法線とする直線で外接円から cut [m] 内側で落とす —— キー付き(対称は n = 1)。 返り vertices(V, 2)、n(形の名目の n 回対称: キー付きは 1)、apothem、circumradius、yaw、cut。 Raises ValueError: n < 3、apothem ≤ 0、cut < 0 か外接円と内接円の差以上(辺が消える)。

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

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

型が繋がる次の op(table を入力に取れる)

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

同カテゴリ(pegsym)

polygon_offset · polygon_fit_check · rotation_window · polygon_two_point_depth · polygon_coverage_image · plane_topview · polygon_yaw_read · relative_yaw_from_images


Provenance: pegsym.py — DRIVE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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