unilab.tasks.locomotion.common.gait_terms.self_collision_cost¶
- class unilab.tasks.locomotion.common.gait_terms.self_collision_cost[source]¶
Bases:
_FootContactTermCount monitored self-collision geom pairs reporting contact.
Mirrors mjlab
self_collision_costin its found-count form: each sensor group binds one contact sensor watching a geom pair, and the cost is the number of pairs with an active contact. mjlab’sforce_thresholdonly applies when the sensor records force history, which the upstream config does not enable, so it is not ported.- Parameters:
cfg (
ManagerTermBaseCfg)env (
ManagerBasedRlEnv)
Methods
Attributes
- __init__(cfg, env)¶
- Parameters:
cfg (
ManagerTermBaseCfg)env (
ManagerBasedRlEnv)