v1.1.5; Add friction margin

This commit is contained in:
wty-yy
2026-03-23 21:13:41 +08:00
parent fe35afea22
commit f713f70561
13 changed files with 172 additions and 9 deletions

View File

@@ -16,6 +16,7 @@ QUALITY_WEIGHTS = { # Weights for geometric average, to calculate quality scor
'dof_power': 1,
'orientation_stability': 1,
'torque_smoothness': 1,
'friction_margin': 1,
'zmp_margin': 1,
}
@@ -83,6 +84,10 @@ class BaseGaugeConfig(Config):
enabled = True
scaling_factor = 30.0 # [Nm] scaling factor for torque smoothness metric
class friction_margin:
enabled = True
force_threshold = 5.0 # [N] skip feet with too small accumulated normal force
class zmp_margin:
enabled = True
contact_threshold = 1e-3 # [m] contact.dist <= threshold is treated as support contact