只需要在world的<world>...</world>这个范围内添加下面的代码即可,其中,经纬度可以在google地图中查找。
<sdf>
<world>
<spherical_coordinates>
<surface_model>EARTH_WGS84</surface_model>
<latitude_deg>31.3860366</latitude_deg>
<longitude_deg>120.7564963</longitude_deg>
<elevation>9.0</elevation>
<heading_deg>0</heading_deg>
</spherical_coordinates>
</world>
</sdf>