How to convert RigidBodyTree made with Matlab 2017 to Matlab 2016b?
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Vishal Neelagiri
on 3 Aug 2017
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.
0 Comments
See Also
Categories
Find more on Manipulator Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!