How can I display the position trajectory of the robot arm's end-effector in real time in simscape multibody?

1 view (last 30 days)
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.

Answers (0)

Categories

Find more on Simscape Multibody in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!