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)
Show older comments
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 Comments
Yifeng Tang
on 3 Jul 2024
this may be helpful, although it doesn't do exactly what you envisioned. Not sure if there is any new functionality on this front yet.
Answers (0)
See Also
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!