importrobot with Simscape model has no visual geometries
17 views (last 30 days)
Show older comments
Hi all, I have a simscape model that was exported from Creo using the multi-link plugin. It is configured to work with STL as its geometry files in Simscape and correctly displays them.
When I use the importrobot command from the robotics toolbox, it successfully completes this, however it lacks any geometry meshes, using the show command, it only shows a skeleton model and a bunch of coordinate systems.
robot = importrobot(URDFtext, "MeshPath", {"../arm_meshes", "../body_meshes"});
However this does not work, and the documentation points out that this is for URDF, Xacro or SDf imports, while Simscape Multibody Model imports lack this option. The code then throws an error.
'MeshPath' is not a recognized parameter. For a list of valid name-value pair arguments, see the documentation for this function.
How can I import a simscape model into the robotics toolbox alongside its STL's as collision or visual geometry? The ultimate goal is to then export as URDF with STL's (Currently the URDF also lacks STL's).
Thanks
0 Comments
Answers (0)
See Also
Categories
Find more on Model Import 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!