{
 "原理:正向運動學就是旋轉與向量相加#1": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   0,
   3
  ],
  "nodes": [
   {
    "label": "往東北走",
    "sub": "12 公尺"
   },
   {
    "label": "轉向正東走",
    "sub": "10 公尺"
   },
   {
    "label": "終點",
    "sub": "出發點加位移總和",
    "kind": "end"
   }
  ]
 },
 "原理:正向運動學就是旋轉與向量相加#2": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   0,
   1,
   2,
   3,
   4
  ],
  "nodes": [
   {
    "label": "連桿位移",
    "sub": "L cos φ、L sin φ"
   },
   {
    "label": "單位圓",
    "sub": "cos θ、sin θ"
   },
   {
    "label": "角度累加",
    "sub": "θ1 + θ2"
   },
   {
    "label": "向量相加",
    "sub": "首尾相接",
    "kind": "end"
   }
  ]
 },
 "原理:正向運動學就是旋轉與向量相加#4": {
  "type": "table",
  "head": [
   "單位向量轉 60°",
   "數值"
  ],
  "widths": [
   3,
   2
  ],
  "reveal": [
   0,
   2
  ],
  "rows": [
   [
    "水平分量 cos 60°",
    "0.5"
   ],
   [
    "垂直分量 sin 60°",
    "約 0.866"
   ]
  ]
 },
 "原理:正向運動學就是旋轉與向量相加#6": {
  "type": "table",
  "head": [
   "向量",
   "x",
   "y"
  ],
  "widths": [
   3,
   2,
   2
  ],
  "reveal": [
   0,
   0,
   3
  ],
  "rows": [
   [
    "第一節",
    "6.00",
    "10.39"
   ],
   [
    "第二節",
    "8.66",
    "5.00"
   ],
   [
    "相加",
    "14.66",
    "15.39"
   ]
  ]
 },
 "平面連桿的正向運動學推導#1": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   0,
   3,
   3
  ],
  "nodes": [
   {
    "label": "關節角度",
    "sub": "加連桿長度"
   },
   {
    "label": "正運動學",
    "sub": "Forward Kinematics"
   },
   {
    "label": "末端位置",
    "sub": "夾爪在哪裡",
    "kind": "end"
   }
  ]
 },
 "平面連桿的正向運動學推導#3": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   0,
   1,
   3,
   4,
   4
  ],
  "nodes": [
   {
    "label": "肘座標",
    "sub": "L1 cos θ1、L1 sin θ1"
   },
   {
    "label": "第二節方向",
    "sub": "θ1 + θ2"
   },
   {
    "label": "第二節位移",
    "sub": "L2 cos、sin(θ1 + θ2)"
   },
   {
    "label": "末端位置",
    "sub": "兩段相加",
    "kind": "end"
   }
  ]
 },
 "平面連桿的正向運動學推導#4": {
  "type": "table",
  "head": [
   "項目",
   "公式"
  ],
  "widths": [
   2,
   5
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   4
  ],
  "rows": [
   [
    "肘的座標",
    "(L1 cos θ1, L1 sin θ1)"
   ],
   [
    "第二節位移",
    "(L2 cos(θ1+θ2), L2 sin(θ1+θ2))"
   ],
   [
    "x",
    "L1 cos θ1 + L2 cos(θ1+θ2)"
   ],
   [
    "y",
    "L1 sin θ1 + L2 sin(θ1+θ2)"
   ]
  ]
 },
 "平面連桿的正向運動學推導#5": {
  "type": "waterfall",
  "unit": "",
  "reveal": [
   0,
   0,
   3,
   3
  ],
  "items": [
   {
    "label": "第一節 x",
    "value": 6
   },
   {
    "label": "第二節 x",
    "value": 8.66
   },
   {
    "label": "末端 x",
    "value": 14.66,
    "kind": "total"
   }
  ]
 },
 "平面連桿的正向運動學推導#6": {
  "type": "table",
  "head": [
   "步驟",
   "算式"
  ],
  "widths": [
   2,
   5
  ],
  "reveal": [
   0,
   1,
   2,
   3
  ],
  "rows": [
   [
    "θ1 + θ2",
    "60° − 30° = 30°"
   ],
   [
    "x",
    "12 × 0.5 + 10 × 0.866 = 14.66"
   ],
   [
    "y",
    "12 × 0.866 + 10 × 0.5 = 15.39"
   ]
  ]
 },
 "座標系、底座旋轉與 DH 概念簡化#1": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   0,
   0,
   1,
   3
  ],
  "nodes": [
   {
    "label": "垂直平面 FK",
    "sub": "得到 r 與 h"
   },
   {
    "label": "底座角度 φ",
    "sub": "把 r 轉到桌面"
   },
   {
    "label": "桌面座標",
    "sub": "x、y、z",
    "kind": "end"
   }
  ]
 },
 "座標系、底座旋轉與 DH 概念簡化#2": {
  "type": "table",
  "head": [
   "座標",
   "公式"
  ],
  "widths": [
   1,
   3
  ],
  "reveal": [
   0,
   1,
   2,
   3,
   3
  ],
  "rows": [
   [
    "x",
    "r cos φ"
   ],
   [
    "y",
    "r sin φ"
   ],
   [
    "z",
    "h"
   ]
  ]
 },
 "座標系、底座旋轉與 DH 概念簡化#3": {
  "type": "table",
  "head": [
   "座標",
   "算式",
   "結果"
  ],
  "widths": [
   1,
   3,
   2
  ],
  "reveal": [
   0,
   2,
   3
  ],
  "rows": [
   [
    "x",
    "15 × cos 40° = 15 × 0.766",
    "約 11.49 cm"
   ],
   [
    "y",
    "15 × sin 40° = 15 × 0.6428",
    "約 9.64 cm"
   ],
   [
    "z",
    "h",
    "8 cm"
   ]
  ]
 },
 "座標系、底座旋轉與 DH 概念簡化#5": {
  "type": "cards",
  "reveal": [
   0,
   1,
   2,
   3
  ],
  "cards": [
   {
    "title": "底座座標系",
    "points": [
     "原點在底座中心桌面",
     "x 向前、y 向左、z 向上"
    ]
   },
   {
    "title": "關節座標系",
    "points": [
     "每個關節各有一個",
     "跟著連桿一起轉動"
    ]
   },
   {
    "title": "相機座標系",
    "points": [
     "畫面上的像素位置",
     "第八章換成桌面座標"
    ]
   }
  ]
 },
 "座標系、底座旋轉與 DH 概念簡化#6": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   0,
   1,
   2,
   2,
   3
  ],
  "nodes": [
   {
    "label": "每節 3×3 矩陣",
    "sub": "旋轉 + 平移"
   },
   {
    "label": "依序連乘",
    "sub": "一節接一節"
   },
   {
    "label": "取最右欄",
    "sub": "末端 14.66、15.39",
    "kind": "end"
   }
  ]
 },
 "對應模擬器:arm 的座標與角度約定#1": {
  "type": "table",
  "head": [
   "編號",
   "關節",
   "範圍"
  ],
  "widths": [
   1,
   2,
   3
  ],
  "reveal": [
   0,
   0,
   3
  ],
  "rows": [
   [
    "0",
    "底座旋轉",
    "−90° 到 90°"
   ],
   [
    "1",
    "肩",
    "0° 到 180°"
   ],
   [
    "2",
    "肘",
    "0° 到 150°"
   ]
  ]
 },
 "對應模擬器:arm 的座標與角度約定#3": {
  "type": "cards",
  "reveal": [
   0,
   1,
   2,
   2
  ],
  "cards": [
   {
    "title": "實體手臂",
    "points": [
     "底座旋轉在俯視平面",
     "其餘關節在垂直平面",
     "需要 φ、r、h 三步"
    ]
   },
   {
    "title": "模擬器",
    "points": [
     "側視平面二連桿",
     "加底座旋轉角 yaw",
     "函式回傳 r 與 h"
    ],
    "value": "夾爪簡化成末端點"
   }
  ]
 },
 "對應模擬器:arm 的座標與角度約定#5": {
  "type": "table",
  "head": [
   "a1",
   "a2",
   "末端 (x, y)",
   "說明"
  ],
  "widths": [
   1,
   1,
   2,
   3
  ],
  "reveal": [
   0,
   0,
   0,
   1,
   2,
   5
  ],
  "rows": [
   [
    "60°",
    "30°",
    "(27.32, 39.32)",
    "肘 (10.00, 29.32)"
   ],
   [
    "90°",
    "0°",
    "(0, 52)",
    "直直向上"
   ],
   [
    "90°",
    "90°",
    "(20, 32)",
    "模擬器初始姿勢"
   ],
   [
    "0°",
    "0°",
    "(40, 12)",
    "水平伸到最遠"
   ],
   [
    "45°",
    "45°",
    "(34.14, 26.14)",
    ""
   ]
  ]
 },
 "對應模擬器:arm 的座標與角度約定#6": {
  "type": "table",
  "head": [
   "位置",
   "公式"
  ],
  "widths": [
   2,
   5
  ],
  "reveal": [
   0,
   2,
   3,
   4
  ],
  "rows": [
   [
    "肘 x",
    "20 cos a1"
   ],
   [
    "肘 y",
    "12 + 20 sin a1"
   ],
   [
    "末端 x",
    "20 cos a1 + 20 cos(a1 − a2)"
   ],
   [
    "末端 y",
    "12 + 20 sin a1 + 20 sin(a1 − a2)"
   ]
  ]
 },
 "對應模擬器:arm 的座標與角度約定#7": {
  "type": "flow",
  "layout": "row",
  "reveal": [
   1,
   2,
   3,
   4
  ],
  "nodes": [
   {
    "label": "a1 = 60°",
    "sub": "a2 = 30°"
   },
   {
    "label": "肘的位置",
    "sub": "(10, 29.32)"
   },
   {
    "label": "前臂角度",
    "sub": "60° − 30° = 30°"
   },
   {
    "label": "末端位置",
    "sub": "(27.32, 39.32)",
    "kind": "end"
   }
  ]
 }
}