Home | Tutorials | Wiki | Issues
Ask Your Question
0

gzserver takes too much time to install

asked 2014-06-23 09:33:03 -0600

Ashok gravatar image

updated 2014-06-23 09:34:36 -0600

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?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2014-06-24 10:09:30 -0600

AndreiHaidu gravatar image

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

edit flag offensive delete link more

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.

nbanyk gravatar imagenbanyk ( 2014-06-24 12:15:13 -0600 )edit

Dear Anderi,

Ashok3 gravatar imageAshok3 ( 2014-06-25 02:24:57 -0600 )edit
0

answered 2014-06-25 02:29:03 -0600

Ashok3 gravatar image

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

edit flag offensive delete link more

Comments

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

AndreiHaidu gravatar imageAndreiHaidu ( 2014-06-25 07:09:13 -0600 )edit

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.

danangcity45 gravatar imagedanangcity45 ( 2014-06-26 03:44:38 -0600 )edit
0

answered 2014-06-24 09:06:07 -0600

danangcity45 gravatar image

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

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-06-23 09:33:03 -0600

Seen: 1,010 times

Last updated: Jun 25 '14