Gazebo | Ignition | Community
Ask Your Question

Simone's profile - activity

2021-11-23 05:51:02 -0600 received badge  Notable Question (source)
2021-11-23 05:51:02 -0600 received badge  Popular Question (source)
2021-04-30 10:36:05 -0600 received badge  Famous Question (source)
2021-04-12 05:37:00 -0600 received badge  Famous Question (source)
2021-03-08 04:41:02 -0600 received badge  Famous Question (source)
2021-01-21 19:13:38 -0600 received badge  Notable Question (source)
2021-01-11 10:26:57 -0600 edited question [SOLVED] Gazebo 11 under WSL (Windows Subsystem for Linux)

Gazebo 11 under WSL (Windows Subsystem for Linux) [works!] Hi there, I've tried to install Gazebo 11 under WSL in Window

2020-12-18 15:42:57 -0600 edited question [SOLVED] Gazebo 11 under WSL (Windows Subsystem for Linux)

Gazebo 11 under WSL (Windows Subsystem for Linux) Hi there, I've tried to install Gazebo 11 under WSL in Windows 10 buil

2020-12-18 15:42:13 -0600 marked best answer [SOLVED] Gazebo 11 under WSL (Windows Subsystem for Linux)

Hi there, I've tried to install Gazebo 11 under WSL in Windows 10 build 1903.

Here it is the current status of my installation:

  • the official PPA was added inside /etc/apt/sources.list.d/
  • Gazebo 11 package (gazebo11) and all its dependencies were installed from APT
  • the environment variable DISPLAY was exported from bashrc, with value localhost:0.0 (also :0 was tried)
  • XMing graphical server (version 6.9.0.31) was installed on Windows
  • the mesa-utils package was installed from APT

When I run Gazebo from the command line using gazebo, the following error appears:

X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  20
  Current serial number in output stream:  20
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  20
  Current serial number in output stream:  20

(in fact it appears twice).

Afterwards, the output stops, but the command does not return; also, no window appears.

Please, can you help me? At least how can I investigate this issue? I have no clue.

2020-12-18 15:41:57 -0600 answered a question [SOLVED] Gazebo 11 under WSL (Windows Subsystem for Linux)

Recently, a new version of WSL has been released, i.e. WLS2, and Gazebo seems to work fine. I have followed this video

2020-12-18 15:32:37 -0600 commented answer [SOLVED] Gazebo 11 under WSL (Windows Subsystem for Linux)

Thank you for replying! With the new WSL release, Gazebo seems to run without problems.

2020-12-18 15:28:33 -0600 commented answer Error installing Gazebo on Windows following the tutorial

Thank you for the advice. Unfortunately, I am no longer using Window to run Gazebo, so I cannot try to do what you sugge

2020-12-18 15:21:13 -0600 commented answer How to capture 12 bit ( = 4096 grayscale levels) images

Thank you for the advice! Since I my skills in programming are quite limited, I think that for now I am going to take 16

2020-12-18 15:15:19 -0600 received badge  Popular Question (source)
2020-12-18 13:50:20 -0600 marked best answer Reference paper for SDFormat (citation in bibliography)

Hi there, my question is not related to Gazebo itself, so I am not sure that this is the right place to ask my question: how should I cite the SDFormat in the bibliography of a scientific article? Thank you in advance!

2020-12-18 13:20:27 -0600 received badge  Notable Question (source)
2020-12-18 09:17:09 -0600 asked a question Reference paper for SDFormat (citation in bibliography)

Reference paper for SDFormat (citation in bibliography) Hi there, my question is not related to Gazebo itself, so I am n

2020-12-03 04:36:52 -0600 asked a question How to capture 12 bit ( = 4096 grayscale levels) images

How to capture 12 bit ( = 4096 grayscale levels) images Hi there, I would ask you if there is the possibility to capture

2020-11-21 05:10:40 -0600 answered a question Empty cylinder geometry for gazebo

If you want to create complex geometries (i.e. geometries that cannot be obtained by combining full cubes, full cylinder

2020-11-21 04:54:11 -0600 edited question Error with plugins associated with Ignition Robotics models

Error with plug-in (Ignition Robotics model) Hi guys, I'm having troubles with introducing in my .world file a model fou

2020-11-21 04:53:28 -0600 received badge  Popular Question (source)
2020-11-20 12:15:30 -0600 edited question Error with actor with no skin

Error with actor with no skin Hi there, I am using Gazebo 11.2.0 to make a camera moving along a line while taking stere

2020-11-20 11:57:18 -0600 edited question Error with actor with no skin

Error with actor with no skin Hi there, I am using Gazebo 11.2.0 to make a camera moving along a line while taking stere

2020-11-20 11:55:02 -0600 edited question Error with actor with no skin

Error with actor with no skin Hi there, I am using Gazebo 11.2.0 to make a camera moving along a line while taking stere

2020-11-20 11:35:41 -0600 edited question Error with actor with no skin

Actor with [__default__] skin makes Gazebo closing Hi there, I am using Gazebo 11.2.0 to make a camera moving along a li

2020-11-20 11:00:47 -0600 edited question Error with actor with no skin

Actor with "default" skin makes Gazebo closing Hi there, I am using Gazebo 11.2.0 to make a camera moving along a line w

2020-11-20 11:00:02 -0600 asked a question Error with actor with no skin

Actor with "default" skin makes Gazebo closing Hi there, I am using Gazebo 11.2.0 to make a camera moving along a line w

2020-11-20 07:56:00 -0600 edited question Error with plugins associated with Ignition Robotics models

Add a model from Ignition Robotics Hi guys, I'm having troubles with introducing in my .world file a model found in Igni

2020-11-20 07:55:18 -0600 edited question Error with plugins associated with Ignition Robotics models

Add a model from Ignition Robotics Hi guys, I'm having troubles with introducing in my .world file a model found in Igni

2020-11-20 07:55:18 -0600 received badge  Associate Editor (source)
2020-11-20 07:38:43 -0600 edited question Error with plugins associated with Ignition Robotics models

Add a model from Ignition Robotics Hi guys, I'm having troubles with introducing in my .world file a model found in Igni

2020-11-20 05:39:29 -0600 commented question Error with plugins associated with Ignition Robotics models

I was using the 11.0.0 version. I have now upgraded it to the 11.2.0 and the model "Falling rock 1" can now be introduce

2020-11-19 16:24:06 -0600 asked a question Error with plugins associated with Ignition Robotics models

Add a model from Ignition Robotics Hi guys, I'm having troubles with introducing in my .world file a model found in Igni

2020-11-19 15:52:17 -0600 received badge  Supporter (source)
2020-11-18 13:38:33 -0600 received badge  Popular Question (source)
2020-11-18 13:38:33 -0600 received badge  Notable Question (source)
2020-11-18 13:36:27 -0600 received badge  Notable Question (source)
2020-11-18 13:36:27 -0600 received badge  Popular Question (source)
2020-09-10 09:48:47 -0600 commented answer How to set the pose of a box importing data

Thank you so much!!

2020-09-10 09:48:33 -0600 marked best answer How to set the pose of a box importing data

Hi there! I am using gazebo-11 to test the navigation algorithm based on visual odometry implemented on NASA's Curiosity rover.

In particular, I created a stereo camera model and I made it move along a line and take photos at a certain rate. In order to simulate osbtacles I introduced manually (it took me a great amount of time!!!) in the .world file a number of boxes (about 200) which are different from each other in terms of dimensions, position and orientation.

Is there a way to import from a .txt file (or other formats) the information about pose and size of each box so that a box of such size and pose is actually introduced in the Gazebo world (the GUI)?

Probably I have to write a plugin or something similar. Than you so much in advance!!

2020-09-09 09:37:32 -0600 asked a question How to set the pose of a box importing data

How to set the pose of a box importing data Hi there! I am using gazebo-11 to test the navigation algorithm based on vis

2020-09-09 09:24:35 -0600 marked best answer DEM of Mars surface with .img/.lbl files

Hi there,

I have followed the proposed tutorial about DEM (http://gazebosim.org/tutorials?tut=de...) and I successfully obtained a DEM of the vulcain: the file mtsthelens_129.dem called by volcano.world is of type .dem, and the simulation works fine.

Now I am trying to create a DEM of a portion of Mars surface, so I downloaded a .imgfile containing the raster data of Mars surface (this is the link: http://pds-geosciences.wustl.edu/mgs/...)

Note that there is an associated .lblfile at this link http://pds-geosciences.wustl.edu/mgs/..., but I don't know how to use it.

Then I created a .world file, but when I run the simulation the following error occurs:

ERROR 4: `/usr/share/gazebo-11/media/dem/megt90n000cd.img' not recognized as a supported file format. Errore di segmentazione (core dump creato)

However, I believe that Gazebo can realize DEM models using a file whose format is not necessarily .dem, according to what is said in the tutorial:

Currently, Gazebo only supports raster data in the supported formats available in GDAL

These formats are listed in this page: https://gdal.org/. In particular I am interested in the PDS – Planetary Data System v3; about PDS files, in the GDAL web page can be found that:

PDS files often have the extension .img, sometimes with an associated .lbl (label) file. When a .lbl file exists it should be used as the dataset name rather than the .img file

but I don't know what does it mean.

My question is: can I use files whose format is different from .dem in order to create a DEM? Can I convert a .img file containing raster data in a .dem one?

Could anyone please help me? Thanks a lot in advance!!

2020-09-09 09:24:09 -0600 received badge  Famous Question (source)
2020-09-09 09:23:38 -0600 received badge  Famous Question (source)
2020-09-09 09:23:02 -0600 marked best answer Problem with DEM extending on a rectangular area: "big box" appears

Hi all,

I've downloaded a .tif file containing raster data of Gale crater on Mars.

Since it is a high resolution file (1 pixel per meter) covering an area of about 33000 m x 57500 m, I rescale it with the command gdalwarp proposed in Gazebo's DEM tutorial (the rescale factor equal to 1/100):

gdalwarp -ts 330 575 /Gale_original.tif /Gale_new.tif

Then I created the file Gale.world in which the .tif file Gale_new.tif is loaded in order to visualize the DEM on Gazebo.

In the Gale.world file I choose the size of the DEM as shown below:

<uri>file://media/dem/Gale_crater2.tif</uri>
              <size>330 575 100</size>

(the choice for the height = 100 is not realistic, but it does not matter for now)

When I run Gazebo I visualize a sort of big box that Gazebo uses in order to transform the area where the DEM is built from rectangular (330 m x 575 m) into square (575 m x 575 m). The height of this box is equal to 100 m.

image description

How can I fix this this problem? Can I create in Gazebo a DEM that covers a rectangular area? Thanks in advance!!

2020-09-09 09:23:02 -0600 received badge  Scholar (source)
2020-09-09 09:22:58 -0600 commented answer Problem with DEM extending on a rectangular area: "big box" appears

Hi! You were right: the problem was that there were no data in such "area".

2020-09-09 09:21:04 -0600 received badge  Famous Question (source)
2020-09-09 09:21:04 -0600 received badge  Notable Question (source)