As shown in Figure 1, there is a robot arm which has rotational joints at three points O, E and W, and a two-fingered hand at the end H on an X-Y two-dimensional plane. The position of the hand H is (hx,hy) and the orientation of the hand H is hθ, the joint angles are θ1,θ2 and θ3, and the lengths of the links are OE=l1,EW=l2 and WH=l3. Answer the following questions:
(1) Write equations for the coordinates (wx,wy) of the joint W in terms of the joint angles θ1 and θ2.
(2) As shown in Figure 2, θ(−π<θ≤π) is defined as the angle from the axis X to the line OP, where the point P has the coordinates (x,y). Describe the definition of the function atan(y,x) that calculates θ from (x,y) (where (x,y)=(0,0)) using tan−1(a)(−2π≤tan−1(a)≤2π).
(3) Describe the procedure which provides the joint angle θ1(−π<θ1≤π) and θ2(−π<θ2≤π) from the coordinates (wx,wy) of the joint W using atan(y,x). The procedure should take account of all the constraints on possible values of the joint angles θ1 and θ2.
(4) Write equations for the position (hx,hy) and the orientation hθ of the hand H in terms of the joint angles θ1,θ2 and θ3.
(5) Describe the procedure which provides the joint angles θ1(−π<θ1≤π),θ2(−π<θ2≤π) and θ3(−π<θ3≤π) from the position (hx,hy) and the orientation hθ(−π<hθ≤π) of the hand H.
(6) As shown in Figure 3, the hand is located at the point P and two objects are located at Q and R. Explain a method to generate the trajectory of the joint angles of the robot arm to grasp the object Q without colliding with the object R.