How to convert RigidBodyTree made with Matlab 2017 to Matlab 2016b?

1 回表示 (過去 30 日間)
Robert Thiel
Robert Thiel 2017 年 7 月 31 日
回答済み: Vishal Neelagiri 2017 年 8 月 3 日
Hello, is there an easy way to do it? I used the importrobot(youbot.urdf) function for the kuka youbot model in Matlab2017 to create the RigidBodyTree but at school there is only Matlab2016b available. Just save RigidBodyTree and import does not work.
Thanks for any help.

回答 (1 件)

Vishal Neelagiri
Vishal Neelagiri 2017 年 8 月 3 日
The only difference that I could find between the 'robotics.RigidBodyTree' objects in R2016b and R2017a is the addition of 'BaseName', 'Gravity' and 'DataFormat' properties in R2017a.
I would recommend that you use the 'importrobot' function in R2017a and then extract out the remaining object properties like 'NumBodies', 'Bodies', 'Base' and 'BodyNames' into a MAT file and then create an object of class 'robotics.RigidBodyTree' in R2016b and manually input the properties from the MAT file.

カテゴリ

Help Center および File ExchangeManipulator Modeling についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by