After finishing the blog "Control a Dynamixel Motor from Matlab", I'm going to make a project : Robot Arm, My plan is: 1. Modeling a Robot base on Denavit–Hartenberg parameters 2. Solve the kinematic and invert kinematic equation. 3. Simulate the kinematic and kinematic equation 4. Design the model on Solidwork and export the model to simulink model. 5. Trajectory design, test on real robot. 1.Modeling a Robot base on Denavit–Hartenberg parameters - I'm going to design a 4-DOF robot arm. - Now we will put the coordinator to each link base on Denavit–Hartenberg method. - Now we have the D-H table 2. Solve the kinematic and invert kinematic equation. 2.1 Kinematic equation. Transform matrix from coordinates(n) to coordinates(n+1) Transform matrix from coordinates(0) to coordinates (n). We will use roll-pitch-yaw ang...