Hi Nayla - there are two changes you should make to your model to make it work. I have have made the changes and attached it here.
- The joint angle inputs should only be provided as a single input signal, not three values. If you provide three values, they must be exactly consistent position, velocity, and acceleration. I have changed the model so that only the position is provided, velocity and acceleration are calculated.
- Change to a variable step solver.
This is an example of the area that needs to be changed.
Here is an animation of your robot walking.