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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Manipulator Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by