Gazebo | Ignition | Community
Ask Your Question
0

How to edit a pre-existing model in Gazebo

asked 2015-04-09 19:29:41 -0500

Cerin gravatar image

How do you edit a pre-existing model in Gazebo?

I created a very simple model in SDF following a tutorial, and now I'm trying to follow this tutorial on how to edit an existing model in the GUI model editor. However, the tutorial's instructions doesn't match Gazebo 4.

I can insert my model onto the stage, but then it says to "Right click on the model you just inserted and select Edit Model", yet the right-click menu shows no such option.

If I click Edit->Model Editor, I get the model editing screen, but it doesn't seem to let me actually edit the model I just inserted. Does model editing not work in Gazebo 4 or am I doing something wrong?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-09 19:51:44 -0500

chapulina gravatar image

The tutorial you referenced is for Gazebo versions 6.0+. Gazebo 6 will be released in the end of July 2015.

Until then, the most convenient way to edit an existing model is to make changes directly to the SDF file and insert the model again into the scene to see the changes, as explained in this tutorial.

An alternative is to build Gazebo from source (with hg up default) and use the Model Editor from the tutorial you referenced, but since you'd be using our development branch, be aware that there might be unknown bugs.

edit flag offensive delete link more

Comments

I came across the same problem even if my version is 7.4.0, still not working at all, what should I do ? Thanks

shawnysh gravatar imageshawnysh ( 2016-10-15 03:26:47 -0500 )edit

What options do you see when you right-click the model?

chapulina gravatar imagechapulina ( 2016-11-09 10:23:29 -0500 )edit

I am using Gazebo v9.0.0 and I still don't have an option to edit the model. When I right click on it, I get 3 options copy, paste and delete.

Subodh Malgonde gravatar imageSubodh Malgonde ( 2018-08-12 02:25:00 -0500 )edit

Strange, maybe the menu is leaking out of the screen? You listed the 3 last options, but there are 5 more above those, one of which is "Edit model"

chapulina gravatar imagechapulina ( 2018-08-13 10:38:36 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2015-04-09 19:29:41 -0500

Seen: 4,482 times

Last updated: Apr 09 '15