二連桿正運動學計算器

x = L₁cosθ₁ + L₂cos(θ₁+θ₂)

Input two joint angles and link lengths, compute end-effector (x, y) coordinates using forward-kinematics formula for robotic-arm pose resolution.

📐 計算公式
x=L₁cosθ₁+L₂cos(θ₁+θ₂)

由關節角求末端執行器座標。

📌 計算說明
  • x = L₁cosθ₁ + L₂cos(θ₁+θ₂)。
  • θ₁=30°、θ₂=45°、L=1 → 約 (1.297, 1.207)。

📚 深度解析:二連桿正運動學

💡 常見使用場景

θ1=30°、θ2=45°、臂各 1m
x=cos30+cos75=0.866+0.259=1.125m;y=sin30+sin75=0.5+0.966=1.466m。
全伸展
θ1=θ2=0 → 末端 (2,0),恰為 r_max。

❓ 常見問題(FAQ)

θ2 是相對角?
是第二連桿相對第一連桿的夾角,絕對角=θ1+θ2。
有唯一解嗎?
正運動學單值;逆運動學可能多解或不可達。