资源简介
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
相关资源
- SVM算法对MNIST数据集分类
- 鱼雷控制系统计算机辅助分析设计与
- 抗干扰仿真 matlab 源码
- 信号与系统大作业 声音信号的频谱分
- matlab 蒙特卡罗
- LBF和LDF模型的matlab程序,用于图像分
- surf的matlab实现
- c均值聚类matlab算法和程序
- 图像加密算法实现 matlab
- PSAT-2.1.10最新版
- GPS信号捕获跟踪的MATLAB仿真,里面有
- 编写MATLAB函数 图像处理实验报告
- 基于MATLAB的OFDM通信系统模型的仿真毕
- 1维严格耦合波分析matlab程序
- Vibe算法,亲测可用,可用于视频前景
- Vibe背景建模的方法检测运动物体mat
-
Matlab_Simuli
nk环境下无人机全过程飞 - 基于MATLAB的BP神经网络应用绝对好资源
- 关于变声变调的matlab设计 比较详细
- 语音信号子带编码matlab程序subband_co
- MATLAB contourlet工具箱
- 贝叶斯网络工具箱MATLAB工具箱
- matlab bgl工具箱
- 图像滤波算法之guide filter导向滤波
- 利用MATLAB实现医学图像处理与分析
- 数字图像处理-matlab实验三次
- matlab传染病模型
- 贝叶斯压缩感知matlab源代码
- [数字信号处理及其MATLAB实现——慕课
- 基于matlab的图像分类
评论
共有 条评论