Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

Display Images on Cube Faces

$
0
0
Hi all, I'm using Aruco markers to localize my robot in its environment. I've set up models for each aruco marker, and use a PNG file as texture. However, it seems there is a "bug" in the display. When looking forward to the aruco, the image is displayed correctly. (see first image). And when I go behind the marker, the image is inverted, like a central symmetry (see second image). Why is that? Do I need to specify the texture for each face of the cube in the aruco model? If yes, how do I do that? Thank you very much for your help ! First image ![image description](/upfiles/1525160614373725.png) Second image ![image description](/upfiles/1525160632508338.png) **EDIT** Here is my material file material ArucoVisualMarker0/Marker { technique { pass { texture_unit { texture aruco_mark_0.png } } } } and here is my model.sdf file. 0 0 0 0 0 00 0 0 0 0 3.140.3 0.3 1e-051 1 1 11 1 1 10 0 0 11 1 1 0__default__0 0 0 0 0 0100100 0 0 0 0 00.3 0.3 1e-0511

Viewing all articles
Browse latest Browse all 7017

Trending Articles