class Config:
    # ===== Камера =====
    CAMERA_ID = 0 # только для 'web'
    CAMERA_TYPE = 'web' # 'web' или 'oak'
    MIRROR_CAMERA = False
    
    # ===== Скелет =====
    POSE_DETECTOR = 'mediapipe'  # 'oak' или 'mediapipe'
    OAK_MODEL_TYPE = 'efficienthrnet1'
    OAK_DETECTION_THRESHOLD = 0.1 
    OAK_SHAVES = 6
    
    # ===== Преобразование позы в скорости =====
    ARM_CONTROL = {
        'linear_arm': 'right',
        'angular_arm': 'left',
        'max_speed_linear': 1.0,
        'max_speed_angular': 1.0,
        'dead_zone': 0.2,
        'debug': False
    }
    
    # ===== Статические жесты (dome, cross) =====
    SPECIAL_GESTURE_MODE = 'geometric' # 'ml' или 'geometric'
    ML_GESTURE_MODEL = '/home/gestures6/Easy_sim/dummy_simulation/models/rf/special_gestures_rf.pkl'
    ML_GESTURE_CLASSES = ['dome', 'cross', 'none']
    
    
    # ===== Динамические жесты =====
    DYNAMIC_GESTURE = {
        'enabled': False,
        'model_path': '/home/gestures6/Easy_sim/dummy_simulation/models/lstm/dynamic_model.h5',
        'classes_path': '/home/gestures6/Easy_sim/dummy_simulation/models/lstm/dynamic_model_classes.pkl',
        'window_size': 14,
        'threshold': 0.8
    }
    
    # ===== Симулятор робота =====
    MAP_WIDTH = 800
    MAP_HEIGHT = 600
    BORDER_THICKNESS = 10
    MAP_OBSTACLES = [
        (200, 150, 100, 200),
        (500, 300, 150, 50),
    ]
    START_POS = (100, 100)
    FINISH_POS = (700, 500)
    ROBOT_RADIUS = 20
    ROBOT_IMAGE_PATH = 'robot.png' # или None
    
    INITIAL_HP = 100
    INITIAL_FIRE_CHARGE = 4
    COLLISION_DAMAGE = 10

    # Конус перед роботом
    EXTINGUISH_RADIUS = 80
    EXTINGUISH_ANGLE = 60

    NUM_FIRES = 4
    FIRE_RADIUS = 15
    SCORE_PER_FIRE = 10

    ROBOT_MODE = 'simulator' # 'simulator' или 'debug'
