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

5 Ansichten (letzte 30 Tage)
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.
  2 Kommentare
Kohei
Kohei am 4 Jul. 2024
Thank you for your response, Yifeng!
I see that the only way is to re-display the orbit data obtained once for the second time.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simscape Multibody finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by