pegsym opscalar → tableimport 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、cut。
Raises ValueError: n < 3、apothem ≤ 0、cut < 0 か外接円と内接円の差以上(辺が消える)。
py -3.11 examples/poc_peg_symmetry_search.pytable を入力に取れる)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.