How can I display the position trajectory of the robot arm’s end-effector in real time in simscape multibody?
I am using simscape multibody to simulate a 2DOF arm as shown in the figure.
I would like to display the position trajectory of the robot arm’s end-effector in real-time, but I don’t know how to do it.
In my own original way, I tried to calculate the forward kinematics in the lower right corner of the figure, calculate the position of the end-effector in orthogonal space (and save it to workspace), and then calculate the input data for the "Spline trajectory", but this does not seem to work.
If anyone knows of a better and more brilliant way, please let me know! Thank you in advance.I am using simscape multibody to simulate a 2DOF arm as shown in the figure.
I would like to display the position trajectory of the robot arm’s end-effector in real-time, but I don’t know how to do it.
In my own original way, I tried to calculate the forward kinematics in the lower right corner of the figure, calculate the position of the end-effector in orthogonal space (and save it to workspace), and then calculate the input data for the "Spline trajectory", but this does not seem to work.
If anyone knows of a better and more brilliant way, please let me know! Thank you in advance. I am using simscape multibody to simulate a 2DOF arm as shown in the figure.
I would like to display the position trajectory of the robot arm’s end-effector in real-time, but I don’t know how to do it.
In my own original way, I tried to calculate the forward kinematics in the lower right corner of the figure, calculate the position of the end-effector in orthogonal space (and save it to workspace), and then calculate the input data for the "Spline trajectory", but this does not seem to work.
If anyone knows of a better and more brilliant way, please let me know! Thank you in advance. simscape, simulink MATLAB Answers — New Questions