Hello there.
I am new to simulink and simscape and I am trying to model a planar 2 DoF robot arm in simulink.
I have a picture of a simple shape and turned them into waypoints and these waypoints are used to produce polynomical trajectory.
I then turn these coodinates of trajectory into joint angles of the robot arm using inverse kinematics and use inverse dynamics from robortics toolbox to calculate torque.
But when I apply these torque into my simscape model, I am getting a error saying there might a singurality. How do I fix this error?
I have attached my simulink file with relevant script.