{
  "$schema": "../catalyst-tab-bundle.schema.json",
  "catalystVersion": "1.7.0",
  "mechanism": "ClawMechanism",
  "description": "Claw / gripper state, piece-detection, and current dashboard.",
  "placeholders": {
    "MECH": "Replace with the ClawMechanism name (e.g. Claw, Gripper)."
  },
  "tabs": [
    {
      "title": "{MECH} — State",
      "type": "Console",
      "fields": [
        { "key": "/Catalyst/{MECH}/GripState" },
        { "key": "/Catalyst/{MECH}/HasPiece" }
      ]
    },
    {
      "title": "{MECH} — Detection",
      "type": "LineGraph",
      "axes": {
        "left": {
          "unit": "boolean",
          "fields": [
            { "key": "/Catalyst/{MECH}/HasPiece", "color": "#4ade80" }
          ]
        },
        "right": {
          "unit": "amps",
          "fields": [
            { "key": "/Catalyst/{MECH}/CurrentAmps", "color": "#f59e0b" }
          ]
        }
      }
    }
  ]
}
