The Simulink model for simulating the torque control with joints position and velocity limits avoidance for controlling a simple two-link manipulator in MATLAB/Simscape.
- Open MATLAB
- Open main.mlx
- Set the system configuration parameters, including
- joints position and velocity limits,
- desired joints trajectory,
- coefficients of controller,
- Run the script