contact_state_predict — DRIVE 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.