⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jacobian2.m

📁 slam进阶学习
💻 M
字号:
function J = jacobian2(tab, tbc)
%-------------------------------------------------------
% University of Zaragoza
% Centro Politecnico Superior
% Robotics and Real Time Group
% Authors:  J. Neira, J. Tardos
% Date   :  7-2002
%-------------------------------------------------------
% function J = jacobian2(tab, tbc)
%
% calculates the jacobian of the composition of a pair 
% of transformations with reespect to the second one.
%-------------------------------------------------------

if length(tab) ~= 3,
   error('Jacobian2: tab is not a transformation!!!');
end

if length(tab) ~= 3,
   error('Jacobian2: tbc is not a transformation!!!');
end

p1 = tab(3);

J = [cos(p1) -sin(p1)  0
     sin(p1)  cos(p1)  0
     0          0      1];

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -