Robotics StackExchange | Archived questions

Heightmap sharp descent issue

Hi, am getting an error as in the screenshots while creating the heightmap. I've been dealing with this problem for days but couldn't solve it. My tif file and codes are available below

https://i.hizliresim.com/s6ctkpq.png

There is a sharp descent in part of the elevation map, and that area is flat.

My tif file is as below

https://i.hizliresim.com/tuhlwq3.png

My World file :

<?xml version="1.0" ?>

  <uri>model://sun</uri>
</include>
<model name="heightmap">
  <static>true</static>
  <link name="link">
    <collision name="collision">
      <geometry>
        <heightmap>
          <uri>model://media/dem/kmz_to_shp_ge.tif</uri>
          <size>7000 7000 1065</size>
          <pos>0 0 0</pos>
        </heightmap>
      </geometry>
    </collision>
    <visual name="visual_heightmap">      
      <geometry>
        <heightmap>
          <texture>
            <diffuse>model://media/dem/rendered.jpeg</diffuse>
            <normal>model://media/dem/rendered.jpeg</normal>
            <size>7000 7000 1065</size>
          </texture>      
          <uri>model://media/dem/kmz_to_shp_ge.tif</uri>
          <size>7000 7000 1065</size>
          <pos>0 0 0 </pos>
        </heightmap>
      </geometry>
    </visual>
  </link>
</model>              

Asked by oguzhanaknc on 2021-10-04 02:10:19 UTC

Comments

Answers