Robotics StackExchange | Archived questions

Load a mesh and publish as shape_msgs::Mesh?

Is there a node that will load .dae/.stl/.mesh from disk and then publish it as a shape_msgs/Mesh?

It looks like it requires Ogre C++ code and there are examples here like http://answers.ros.org/question/172720/problem-loading-mesh-with-createmeshfromresource/ or http://answers.ros.org/question/147886/creating-a-collisionobject-from-a-mesh-in-hydro/ - I'll make the node myself but would rather use an established one if available.

A bonus variation would be a node that can subscribe to a visualization_msgs::Marker and publish it out as a shape_msgs/Mesh (though textures would be lost).

Asked by lucasw on 2016-02-08 08:03:01 UTC

Comments

did you get any solutions for your question??

Asked by natsu on 2017-07-23 16:10:38 UTC

Answers