# -*- coding: utf-8 -*-
'''
@File    : go2_slope_task.py
@Time    : 2025/12/21 17:06:27
@Author  : wty-yy
@Version : 1.0
@Blog    : https://wty-yy.github.io/
@Desc    : Go2 Slope Task Configuration
'''
from robogauge.tasks.gauge import SlopeForwardGaugeConfig, SlopeBackwardGaugeConfig
from robogauge.tasks.simulator.mujoco_config import MujocoConfig

class Go2SlopeForwardGaugeConfig(SlopeForwardGaugeConfig):
    class metrics(SlopeForwardGaugeConfig.metrics):
        class dof_limits(SlopeForwardGaugeConfig.metrics.dof_limits):
            enabled = True
            soft_dof_limit_ratio = 0.4
            dof_names = ['hip', 'thigh']  # List of DOF names to monitor, None for all

class Go2SlopeBackwardGaugeConfig(SlopeBackwardGaugeConfig):
    class metrics(SlopeBackwardGaugeConfig.metrics):
        class dof_limits(SlopeBackwardGaugeConfig.metrics.dof_limits):
            enabled = True
            soft_dof_limit_ratio = 0.4
            dof_names = ['hip', 'thigh']  # List of DOF names to monitor, None for all
