fdyn matlab,Matlab Robotic Toolbox使用简介(6)

This blog post demonstrates the use of Matlab's Robotic Toolbox for inverse and forward dynamics calculations. It explains how the recursive Newton-Euler algorithm is used in the rne() function to compute joint torques and how the fdyn() function integrates joint accelerations for simulation. The example of a Puma 560 robot illustrates the effects of gravity, joint torque variation, and inertia changes along a trajectory." 136001692,17268861,华为OD机试:寻找最富裕小家庭的财富和,"['算法', '华为od', '数据结构']
摘要由CSDN通过智能技术生成

---runscript

D:\matlab\toolbox\robot\rvctools\robot\demos\idyn.m

%Inverse dynamics【逆向动力学】

computes the joint

torques【转矩】required

toachieve

% thespecified state of joint position, velocity and

acceleration.【逆向动力学用来计算达到一定关节位置、速度以及加速度状态的转矩。】

% Therecursive【递归的】Newton-Euler

formulation is an efficient matrix oriented

%algorithm for computing the inverse dynamics, and is

implemented in the

%function

rne().【牛顿-欧拉递归公式是以矩阵为主导的有效演算法,用以计算逆向动力学,在函数rne()里实施】

%

%Inverse dynamics requires inertial and

mass【惯量与质量】 parameters ofeach link, as

well

% as thekinematic parameters.  This is

achievedby augmenting the kinematic

�scription matrix with additional

columns for the inertial and mass

%parameters for each

link.【逆向动力学需要每个连杆link的惯量、质量已及运动学参数。它通过对每个link的运动学表达矩阵增加额外的表示惯量与质量的列得以实现。】

%

% Forexample, for a Puma 560 in the zero angle pose, with

all joint velocities

% of5rad/s and accelerations of 1rad/s/s, the joint

torques required are

>>mdl_puma560

>>tau = p560.rne(qz,

5*ones(1,6), ones(1,6))

njoints6

FastRNE: (c) Peter Corke 2002-2011

tau =

-79.4048   9.1192

13.5455

-0.6846  -0.4515

-0.1236

% Aswith other functions the inverse dynamics

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值