v1.1.5; Add friction margin
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user