jacob0.m
来自「robot toolbox很多不全面」· M 代码 · 共 38 行
M
38 行
%JACOB0 Compute manipulator Jacobian in world coordinates%% J0 = JACOB0(ROBOT, Q)%% Returns a Jacobian matrix for the robot ROBOT in pose Q.%% The manipulator Jacobian matrix maps differential changes in joint space% to differential Cartesian motion (world coord frame) of the end-effector.% dX = J dQ%% For an n-axis manipulator the Jacobian is a 6 x n matrix.%% See also: JACOBN, DIFF2TR, TR2DIFF.% Copyright (C) 1999-2002, by Peter I. Corke% MOD.HISTORY% 3/99 uses objects% $Log: jacob0.m,v $% Revision 1.2 2002/04/01 11:47:14 pic% General cleanup of code: help comments, see also, copyright, remnant dh/dyn% references, clarification of functions.%% $Revision: 1.2 $function J0 = jacob0(robot, q) % % dX_tn = Jn dq % Jn = jacobn(robot, q); % Jacobian from joint to wrist space % % convert to Jacobian in base coordinates % Tn = fkine(robot, q); % end-effector transformation R = tr2rot(Tn); J0 = [R zeros(3,3); zeros(3,3) R] * Jn;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?