Unable to run gazebo from the terminal

asked 2016-06-07 08:27:31 -0600

alessmosca gravatar image

updated 2016-06-07 09:51:06 -0600

nkoenig gravatar image

Hello guys, I installed gazebo (gazebo2) with ros. But when i tried to run i, writing "gazebo on the terminal", it shows me this:

    almosca@pcen35132:~$ gazebo-2.2.6
    Gazebo multi-robot simulator, version 2.2.6
    Copyright (C) 2012-2014 Open Source Robotics Foundation.
    Released under the Apache 2 License.
    http://gazebosim.org

     Gazebo multi-robot simulator, version 2.2.6
    Copyright (C) 2012-2014 Open Source Robotics Foundation.
    Released under the Apache 2 License.
    http://gazebosim.org

    Msg Waiting for masterMsg Waiting for master

    sg Connected to gazebo master @ http://127.0.0.1:1134532m
    Msg Connected to gazebo master @ http://127.0.0.1:11345
    sg Publicized address: 188.184.5.12
    32mMsg Publicized address: 188.184.5.12
   Warning [parser.cc:556] The manifest.xml for a model is deprecated. Please rename manifest.xml to model.config.
   terminate called after throwing an instance of 'std::bad_alloc'
   what():  std::bad_alloc

could some one help me ?? thanks

edit retag flag offensive close merge delete

Comments

1

FYI: Gazebo2 reached its end-of-life earlier this year. I would recommend using a newer version of Gazebo. Can you try running `gzserver` in one terminal, and `gzclient` in a separate terminal?

nkoenig gravatar imagenkoenig ( 2016-06-07 09:53:32 -0600 )edit

Hi, thanks for the comment! I'm able to run 'gzclient', but when I run 'gzserver' I have the same error terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc but if I run some launch file for spawn robot into gazebo, it works! I don't know why the I run only gazebo or the empty_world.launch, it doesn't work BTW, I tried to install the last versione gazebo7, but returns me the same problem

alessmosca gravatar imagealessmosca ( 2016-06-08 04:10:44 -0600 )edit

When you roslaunch a simulation, gazebo runs correctly?

nkoenig gravatar imagenkoenig ( 2016-06-08 09:46:21 -0600 )edit

Yes, exactly! I tried to re-install again ROS, but the problem persists. shape_world.launch is the only one who doesn't return me the error.

alessmosca gravatar imagealessmosca ( 2016-06-09 08:16:16 -0600 )edit