pegsim op• 資料種類:table → table
• 呼叫: import fullseye as fs; fs.ledger.contact_state_predict(kp, tip_xyz, axis, tol: 'float' = 6e-05) -> 'dict'(要直接呼叫實作,import pegsim; pegsim.contact_state_predict(kp, tip_xyz, axis, tol: 'float' = 6e-05) -> 'dict';從台帳取用則 opsdrive.get("contact_state_predict"))
> 該運算子的說明尚無譯文,以下照原文給出。
真のペグ姿勢(先端中心と軸の向き)から、接触点の数と場所を幾何だけで予測する(接触計算と独立な第 2 実装)。
先端の縁の円(半径 r、水平投影は e₁ 方向 r・傾き方向 r cos θ の楕円)が穴の最狭部の円 R(面取り帯では高さに応じた円錐の半径)に
届けば「tip」、胴の最狭部(z = −W)での水平断面(半径 r と r/cos θ の楕円)が R に届けば「mouth」。胴が面取りの円錐に触れる
場所は tan θ < 1 なら必ず最狭部の縁になる(円錐の半径は高さに 1 で増え、断面の中心は tan θ でしか動かない)。
返り: `n(0/1/2)、where("none" / "chamfer" / "tip" / "mouth" / "tip+mouth")、depth`(口の面からの先端深さ、
負なら空中)、`depth_below_chamfer、tilt [rad]。tol` は「届いた」とみなす半径方向の余裕。
Raises `ValueError`: axis がゼロ、tip_xyz の形が (3,) でない。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者・年份)與用途見上面的族使用指南。
• poc_pegsim_insertion — py -3.11 examples/poc_pegsim_insertion.py
table 作為輸入)course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same
pegsim)peg_params · whitney_clearance · two_point_depth · wedging_check · jamming_diagram · chamfer_capture · circle_fit_known_radius · cylinder_fit_known_radius
*Provenance: pegsim.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.