By running visualizeRobot.m, it exits with the following error:
Unrecognized method, property, or field 'linkSolidShapes' for class 'iDynTree.ModelSolidShapes'.
Error in SwigRef/subsref (line 26)
[varargout{1}] = builtin('subsref',self,substruct('.',s.subs,'()',{}));
Error in iDynTreeWrappers.getMeshes (line 25)
linkSolidShapesV=visual.linkSolidShapes;
Error in iDynTreeWrappers.prepareVisualization (line 74)
[linkMeshInfo,map]=iDynTreeWrappers.getMeshes(model,meshFilePrefix);
Error in visualizeRobot (line 84)
[visualizer,objects]=iDynTreeWrappers.prepareVisualization(KinDynModel,meshFilePrefix,...
I guess this is due to #751
@nunoguedelha @gabrielenava @Giulero @CarlottaSartore
Hi @S-Dafarra! I faced the same issue. It seems that in devel some methods acquired the get prefix.
Changing from linkSolidShape to getLinkSolidShape should work.
Hi @S-Dafarra! I faced the same issue. It seems that in devel some methods acquired the
getprefix.
Changing fromlinkSolidShapetogetLinkSolidShapeshould work.
Ah great! If you could fill in a PR for that, it would be great
Ah great! If you could fill in a PR for that, it would be great
I was planning it :D
I guess this is due to #751
Exactly, the method were deprecated in https://github.com/robotology/idyntree/pull/739, but unfortunately the deprecation are not easy to detect on MATLAB.
Fixed by @Giulero in https://github.com/robotology/idyntree/pull/762 .