show command from robotics

조회 수: 2 (최근 30일)
Joo Lee
Joo Lee 2018년 10월 14일
답변: Sebastian Castro 2018년 11월 4일
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.

답변 (1개)

Sebastian Castro
Sebastian Castro 2018년 11월 4일
Yes -- you have to disable the PreservePlot property as follows:
show(robot,qWaypoints(k,:)','PreservePlot',false);
- Sebastian

카테고리

Help CenterFile Exchange에서 Robotics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by