Does anyone know how to display my robot end-effector trajectory in simmechanic 2nd gen Mechanical explorer window ?

6 views (last 30 days)
hello i made a 3-dof manipulator in simmechanic 2nd generation when my manipulator is moving i want to display end-effector trajectory in Mechanical explorer is there any way to do this?
thanks

Answers (1)

Sebastian Castro
Sebastian Castro on 11 Mar 2015
Unfortunately, you can't display trajectories directly on the Mechanics Explorer window. This is something that I'm sure our developers are aware of.
Some alternatives I can think of are:
  • Plot the data in a Simulink scope, MATLAB figure, etc.
  • Save the SimMechanics animation as a video, save the simulation data, read the video in MATLAB and draw the trajectory on each frame of the imported video.
One is a bit harder (and may require a little more geometry) than the other ;)
- Sebastian

Categories

Find more on Multibody Modeling 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!