Ask Your Question
0

scale problems with gazebo

asked 2012-03-08 11:28:43 -0500

Lucian gravatar image

Hello,

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 delete

3 answers

Sort by » oldest newest most voted
3

answered 2012-03-08 12:07:45 -0500

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 publish link more
0

answered 2012-03-08 12:28:12 -0500

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 publish link more
0

answered 2012-03-12 10:18:20 -0500

Lucian gravatar image

Hello,

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 publish link more

Comments

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

dornhege ( 2012-03-12 11:38:25 -0500 )edit

Your Answer

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

Add Answer

[hide preview]

Stats

Asked: 2012-03-08 11:28:43 -0500

Seen: 156 times

Last updated: Mar 12 '12