moveit-users,
I'm new to the collada game so I don't know if this is my lack of understanding or a bug.
I'm finding that if I use this function --> Mesh* createMeshFromResource(const std::string& resource, const Eigen::Vector3d &scale) in geometric_shapes/mesh_operations.h, I'm getting a different result when I send in a Collada file vs the STL equivalent (that I made by converting the .dae file in Meshlab). When I send in the STL file, I get the expected output but when I send in the .dae file, I get the correct mesh but rotated incorrectly. I'm determining the expected output based on the axis that I'm visualizing when I'm opening the .dae file in Meshlab.
Can anyone clue me in as to why this is happening? Is it possible that createMeshFromResource() is not supposed to be used on Collada files?
In the attached shelf1.zip:
1) STL: shelf1/models/shelf.stl
The bookshelf is standing upright.
2) Collada: shelf1/models/cabwall0.dae
The bookshelf is laying down. Only a 90 degree rotation.
thanks a lot,