diff --git a/bash/run_gripper.sh b/bash/run_gripper.sh index 16f8d11..edcf620 100644 --- a/bash/run_gripper.sh +++ b/bash/run_gripper.sh @@ -83,8 +83,8 @@ detect_cameras() { # 更新 gripper.json 中的 video 路径 # ============================================ update_config() { - local cam_left_idx="$1" - local cam_right_idx="$2" + local cam_right_idx="$1" + local cam_left_idx="$2" local config_file="$GRIPPER_CONFIG" # 检查 jq 是否安装