foot_slip_metrics — DRIVE locomotion op

• 資料種類:any × mask × points → table

• 呼叫: import fullseye as fs; fs.ledger.foot_slip_metrics(foot_xyz, stance, body_xyz, max_slip: 'float' = 0.02, min_advance_ratio: 'float' = 0.5) -> 'dict'(要直接呼叫實作,import locomotion; locomotion.foot_slip_metrics(foot_xyz, stance, body_xyz, max_slip: 'float' = 0.02, min_advance_ratio: 'float' = 0.5) -> 'dict';從台帳取用則 opsdrive.get("foot_slip_metrics"))

• GPU:無(僅 CPU 參考實作)

用法

支撐相中足部的水平滑移、由足測得的前進量,以及「只有軀幹前進」的閘門。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

立脚中の足の水平の滑りと、足で測った前進。

• 滑り: 立脚の区間(stance が続けて True のコマ)ごとに、足の水平位置が区間の最初の位置から離れた最大の距離 [m] (slip)。全区間の最大が max_slip_observed。

• 足で測る前進: 足ごとに、続く 2 つの立脚の区間の最初の位置の差を進行方向に射影して足し、足の平均を取る(foot_advance [m])。足を置き直さない限り増えない。

• 胴の前進: body_xyz の最初と最後の水平の差の大きさ(body_advance)。進行方向はその向き(胴が動かなければ足の平均の向き、それも無ければ +x)。

• 門 walking_ok: max_slip_observed ≤ max_slip かつ foot_advance ≥ min_advance_ratio × body_advance。胴だけが進み、足が置き直されない(滑っている・引きずられている・足が地面に描かれているだけ)見せかけの歩行を落とす。advance_ratio = foot_advance / body_advance(胴が動かなければ None)。

foot_xyz (T, F, 3) [m]、stance (T, F) bool(gait_phase の stance)、body_xyz (T, 3) [m]。空の入力(foot_xyz が 0 要素)は ValueError で拒否する。

English: per stance interval the slip is the largest horizontal excursion of the foot from where it touched down; progression measured by the feet is the sum of stance-to-stance displacements along the direction of travel. walking_ok fails a scene in which only the body advances.

參考(範例資料、文獻)

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

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

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

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

• walking_ops_tour — py -3.11 examples/walking_ops_tour.py

型別可銜接的下一個運算子(可接受 table 作為輸入)

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

同類別(locomotion)

contact_points · com_from_silhouette · support_polygon · com_support_margin · gait_phase · support_line_margin · lipm_capture_point · capture_margin


*Provenance: locomotion.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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