资源简介
matlab robotics toolbox,用于机器人仿真开发。

代码片段和文件信息
%ACCEL Compute manipulator forward dynamics
%
% QDD = ACCEL(ROBOT Q QD TORQUE)
% QDD = ACCEL(ROBOT [Q QD TORQUE])
%
% Returns a vector of joint accelerations that result from applying the
% actuator TORQUE to the manipulator ROBOT in state Q and QD.
%
% Uses the method 1 of Walker and Orin to compute the forward dynamics.
% This form is useful for simulation of manipulator dynamics in
% conjunction with a numerical integration function.
%
% See also: RNE ROBOT ODE45.
% MOD HISTORY
% 4/99 add object support
% 1/02 copy rne code from inertia.m to here for speed
% $Log: not supported by cvs2svn $
% $Revision: 1.3 $
% Copyright (C) 1999-2008 by Peter I. Corke
%
% This file is part of The Robotics Toolbox for Matlab (RTB).
%
% RTB is free software: you can redistribute it and/or modify
% it under the terms of the GNU Lesser General Public License as published by
% the Free Software Foundation either version 3 of the License or
% (at your option) any later version.
%
% RTB is distributed in the hope that it will be useful
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU Lesser General Public License for more details.
%
% You should have received a copy of the GNU Leser General Public License
% along with RTB. If not see .
function qdd = accel(robot Q qd torque)
n = robot.n;
if nargin == 2
q = Q(1:n);
qd = Q(n+1:2*n);
torque = Q(2*n+1:3*n);
else
q = Q;
if length(q) == robot.n
q = q(:);
qd = qd(:);
end
end
% compute current manipulator inertia
% torques resulting from unit acceleration of each joint with
% no gravity.
M = rne(robot ones(n1)*q‘ zeros(nn) eye(n) [0;0;0]);
% compute gravity and coriolis torque
% torques resulting from zero acceleration at given velocity &
% with gravity acting.
tau = rne(robot q‘ qd‘ zeros(1n));
qdd = inv(M) * (torque(:) - tau‘);
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1004 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@li
文件 1851 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@li
文件 1137 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@li
文件 4448 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@li
文件 1093 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@li
文件 1335 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@li
文件 2399 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@li
文件 5210 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@li
文件 912 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\char.m
文件 901 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\display.m
文件 841 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\double.m
文件 892 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\inv.m
文件 982 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\minus.m
文件 1168 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\mpower.m
文件 1147 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\mrdivide.m
文件 2199 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\mtimes.m
文件 910 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\norm.m
文件 1913 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\plot.m
文件 973 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\plus.m
文件 1713 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\qinterp.m
文件 4150 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\quaternion.m
文件 1923 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\subsref.m
文件 859 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@quaternion\unit.m
文件 1461 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@robot\char.m
文件 875 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@robot\display.m
文件 1078 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@robot\friction.m
文件 1140 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@robot\mtimes.m
文件 1424 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@robot\nofriction.m
文件 1517 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@robot\perturb.m
文件 13035 2009-02-15 16:07 Robotics Toolbox For Matlab\robot\@robot\plot.m
............此处省略315个文件信息
- 上一篇:SVM算法对MNIST数据集分类
- 下一篇:手机制造项目管理文档MPP
相关资源
- matlab_OFDM调制解调(来自剑桥大学)
- Matlab路面裂缝识别69319
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
评论
共有 条评论