-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tutorial for using DEM's for gazebo harmonic #334
Comments
Ok, using ubuntu 22.04, following the gazebo classic tutorial.
Looking
|
Are you able to run |
No, I am not. Can you point me to which repo I would find it in?
I checked |
Thanks that worked. I should be able to replicate it into the guide. For now, I will leave out the DEM generation if that's ok. |
Yups, sounds good. Thanks for tackling this! |
Where do the other files in the original I was able to load in the local DEM file by using the new |
The original files are located here in the gazebo-classic repo but I think you should point users to these files in gz-rendering: https://github.com/gazebosim/gz-rendering/tree/gz-rendering7/examples/heightmap/media For example, in the tutorial it can say something like "download these xyz files from gz-rendering" |
I have a computer capable of running much higher fidelity simulations now, including terrain data, without crashing. I'll try to get this before November's release. |
By November, you mean September? Like, Ionic release? Or is this talking about something else? |
Ionic release. Let me know a date it needs done, and I'll hold myself to it:) |
Here are the release dates https://github.com/gazebosim/docs/blob/master/releases.md |
We should also link this: https://gazebosim.org/api/rendering/8/heightmap.html The statement |
Hello @Ryanf55 👋 Why does this statement not appear accurate? I will admit, the formatting of the tutorial may be a bit confusing. There are two imaged examples, the first one presents a image heightmap (using grayscale data) and the second one below the first demos a DEM heightmap |
Yea, just some weird wording. I got a little lost on that, and confused the color references being the color of the outputted visuals. |
PRs are welcome to help clarify.
I would argue that white and black are opposing colors. Also, in terms of the image heightmap, it's not necessarily about the colors but how the code reads these scalar values to determine height information. If we take a closer look at the bowl heightmap example, the black represents the lowest point on the map 0 and white represents the highest 255. Anything in between is scaled appropriately. Essentially it reads the grayscale image and outputs the corresponding heightmap (bottom image). |
how to insert different objects in gazebo harmonic |
This doesn't seem to be related to this ticket but you can visit our tutorials page for more details on inserting models either building your own or from fuel: https://gazebosim.org/docs/latest/tutorials/# Another resource to browse and ask questions is https://community.gazebosim.org/ |
Originally posted by @jennuine in gazebosim/gz-sim#235 (comment)
Creating an issue to keep track of this request for a tutorial on how to use the new DEM feature in gazebo sim (Garden). Once I free some time up, I will try the suggestions above and if it works, I'll be happy to submit a PR.
The text was updated successfully, but these errors were encountered: