Robotics StackExchange | Archived questions

gzserver takes too much time to install

I am trying to install gazebo3 on Ubuntu12.04 following the instructions on http://gazebosim.org/wiki/3.0/install for Ubuntu Debians. Step 3 says Check your installation

gzserver

Note: As of Gazebo 1.9 you no longer need to setup your .bashrc to always source Gazebo's setup.sh to export necessary paths.

The first time gzserver is executed requires the download of some models and it could take some time, please be patient. Wait until you see a message like Publicized address: ... and then execute a gazebo client:

I let gzserver run for 14 hours while all the time it was showing that a process was on.

Then my patience ran out and I closed the terminal.

I found that only 2 models had been installed. They were Sun and Ground Plane.

I reran gzserver once again but gave up after 2 hours.

I have fund the tarzip files of all the models are here http://gazebosim.org/models/ You have to drill down each model to get the tarzip file.

If I download the file and install it, it install everything.

Q1 Will this method work instead of waiting or gzserver endlessly. The tarzip files would be extracted to the same directory the directory where Sun and Ground Plane were.

Q2 Will a similar thing work for gzclient?

Asked by Ashok on 2014-06-23 09:33:03 UTC

Comments

Answers

I also got the same problem. Can anyone give us advice to solve???

Asked by RoboTN on 2014-06-24 09:06:07 UTC

Comments

Hi there,

To visualize something you need to start in another terminal gzclient. Or start gazebo by typing gazebo in the terminal, which loads gzserver and gzclient directly.

If you want more info in the terminal start the simulation with the --verbose argument:

$ gazebo --verbose

Cheers, Andrei

Asked by AndreiHaidu on 2014-06-24 10:09:30 UTC

Comments

The part about starting a new terminal would be convenient to know in that tutorial as I also waited a long time trying to figure out what was supposed to happen next.

Asked by nbanyk on 2014-06-24 12:15:13 UTC

Dear Anderi,

Asked by Ashok3 on 2014-06-25 02:24:57 UTC

Dear Anderi,

Thanks for making the effort to answer my query.

I was aware that gzclient needs to be run after running gzserver.

When I did that after terminating the gzserver process after 14 hours, Gazebo did start , but in a pahetic state. Only two models were present.

How can I make all the models that are there on the site available to Gazebo.

Does anybody have the text of script that gzserver invokes? Thanks Ashok

Asked by Ashok3 on 2014-06-25 02:29:03 UTC

Comments

what output do you get when running $ gzserver --verbose ?

Asked by AndreiHaidu on 2014-06-25 07:09:13 UTC

Dear Ashock, In my case, after entering $ gzserver in the terminal, i open another one (terminal) and enter $ gzclient then Gazebo simulator appears. In the gazebo window, there is a line "Connecting to ...". after wait in few minutes for gazebo to connect to the server, all the model will be showed. Hope your problem is same as mine! Good luck.

Asked by RoboTN on 2014-06-26 03:44:38 UTC