ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

scale problems with gazebo

asked 2012-03-08 05: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 merge delete

3 Answers

Sort by » oldest newest most voted
3

answered 2012-03-08 06: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 link more
0

answered 2012-03-12 05: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 link more

Comments

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

dornhege gravatar image dornhege  ( 2012-03-12 06:38:25 -0500 )edit
0

answered 2012-03-08 06: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 link more

Question Tools

Stats

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

Seen: 2,957 times

Last updated: Mar 12 '12