I was using heightmap of a room layout in gazebo and rviz to visualize the camera view. However, the rendered view is not stable - i.e. the ground keeps flickering and the walls are loaded in a strange manner.

I am running Kinetic and my model.sdf looks like this
true model://maps/map1.png 42.5 42.5 5 0 0 0 model://maps/map1.png 42.5 42.5 5 0 0 0 file://media/materials/textures/grey.png file://media/materials/textures/flat_normal.png 1
Any help is appreciated.
Update:
Turns out that the flickering ground is caused by a conflicting ground plane with the heightmap model. I moved the ground plane up by 0.1 m and it is good.
Still having an issue with the scene not fully loaded in the camera.
↧