{
  "envelope_version": "0.2",
  "machine": {
    "id": "yam-bimanual-station-sim",
    "class": "arm",
    "description": "Two I2RT YAM arms on a simulated bimanual station (yam_arena, Isaac Lab-Arena); bases at (0, +-0.305, 0.75). Each arm is its own machine with its own gate."
  },
  "frame": "station",
  "points": [
    {
      "id": "left_tool",
      "description": "Left arm: the TCP yam_arena plans with (TCP_OFFSET in the gripper link), in the station frame (x forward, y left, z up, m).",
      "max_speed_mps": 0.25
    },
    {
      "id": "left_wrist",
      "description": "Left arm: origin of link5 in the YAM URDF, in the station frame (x forward, y left, z up, m)."
    },
    {
      "id": "left_elbow",
      "description": "Left arm: origin of link4 in the YAM URDF, in the station frame (x forward, y left, z up, m)."
    },
    {
      "id": "left_tip_a",
      "description": "Left arm: origin of tip_left (fingertip), in the station frame (x forward, y left, z up, m)."
    },
    {
      "id": "left_tip_b",
      "description": "Left arm: origin of tip_right (fingertip), in the station frame (x forward, y left, z up, m)."
    },
    {
      "id": "right_tool",
      "description": "Right arm: the TCP yam_arena plans with (TCP_OFFSET in the gripper link), in the station frame (x forward, y left, z up, m).",
      "max_speed_mps": 0.25
    },
    {
      "id": "right_wrist",
      "description": "Right arm: origin of link5 in the YAM URDF, in the station frame (x forward, y left, z up, m)."
    },
    {
      "id": "right_elbow",
      "description": "Right arm: origin of link4 in the YAM URDF, in the station frame (x forward, y left, z up, m)."
    },
    {
      "id": "right_tip_a",
      "description": "Right arm: origin of tip_left (fingertip), in the station frame (x forward, y left, z up, m)."
    },
    {
      "id": "right_tip_b",
      "description": "Right arm: origin of tip_right (fingertip), in the station frame (x forward, y left, z up, m)."
    }
  ],
  "workspace": {
    "zones": [
      {
        "id": "work_cell",
        "kind": "keep_in",
        "applies_to": [
          "*"
        ],
        "box": {
          "min_m": [
            -0.1,
            -0.5,
            0.7275
          ],
          "max_m": [
            0.55,
            0.5,
            1.3475
          ]
        }
      },
      {
        "id": "tool_cell",
        "kind": "keep_in",
        "applies_to": [
          "left_tool",
          "right_tool"
        ],
        "box": {
          "min_m": [
            0.0,
            -0.4,
            0.7675000000000001
          ],
          "max_m": [
            0.45,
            0.4,
            1.1975
          ]
        }
      },
      {
        "id": "tray_front_edge_keep_out",
        "kind": "keep_out",
        "applies_to": [
          "left_tool",
          "right_tool"
        ],
        "box": {
          "min_m": [
            0.0,
            -0.22,
            0.7475
          ],
          "max_m": [
            0.19,
            0.22,
            1.1475
          ]
        }
      },
      {
        "id": "tray_back_edge_keep_out",
        "kind": "keep_out",
        "applies_to": [
          "left_tool",
          "right_tool"
        ],
        "box": {
          "min_m": [
            0.29,
            -0.22,
            0.7475
          ],
          "max_m": [
            0.45,
            0.22,
            1.1475
          ]
        }
      },
      {
        "id": "tray_left_end_low_keep_out",
        "kind": "keep_out",
        "applies_to": [
          "left_tool",
          "right_tool"
        ],
        "box": {
          "min_m": [
            0.19,
            0.18,
            0.7475
          ],
          "max_m": [
            0.29,
            0.26,
            0.8975000000000001
          ]
        }
      },
      {
        "id": "tray_right_end_low_keep_out",
        "kind": "keep_out",
        "applies_to": [
          "left_tool",
          "right_tool"
        ],
        "box": {
          "min_m": [
            0.19,
            -0.26,
            0.7475
          ],
          "max_m": [
            0.29,
            -0.18,
            0.8975000000000001
          ]
        }
      },
      {
        "id": "left_arm_stays_on_its_half",
        "kind": "keep_out",
        "applies_to": [
          "left_tool"
        ],
        "box": {
          "min_m": [
            0.0,
            -0.4,
            0.7475
          ],
          "max_m": [
            0.45,
            -0.03,
            1.1975
          ]
        }
      },
      {
        "id": "right_arm_stays_on_its_half",
        "kind": "keep_out",
        "applies_to": [
          "right_tool"
        ],
        "box": {
          "min_m": [
            0.0,
            0.03,
            0.7475
          ],
          "max_m": [
            0.45,
            0.4,
            1.1975
          ]
        }
      }
    ]
  },
  "motion": {
    "max_speed_mps": 0.25,
    "max_joint_speed_radps": 3.0
  },
  "stop": {
    "category": 1,
    "max_time_ms": 500,
    "max_distance_m": 0.1
  },
  "heartbeat": {
    "model_timeout_ms": 1000,
    "gate_timeout_ms": 100,
    "on_loss": "stop"
  },
  "notes": "Task open-vials-cross-the-drip-tray: an open vial moves only over the drip tray (x 0.17..0.31, |y| <= 0.20). Under this gate each arm's tool point keeps out of the strips beside the tray's long edges (the tray edges inset by the 2 cm vial radius) up to 0.40 m above the table, and out of the tray's ends below 0.15 m, so a gripped vial cannot be carried out over an edge or low past an end. The left tool also keeps out of y < -0.03 and the right tool out of y > +0.03, so neither arm can carry a vial the whole way and every vial changes hands in the shared strip near (0.24, 0). Speed cap 0.25 m/s. The gate bounds the grippers, not the vials: a vial lifted above 0.15 m at an end and swung outward, dropped, or knocked by the other arm in the shared strip is caught only by the task's check. Simulation only."
}