Computes endpoint position using forward kinematics
Returns (x, y) position of end-effector
Constraints
2D arm with two joints (DOF=2)
Link lengths fixed: [L1, L2]
Actions affect joint angles
Dense reward based on distance to target
Hints
Hint 1: Forward kinematics
x = L1*cos(θ1) + L2*cos(θ1+θ2), similar for y
Hint 2: Inverse problem
Goal: find θ1, θ2 given target (x,y)
Hint 3: Action scaling
Torques should be integrated to update joint angles
Keywords
rlroboticscontinuous-controlinverse-kinematics
Python
Run your code to see results
No results yet
Run your code to check it against the examples, or submit to run every test.