Code Won't Animate in 2-D Path Tracing With Inverse Kinematics

I am looking at the following example:
The code after this line doesn't animate. I just see an image of the previos figure's rendering. How do I get it to animate?
Set up a rateControl object to display the robot trajectory at a fixed rate of 15 frames per second. Show the robot in each configuration from the inverse kinematic solver. Watch as the arm traces the circular trajectory shown. -------> THIS DIESN'T HAPPEN; NOTHING IS DISPLAYED.
I ran the script file, and only the first image on the page is displayed.

 Respuesta aceptada

Did you try opening the example file itself?
openExample('robotics/TwoDInverseKinematicsExampleExample')

8 comentarios

Yes, I ran this: openExample('robotics/TwoDInverseKinematicsExampleExample')
To clarify, i did run exactly that, but it doesn't work (the animation or the second show command).
What version of MATLAB are you using?
I am using the online version. this is the URL: Matlab Online 2020b
And this is what I am trying to run: /MATLAB Drive/Examples/R2020b/robotics/TwoDInverseKinematicsExampleExample
I see the same thing in MATLAB Online. I think the animation is running, but it's not able to display it in the figure window until it finishes. I don't know the exact reason why, but show is part of the Robotics System Toolbox, which is not yet supported in MATLAB Online. See here for a list of limitations.
Ok, thanks for letting me know. Can you please tell me how I can install the Robot System Tollbox package to my desktop version?
Cris LaPierre
Cris LaPierre el 23 de En. de 2021
Editada: Cris LaPierre el 29 de En. de 2021
It suddenly seems to be working online now.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Robotics System Toolbox en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Preguntada:

N
N
el 22 de En. de 2021

Editada:

el 29 de En. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by