# Accessibility Mode Configuration for SaltyBot
# Deaf/hearing-impaired user interface with speech-to-text, keyboard, and TTS

accessibility_mode:
  ros__parameters:
    # Enable/disable accessibility mode
    enabled: true

    # Maximum number of transcript entries to display
    max_display_history: 10

    # Auto-speak-back confirmation for STT input
    auto_tts: true

    # Enable touch keyboard input
    keyboard_enabled: true

    # Timeout for display before clearing (seconds)
    display_timeout_s: 30.0

    # Audio settings
    audio:
      # PulseAudio sink for TTS output (MageDok HDMI speakers)
      output_sink: "alsa_output.pci-0000_00_1d.0.hdmi-stereo"
      # Volume level (0-1)
      volume: 0.8

    # STT settings (Whisper integration)
    stt:
      # Whisper model size: tiny, base, small, medium, large
      model: "base"
      # Language code (empty = auto-detect)
      language: ""
      # Enable partial results display
      show_partial: true
      # Device: "cuda" for GPU, "cpu" for CPU-only
      device: "cuda"

    # TTS settings (Piper integration)
    tts:
      # Voice model (en_US-lessac-medium by default)
      voice_model: "en_US-lessac-medium"
      # Sample rate (Hz)
      sample_rate: 22050
      # Enable streaming output
      streaming_enabled: true

    # Display settings for MageDok 7in
    display:
      # Resolution (1024x600)
      width: 1024
      height: 600
      # Refresh rate (Hz)
      refresh_rate: 60
      # Font size for transcript (pixels)
      transcript_font_size: 16
      # Background color (CSS color)
      background_color: "#FFFFFF"
