ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

First: WSL is not a supported runtime environment for ROS. It comes with a special set of requirements and constraints that none of the ROS packages have been tested for. You can certainly try to use ROS in a WSL environment, but know that you'll most likely run into difficulties.

Having written that: if the driver requires access to hardware, it's likely it can't work in WSL, as WSL does not support direct access to hw. If it just needs a network connection, it may work.

As to RViz: WSL does not come with an X-server, so GUI applications will not work by default. You'll have to install an X-server on the Windows side. There are a few Q&As about this here on ROS Answers you may want to look up (use Google, and append site:answers.ros.org to your search query). But even with an X-server there is no guarantee running RViz (and/or Gazebo) will work.