inverse kinematics algorithm in robotic system toolbox of MATLAB ik and ikGeneral has an output matrix that cannot be used outside
1 view (last 30 days)
Show older comments
About the qs matrix that the ik solver (2 of them ) outputs - This is the solution matrix of the path that the robot takes. Why can the qs not be used outside of the toolbox. I understand that the qs matrix has a format that only functions like show() can use to display the path of the robot. My need is to take the qs matrix as is and use it for many other purposes ....like a 'non-STIK DIAGRAM' to show() the path of the robotic movements. % Loop through the trajectory of points to trace the circle. Call the |ik| object % for each point to generate the joint configuration that achieves the end-effector % position. Store the configurations to use later. qInitial = q0; % Use home configuration as the initial guess
for i = 1:count
% Solve for the configuration satisfying the desired end effector
% position
point = points(i,:);
qSol = ik(endEffector,trvec2tform(point),weights,qInitial);
% Store the configuration
qs(i,:) = qSol;
% Start from prior solution
qInitial = qSol;
end
0 Comments
Answers (0)
See Also
Categories
Find more on Motion Planning in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!