diff --git a/@SerialLink/SerialLink.m b/@SerialLink/SerialLink.m index 3fb4227c..1d956c9f 100644 --- a/@SerialLink/SerialLink.m +++ b/@SerialLink/SerialLink.m @@ -535,7 +535,7 @@ function display(r) function set.tool(r, v) if isempty(v) - r.base = eye(4,4); + r.tool = eye(4,4); elseif ~ishomog(v) error('tool must be a homogeneous transform'); else