Home | Tutorials | Wiki | Issues
Ask Your Question
0

I have installed Gazebo 1-9 and there is some errors when it starts in Ubuntu 13.04 (raring)

asked 2014-02-20 09:11:20 -0600

Stefano Aringhieri gravatar image

updated 2014-02-20 09:11:56 -0600

Hi, i have Ubuntu 13.04 (Raring) and i have installed Gazebo 1-9 following the Gazebo's tutorials. After that i type on the terminal "gazebo" and the gui starts but have two errors and one Warning:

Warning [ModelDatabase.cc:206] Unable to connect to model database using [http://gazebosim.org/models//database...]. Only locally installed models will be available.

Error [Param.cc:181] Unable to set value [1,0471975511965976] for key[horizontal_fov]

Error [Param.cc:181] Unable to set value [0,100000001] for key[near]

What have i to do?

Best regards

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-02-20 10:30:46 -0600

nkoenig gravatar image

It looks like a locale issue (error interpreting commas as decimal separators). Try setting LANG="C" or LANG="en_US"

The warning message about the model database has been fixed in gazebo 2.2. It could also indicate that you don't have an internet connection.

edit flag offensive delete link more

Comments

Try setting LANG="C" or LANG="en_US" ---> The error remains

"The warning message about the model database has been fixed in gazebo 2.2. It could also indicate that you don't have an internet connection." --->and now how can i install the model database with an internet connection? Thanks!

Stefano Aringhieri gravatar imageStefano Aringhieri ( 2014-02-21 11:04:07 -0600 )edit

I still get this error in gazebo 3.0

AndreiHaidu gravatar imageAndreiHaidu ( 2014-04-15 06:51:15 -0600 )edit

Stefano, models will automatically download when you use them (either by loading an SDF file, or dragging them into a scene via the GUI). I'll setup a VM with a different language to debug this problem further.

nkoenig gravatar imagenkoenig ( 2014-04-15 18:06:30 -0600 )edit

I was unable to reproduce it using spanish (esES) locales for LCALL and LANG. Andrei, could please the output of printenv command and the error message you see in gazebo 3.0? Thanks.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2014-05-02 19:06:25 -0600 )edit

I copied printenv here http://pastebin.com/7aEGm8dQ and the gazebo error is Error [Param.cc:181] Unable to set value [1,0471975511965976] for key[horizontal_fov] Error [Param.cc:181] Unable to set value [0,100000001] for key[near]

AndreiHaidu gravatar imageAndreiHaidu ( 2014-05-05 01:48:20 -0600 )edit

Is it a fedora system? I'm suspecting from LC_NUMERIC. Could you please test: LC_NUMERIC=C LC_COLLATE=C gazebo?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2014-05-05 07:16:40 -0600 )edit

it's ubuntu 13.04, LC_NUMERIC=C did the job, does this actually influence gazebo during runtime?

AndreiHaidu gravatar imageAndreiHaidu ( 2014-05-05 10:54:23 -0600 )edit

Indeed. It does affect (not only) all kind of input/output operations that uses <cstdio>. Reference could be found: http://www.cplusplus.com/reference/clocale/. Could you please submit an issue in sdformat about this? We can patch it to overwrite user locales.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2014-05-05 11:14:09 -0600 )edit

There doesn't seem to be a maintainer for libsdformat1, so reporting a bug is not allowed...

peci1 gravatar imagepeci1 ( 2014-06-17 03:42:57 -0600 )edit

Ummm, we are maintaining and support sdformat 1.4 branch and 2.0 branch. Where did you read that there is no maintainer for libsdformat1?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2014-07-22 20:13:34 -0600 )edit
1

answered 2014-05-05 11:16:42 -0600

Jose Luis Rivero gravatar image

The environment variable that could affect directly the representation of floating point numbers is LC_NUMERIC. Setting it to C should fix the problem. A quick fix would be:

LC_NUMERIC=C gazebo

Any other mechanism to make this change permanent (bashrc, bash_profile, ...) is recommended.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2014-02-20 09:11:20 -0600

Seen: 4,299 times

Last updated: May 05 '14