Having trouble with Gazebo9 heightmap
Hello. I am trying to build a custom world using a heightmap for one of my projects. I was able to create a heightmap successfully two nights ago, but the png file was 129 X 129 and I wanted to increase to 500 X 500. When I made new heightmap and replaced it with the working version, the program failed and I am getting the following error:
/usr/include/boost/smartptr/sharedptr.hpp:734: typename boost::detail::spmemberaccess
I tried reinstalling gazebo, reverting back to working version in the repository and remaking the entire heightmap model 3 times, but it either returns black screen (I am assuming I am outputting anything) or gazebo just simply crashed. I think I might have messed up the gazebo when I tried to use a heightmap with a bigger size, but I do not know how to fix this part. Could anyone give me a help with this?
Asked by kestrel1311 on 2019-10-09 19:52:03 UTC
Answers
For heightmaps to work with gazebo the height and width needs to be 2n+1. So for your use case the closest accepted dimensions would be 513x513.
Asked by hburau on 2019-10-11 10:06:03 UTC
Comments
Thank you for the comment. I tried reverting back to 129 x 129 heightmap, but the model is not still loading. Is it recommended to just start a new model from scratch?
Asked by kestrel1311 on 2019-10-11 13:38:05 UTC
How long did you wait for the heightmap to load?
Asked by hburau on 2019-10-16 05:37:45 UTC
Comments