We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb08987 commit f4367e9Copy full SHA for f4367e9
@SerialLink/ikine_sym.m
@@ -66,7 +66,7 @@
66
%
67
% http://www.petercorke.com
68
69
-function out = ikine_sym(srobot, N, varargin)
+function out = ikine_sym(robot, N, varargin)
70
71
72
% Given a robot model the following steps are performed:
@@ -85,7 +85,8 @@
85
opt = tb_optparse(opt, varargin);
86
87
% make a symbolic representation of the passed robot
88
- srobot = sym(srobot);
+ srobot = SerialLink(robot); % make a deep copy
89
+ srobot = sym(srobot); % convert to symbolic
90
q = srobot.gencoords();
91
92
% test N DOF has an allowable value
0 commit comments