Home | Tutorials | Wiki | Issues
Ask Your Question
0

Model editor, Open existing model

asked 2018-04-12 06:42:35 -0500

robotlab gravatar image

updated 2018-04-13 12:36:44 -0500

I use Gazebo 7.11 with ROS kinetic on Ubuntu 16.04.

I am making some custom models using the Model Editor. How do I open an existing model to make further changes?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2018-04-13 13:59:03 -0500

As @raskii's answer describes, you can insert it directly on the editor, but as @robotlab points out in their comment, the model is inserted as a "nested model" and is not editable.

Try this instead:

  1. Open Gazebo
  2. Before entering the model editor, insert the model from the insert menu
  3. Right-click the model and choose Edit in Model Editor
edit flag offensive delete link more

Comments

Thanks for the suggestion, maybe this is the best or only way to do it, though I then experience an issue. If I insert my model into my world and right-click and select Edit, then it will open the model as-is. This is not a problem for static models, which are not affected by collision or gravity, however the has experience some changes in the world, then the new pose will be transferred to the Model Editor as well. Do you know a way to avoid this?

robotlab gravatar imagerobotlab ( 2018-04-14 00:43:15 -0500 )edit

There is really no way to open the model directly in the Model Editor, would be very nice?

robotlab gravatar imagerobotlab ( 2018-04-14 00:43:36 -0500 )edit

Yes, I agree it would be a nice feature to have, feel free to ticket a suggestion here: https://bitbucket.org/osrf/gazebo/issues

chapulina gravatar imagechapulina ( 2018-04-15 10:59:01 -0500 )edit

As for the model changing position due to gravity, how about pausing the simulation before inserting it?

chapulina gravatar imagechapulina ( 2018-04-15 10:59:54 -0500 )edit

Sure, that may be the solution. I will ticket the suggestion. Thanks a lot for your swift help.

robotlab gravatar imagerobotlab ( 2018-04-15 13:05:00 -0500 )edit
1

answered 2018-04-13 09:31:46 -0500

Raskkii gravatar image

Launch Gazebo, press Ctrl+M to launch Model Editor. Find your existing custom model from the dropdown list on the left, place it in the world. Do the modifications you'd like. Save.

Note: I think it saves it as a new model file so it doesn't overwrite unless you have it save with the same name.

edit flag offensive delete link more

Comments

My model consists of several parts or Links. If I do that, it will insert it as one part/assembly, similar as you would e.g. insert a subassembly into a new assembly in SolidWorks. It does not let me edit the properties and Joints between each individual part.

robotlab gravatar imagerobotlab ( 2018-04-13 12:40:12 -0500 )edit
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-04-12 06:42:35 -0500

Seen: 50 times

Last updated: Apr 13