Even if dr. Vasilescu has the equations the describe the dynamics of the robot, she cannot do anything directly with them. Help her design a controller for her robot, based on the dynamic process that she identified.
Consider the AL5D_mdw robot with known matrices D, C, G given in the code. Implement an Independent Joint Control with PD controllers and Gravity compensation.
1. Use step of amplitude 0.1 and interpret the plots.
2. Adapt the natural frequencies and observe their influence on the movement and position of the robot.
3. Add gravity compensation; interpret the plots.
4. Use a sine wave of amplitude 0.5 as input joint trajectories