Codes: MODERN ROBOTICS Ch.4_基于PoE的正运动学代码实现
Posted yuankai-ren
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Codes: MODERN ROBOTICS Ch.4_基于PoE的正运动学代码实现相关的知识,希望对你有一定的参考价值。
%%1 基于PoE space form 的正运动学求解 % 输入M矩阵、螺旋轴列表Slist(column vector)、关节角向量qlist(column vector),输出齐次变换矩阵T function T = FKinSpacer(M, Slist, qlist) T = M; num = size(qlist); for i = num(1):-1:1 S = Slist(:,i); q = qlist(i); Sq = S .* q; Sq_mat = VecTose3r(Sq); T = MatExp6r(Sq_mat) * T; end end %--------------EOF--------------- %%2 基于PoE body form的正运动学求解 % 输入M, Slist, qList, 输出T function T = FKinBodyr(M, BList, qList) T = M; num = size(qList); for i = 1:1:num(1) B = BList(:,i); q = qList(i); Bq = B .* q; Bq_mat = VecTose3r(Bq); T = T * MatExp6r(Bq_mat); end end %--------------EOF---------------
以上是关于Codes: MODERN ROBOTICS Ch.4_基于PoE的正运动学代码实现的主要内容,如果未能解决你的问题,请参考以下文章
机器人编程基础-ETH ROS 2022-Programming for Robotics
UPenn - Robotics 1:Aerial Robotics - week 4:Advanced Topics
UPenn - Robotics 3:Robotics: Mobility - week 4: Composition
UPenn - Robotics 5:Robotics: Estimation and Learning - week 3:Mapping
UPenn - Robotics 1:Aerial Robotics - week 2:Geometry and Mechanics
UPenn - Robotics 5:Robotics: Estimation and Learning - week 1:Gaussian Model Learning