show command from robotics
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi guys,
for k=1:numWaypoints
show(robot,qWaypoints(k,:)');
hold on
end
I am trying to visualize my robot as above. The waypoints are calculated with GeneralizedInverseKinematics(). The above show() command however does not show how the robot moves towards these waypoints. It is rather a picture with robots at those waypoints. Is there any other way how I can visualize that the robot actually moves towards these waypoints? Below, you can see how it looks right now.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197895/image.png)
0 Commenti
Risposte (1)
Sebastian Castro
il 4 Nov 2018
Yes -- you have to disable the PreservePlot property as follows:
show(robot,qWaypoints(k,:)','PreservePlot',false);
- Sebastian
0 Commenti
Vedere anche
Categorie
Scopri di più su Robotics in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!