Incorrect marker(Mesh Resource) Visualization
Hi, I am trying to visualize the following image as a marker(mesh resource) in the Rviz.
But, in rviz it appears as:
Can anyone please guide me on how can make my marker similar to the image above? Why am I losing all the details and RGB values in my marker? The houses on the left (appearing in the picture) cannot be seen in the marker at all.
I did set the mesh_use_embedded_materials flag to true and all the r,g,b, values are set to zero. Also, I used online tools to convert my png image into .dae file.
Have you tried setting r, g, b, and a to non-zero? The Marker page says that setting r, g, b, and a to non-zero will add color.
http://wiki.ros.org/rviz/DisplayTypes...
I tried. That doesn't help.
How about displaying the dae with a tool other than rviz? This will help you to distinguish whether it is a defect in the dae file (problem in converting from png) or a problem on the rviz side.
Pls take a look at this question: #q322457
Specifically at this repo: https://github.com/lucasw/rviz_textur... looks that allows you to do what you are looking for
@osilva, thank you so much. The repository worked for me. If it's possible for you, please put your comment as an answer so that I may accept it and close the issue.
Glad it helped. I’ll add as answer