pegsym opmatrix × scalar × scalar → tableimport fullseye as fs; fs.ledger.spiral_expected_tries(points, capture: 'float', rho: 'float', grid: 'int' = 161) -> 'dict' (実装を直接呼ぶなら import pegsym; pegsym.spiral_expected_tries(points, capture: 'float', rho: 'float', grid: 'int' = 161) -> 'dict'、台帳から引くなら opsdrive.get("spiral_expected_tries"))横ずれが半径 rho の円板に一様のとき、点列 points を順に試して初めて(距離 ≤ capture)捕まえるまでの期待試行回数。
measured = 円板内の格子(grid × grid、円の外は捨てる)の平均。closed = 掃いた面積の近似: k 点で面積 k·p·s を掃くので、半径 r に
達するのは k = πr²/(ps)、r が円板に一様なら E = πρ²/(2ps) + 1/2(p・s は点列から推定: s = 隣の点の距離の中央値、p = 外周の点の半径の
巻きあたりの増分)。どの点でも捕まらない格子点があれば uncovered > 0(覆いの穴)。
Raises ValueError: 点が (N ≥ 3, 2) でない、capture・rho ≤ 0、grid < 11。
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_peg · polygon_offset · polygon_fit_check · rotation_window · polygon_two_point_depth · polygon_coverage_image · plane_topview · polygon_yaw_read
Provenance: pegsym.py — DRIVE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.