Ask Your Question

scale problems with gazebo

asked 2012-03-08 05:28:43 -0600

Lucian gravatar image


The model that I import as stl from SolidWorks is scaled in mm. When I visualize the model in gazebo it´s awfully huge. So I use Meshlab to rescale it.

However, upon launching gazebo dies instantly with the following error:

[gazebo-2] process has died [pid 5687, exit code -6]. log files: /home/fxm-lc/.ros/log/48312cc6-6942-11e1-84ee-c8600006c2de/gazebo-2*.log

Any suggestion are welcome, thank you very much.

edit retag flag offensive close merge delete

3 answers

Sort by » oldest newest most voted

answered 2012-03-08 06:07:45 -0600

While opening and re-saving is a feasible approach most of the time, it can occasionally lead to problems, like properties getting lost in the process (or even crashes, sometimes). Have you tried the scale tag as described here? If you're talking about gazebo .world files, these also support scaling the mesh.

edit flag offensive delete link more

answered 2012-03-12 05:18:20 -0600

Lucian gravatar image


thanks for the both answers.

I tried the scale tag as described on the wiki but the error still occurred. I than tried to do it exactly as in the example and use the stlb format instead of stl and it worked.

I nevertheless wonder why doesn't it work with the normal stl ? (ROS/ gazebo should recognize both ASCII and binary formats, souldn't it?)

PS: btw, rescaling in SolidWorls also works

edit flag offensive delete link more


Ohoh, afaik it doesn't support both! Try the other one (I think binary should work).

dornhege ( 2012-03-12 06:38:25 -0600 )edit

answered 2012-03-08 06:28:12 -0600

dornhege gravatar image

Did you try just exporting in m?

For more than guesswork, you should include the error messages from the logfiles.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]


Asked: 2012-03-08 05:28:43 -0600

Seen: 235 times

Last updated: Mar 12 '12