Hi all,
I am trying to build a ground plan with a road texture. I would like also update this texture at runtime during the simulation (I don't know if it is possible and is actually an other problem).
I followed 1 "tutorial": http://answers.gazebosim.org/question/4761/how-to-build-a-world-with-real-image-as-ground-plane/ and then a second to correct a possible error: http://answers.gazebosim.org/question/7922/ground-plane-texture-image/
But for me doesn't work anymore. I have no error but I see a yellow and gray plane that is not what i want. I organized the files as described in the tutorials.
The files that I have are:
model.sdf
true 0 0 1 100 100 100 50 false 0 0 1 10 10
model.config:
My Ground Plane 1.0 model.sdf
My textured ground plane.
my_ground_plane.material
material my_ground_plane/Image
{
technique
{
pass
{
ambient 1 1 1 1.000000
diffuse 1 1 1 1.000000
specular 0.03 0.03 0.03 1.000000
emissive 0.900000 0.900000 0.900000 1.000000
texture_unit
{
texture floor.png
}
}
}
}
Can someone help me. I am really new in Gazebo and I don't know how to approach the problem. Thanks in advance
↧