Trail option in plot in SerialLink.plot

700 views
Skip to first unread message

sath...@iiitd.ac.in

unread,
Sep 24, 2014, 3:23:18 PM9/24/14
to robotics...@googlegroups.com
Hello Peter, 

I would like to draw a line recording the tip path while using plot function. I have found an option called "trail" (http://www.petercorke.com/RTB/r9/html/SerialLink.html) for plotting. But, I could not find this option while using the plot function in toolbox.  Kindly comment.

Thanks and regards,
Sathish

Peter Corke

unread,
Oct 9, 2014, 7:58:51 AM10/9/14
to robotics...@googlegroups.com
The option is there, but it doesn't work as advertised.  It's on the fix list.

peter

Peter Corke

unread,
Oct 12, 2014, 1:39:46 AM10/12/14
to robotics...@googlegroups.com
Many plot options are only parsed if the plot is generated from scratch, that is, there is no existing plot of that robot.  So if you clear all such figures then the trail option does work

p560.plot(q, 'trail', 'ro')

does indeed plot a trail of red circles along the path.

peter

On Thursday, 25 September 2014 05:23:18 UTC+10, sath...@iiitd.ac.in wrote:

jsto...@gmail.com

unread,
Nov 7, 2018, 9:11:39 AM11/7/18
to Robotics & Machine Vision Toolboxes
Peter,

It is necessary to include into TB documentation.

Regards.

Peter Corke

unread,
Nov 10, 2018, 5:25:58 PM11/10/18
to Robotics & Machine Vision Toolboxes
It is in the documentation, it's the first of the notes at the end.  I admit it is a very long documentation page.
Reply all
Reply to author
Forward
0 new messages