polygon_peg — DRIVE pegsym op

• 資料種類:scalar → table

• 呼叫: import fullseye as fs; fs.ledger.polygon_peg(n: 'int', apothem: 'float' = 0.005, yaw: 'float' = 0.0, cut: 'float' = 0.0, centre=(0.0, 0.0)) -> 'dict'(要直接呼叫實作,import pegsym; pegsym.polygon_peg(n: 'int', apothem: 'float' = 0.005, yaw: 'float' = 0.0, cut: 'float' = 0.0, centre=(0.0, 0.0)) -> 'dict';從台帳取用則 opsdrive.get("polygon_peg"))

用法

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

ペグの断面(反時計回りの頂点列): 正 n 角形(辺心距離 `apothem [m]、面 0 の法線が yaw [rad])。cut` > 0 なら頂点 0

(面 0 と面 1 の間)を、その頂点の向きを法線とする直線で外接円から `cut` [m] 内側で落とす —— キー付き(対称は n = 1)。

返り `vertices(V, 2)、n(形の名目の n 回対称: キー付きは 1)、apothem、circumradius、yaw`。

Raises ValueError: n < 3、apothem ≤ 0、cut < 0 か外接円と内接円の差以上(辺が消える)。

參考(範例資料・文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

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

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• poc_peg_symmetry_search — py -3.11 examples/poc_peg_symmetry_search.py

型別可銜接的下一個運算子(可接受 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 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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