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

2 visualizaciones (últimos 30 días)
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 comentarios
Kohei
Kohei el 4 de Jul. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simscape Multibody en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by