capture_margin — DRIVE locomotion op

• 数据种类:vector × vector × scalar × points → measurement

• 调用: import fullseye as fs; fs.ledger.capture_margin(com, com_vel, com_height, contacts, gravity: 'float' = 9.81, ground=None, contact_tol: 'float' = 0.02) -> 'float'(要直接调用实现,import locomotion; locomotion.capture_margin(com, com_vel, com_height, contacts, gravity: 'float' = 9.81, ground=None, contact_tol: 'float' = 0.02) -> 'float';从台账取用则 opsdrive.get("capture_margin"))

• GPU:无(仅 CPU 参考实现)

用法

LIPM 捕获点到支撑集合的有符号距离(0 步可捕获性)。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

捕捉点 ξ(lipm_capture_point)の、支持の形(support_line_margin と同じ規則) までの符号つき余裕。正 = ξ が支持多角形の内側で、踏み出さずに止まれる(足圧中心を ξ に置ける。Koolen ほか 2012 の 0 歩捕捉可能)。負 = どこに足圧中心を置いても重心は止まらない

ので、踏み出すか倒れる。静的な com_support_margin は速度を見ないので、前へ走っている重心を「安定」と読む ―― この op はそれを負にする。

com / com_vel は 1 時刻の (3,) か (2,)。com_height [m] は正の有限値。足が 1 つも無いときは ValueError。空の入力(com が 0 要素)も ValueError で拒否する。

English: positive = the capture point lies inside the support polygon, so the robot can stop without stepping (0-step capturable); negative = it must step. Segment / single-foot support follows support_line_margin (never positive).

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

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

可运行的示例(实际调用该算子并已验证的样例)

• walking_ops_tour — py -3.11 examples/walking_ops_tour.py

类型可衔接的下一个算子(可接受 measurement 作为输入)

spin_from_marker_sequence · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain · osm_parse

同类别(locomotion)

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


*Provenance: locomotion.py — DRIVE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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