Ask Your Question
1

Gazebo fail to connect to master in 30 seconds. It does not run from the very first time.

asked 2013-06-18 04:43:17 -0500

SalmaanAhmed gravatar image

updated 2014-12-05 04:04:12 -0500

130s gravatar image

I am new to Gazebo as well as Ubuntu... So dont have much knowledge about any of them.

I have been trying to install gazebo's latest version. Step by step copying the lines from the installation guide to the terminal.

But at the end when i try to run gazebo it tells to wait for master and never connects to it.

Below is the terminal screen after i enter Gazebo.

=======================================================================================

salmaan@ubuntu:~$ gazebo

Gazebo multi-robot simulator, version 1.8.6

Copyright (C) 2013 Open Source Robotics Foundation.

Released under the Apache 2 License.

http://gazebosim.o r g

Gazebo multi-robot simulator, version 1.8.6

Copyright (C) 2013 Open Source Robotics Foundation.

Released under the Apache 2 License.

http://gazebosim.o r g

Msg Waiting for master.Warning [ModelDatabase.cc:331] Getting models

from[http://gazebosim.o r g/models/]. This may take a few seconds.

.............................

Error [ConnectionManager.cc:116] Failed to connect to master in 30 seconds.

Warning [gazebo_main.cc:57] escalating to SIGKILL on server

========================================================================================

Please help me out, as i will be doing my BCS final year project in this. Path finding and obstacle detection.

Thanks in Advance :)

edit retag flag offensive close merge delete

Comments

Please open one question per problem.

davinci gravatar image davinci  ( 2013-06-18 05:24:06 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2013-06-18 10:23:25 -0500

prasanna.kumar gravatar image

updated 2013-07-08 07:49:00 -0500

Do the following:

  • source /usr/share/gazebo-1.8/setup.sh

  • gzserver

  • on a new shell run,gzclient <your-world.sdf>. If you run just gzclient, you will see the empty world.

There are many gazebo lovers here who can help you out but in future remember to post questions related to standalone gazebo on answers.gazebosim.org or at least post a copy there.

edit flag offensive delete link more

Comments

Thank you so very much it worked :)

SalmaanAhmed gravatar image SalmaanAhmed  ( 2013-06-19 09:38:33 -0500 )edit

@SalmaanAhmed please mark answer as correct if it helped you

Boris gravatar image Boris  ( 2013-07-08 18:39:42 -0500 )edit

Very helpful but gzserver should have the world not gzclient.

http://gazebosim.org/tutorials?tut=co... (at the bottom).

E.g.

gzserver <your-world.sdf>

then in new terminal

gzclient

Mark Silliman gravatar image Mark Silliman  ( 2014-12-01 16:19:27 -0500 )edit
0

answered 2015-09-18 03:07:01 -0500

Kishore Kumar gravatar image

I too have the same issue and tried the solution above but i am getting the below response

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

Msg Waiting for master Msg Connected to gazebo master @ http://127.0.0.1:11345 Msg Publicized address: 172.27.138.114 Segmentation fault (core dumped)

Can you help with this?

edit flag offensive delete link more

Comments

1

Please do not ask a question in an answer section. If the phenomenon you see is similar to the original question, you can add your info as a comment.

130s gravatar image 130s  ( 2015-09-18 13:41:32 -0500 )edit

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 2013-06-18 04:43:17 -0500

Seen: 10,481 times

Last updated: Sep 18 '15