Gazebo | Ignition | Community
Ask Your Question

Using ignition gazebo with WSLg on Windows 11

asked 2021-10-31 02:15:47 -0500

bmchale gravatar image

I recently upgraded to Windows 11 and am using WSLg instead of VcXsrv for running ignition gazebo in WSL. I use the command ign gazebo shapes.sdf -v to start the simulation and it shows a white world. Here's my output in terminal with verbose logging and a screenshot of the GUI.

image description

image description

Has anyone gotten this working? If so, was there any configuration you needed to do? Regular gazebo works and this used to work on WIndows 10 with VcXsrv.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2023-02-12 19:46:29 -0500

Hi, I got a similar situation (gazebo running but nothing inside the sim) I worked after adding the following variables on the WSL2 terminal:

export GAZEBO_IP= export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0 export LIBGL_ALWAYS_INDIRECT=0 export LIBGL_ALWAYS_SOFTWARE=1

edit flag offensive delete link more

answered 2021-11-09 03:32:46 -0500

silvio.traversaro gravatar image
edit flag offensive delete link more

Question Tools



Asked: 2021-10-31 02:15:47 -0500

Seen: 1,468 times

Last updated: Feb 12 '23