robotology / gz-sim-yarp-plugins

YARP plugins for Modern Gazebo (gz-sim).
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Install Gazebo Garden on Ubuntu 22.04 #2

Closed traversaro closed 1 year ago

traversaro commented 1 year ago

Follow the instructions in https://gazebosim.org/docs/garden/install . As we may need to go back and forth from Gazebo Garden to Gazebo Classic, probably it could also make sense to prepare some bash script to automatically remove Gazebo Garden and re-install Gazebo Classic and viceversa.

traversaro commented 1 year ago

The installation scripts to pass from Gazebo Garden to Gazebo Classic and vice-versa can be committed to the repo, so you get used to deal with git repos.

lucapa17 commented 1 year ago

Okay, I think we installed correctly Gazebo Garden. We had some problems in launching it, in particular the following error:

[GUI] [Err] [Ogre2RenderEngine.cc:1113] Unable to create the rendering window: OGRE EXCEPTION(3:RenderingAPIException): Out of GPU memory or driver refused. glGetError code: 1285. Requested: 67108864 bytes. in GL3PlusVaoManager::allocateVbo at ./RenderSystems/GL3Plus/src/Vao/OgreGL3PlusVaoManager.cpp (line 545)

I think we fixed it, as suggested in https://staging.gazebosim.org/docs/garden/troubleshooting#ubuntu , with the command export LIBGL_ALWAYS_SOFTWARE=1 It seems to work correctly.

We tried also to launch the forcetorque example in Gazebo Classic and it works correctly, even with Gazebo Garden installed. Maybe this is possible since we installed Gazebo Classic through Source installation with conda-forge while we installed Gazebo Garden through binary installation. Anyway uninstalling and re-installing Gazebo Classic and Garden is a quick operation (we already tried it) and it should not be a problem if it will be necessary.

traversaro commented 1 year ago

Cool! I did not mention conda-forge installation as an option as I was afraid of confusing you, but apparently you sorted out yourself, great.

Anyway uninstalling and re-installing Gazebo Classic and Garden is a quick operation (we already tried it) and it should not be a problem if it will be necessary.

Ok, can you document the step necessary for doing this in the README of the repo? Once you have done that, I think we can close the issue.

GiacomoBisio commented 1 year ago

README added int the repo(see 7b12ac79df024f7c2812a516505f6069a98bc638). So, let's close this issue.