robotics system toolbox ... Undefined function or variable

13 vues (au cours des 30 derniers jours)
Seungkook Jun
Seungkook Jun le 19 Sep 2017
Commenté : Seungkook Jun le 20 Sep 2017
Dear,
Thank you in advance.
I tried to build robot object as follows.
% DH Parameters table for robot arm
DH =[ 152.4 -90 280 0;
-289.8 90 0 0;
1300.0 -90 0 0;
228.6 90 0 0;
1080.0 90 0 0;
168.9 -90 0 0;
241.3 0 0 0];
%
rbtree = robotics.RigidBodyTree;
body1 = robotics.RigidBody('b1');
jnt1 = robotics.Joint('jnt1','revolute');
setFixedTransform(jnt1,DH(1,:),'dh');
body1.Joint = jnt1;
addBody(rbtree,body1,'base')
and I got an error which
Undefined function 'axang2tform' for input arguments of type 'double'”.
Undefined function 'axang2tform' for input arguments of type 'double'.
Error in robotics.Joint/jointTransform (line 380)
TJ = axang2tform([v, q]);
Error in robotics.Joint/transformBodyToParent (line 497)
obj.jointTransform(q)*obj.ChildToJointTransform;
Error in robotics.RigidBodyTree/forwardKinematics (line 1092)
Ttree{i} = body.Joint.transformBodyToParent(qi);
Error in robotics.RigidBodyTree/estimateWorkspace (line 1261)
TT = obj.forwardKinematics(qh);
Error in robotics.RigidBodyTree/addBody (line 242)
obj.estimateWorkspace();
Error in Test_Robotics_Toolbox (line 55)
addBody(rbtree,body1,'base')
I checked Matlab path and the path is correct. I suppose functions in ‘Coordinate Transformation’ are not accessible. May I ask your help?
Thank you
Seungkook Jun

Réponse acceptée

Walter Roberson
Walter Roberson le 19 Sep 2017
You appear to have a corrupt version of the Robotics System Toolbox. I suggest reinstalling it.
That is the sort of error I might expect to see if a newer Robotics System Toolbox was copied to R2015a or earlier.
  1 commentaire
Seungkook Jun
Seungkook Jun le 20 Sep 2017
Thank you very much. I will contact our system administrator.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Publishers and Subscribers dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by