Gazebo | Ignition | Community
Ask Your Question
0

Ignition GUI question: can I add my model to a running simulation?

asked 2022-03-12 10:09:36 -0500

clydemcqueen gravatar image

updated 2022-03-12 10:17:35 -0500

Hi, I'm running the ~latest Ignition Gazebo built from these instructions: https://ignitionrobotics.org/docs/gar...

I'm learning how to use the GUI, build models using sdf, etc. My development method is "make a change to an sdf file, and restart the simulation to see what happens." Is there a better way to see a change to a model? I see in the Entity Tree widget that I can use to add a few standard shapes to a running simulation, but I don't see a way to get my models into that list. Is that possible?

Thanks!

P.S. -- if there are any cheat sheets or tips & tricks posts, please let me know.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-03-12 12:33:08 -0500

clydemcqueen gravatar image

Digging into the code, I see that the Entity Tree widget only spawns the primitive shapes.

While poking around I found the Resource Spawner widget, which does exactly what I want. All of the models found on IGN_GAZEBO_RESOURCE_PATH appear in the "Local resources" list. The sdf for a model is reloaded every time I click on it, so I can easily make a change to the model.sdf file and quickly spawn that model into the simulation.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-03-12 10:09:36 -0500

Seen: 105 times

Last updated: Mar 12 '22