I’d like to open ROS2 bridge in Isaac sim 4.5 on Windows 11. I have followed each step provided by the official documentation: ROS and ROS 2 Installation — Isaac Sim Documentation for windows. Ubuntu 22.04 and ROS2 Humble are installed in WSL2.
After all steps, I launched Isaac sim app via Isaac-sim.selector by command:
(env_isaaclab) PS C:\IsaacLab> ._isaac_sim\isaac-sim.selector.bat
And choose isaacsim.ros2.bridge in “Extension”. Then, I clicked on “START” to open Isaac sim app. I checked ros2 bridge extension and in this case, ros2 bridge is opened and all ros2 node can be used.
However, if I directly open Isaac sim app, not via selector, by command:
(env_isaaclab) PS C:\IsaacLab> ._isaac_sim\isaac-sim.bat
the ros2 bridge is not opened.
I have successfully set up ROS workspace and set the FASTRTPS_DEFAULT_PROFILES_FILE variable referencing the “Multiple Machines” tab in the “Enabling the ROS Bridge Extension”. The commands in two terminals (WSL2 and windows PowerShell) are shown in the following figure.
First, I think the communication between WSL2 and windows is well, because if I use Isaac Sim selector to open app, ROS2 bridge can be used, and I utilized ROS2 publisher node in Action Graph to publish data “100” (topic name: int; message type: std_msgs/msg/Int64):
So, everything looks well. But if I directly open app, not via Isaac Sim selector, the ROS2 bridge cannot be opened and there are no ROS2 nodes in action graph.
In the system environment variables of windows setting, add variables: name:ROS_DISTRO, value: humble; name: RMW_IMPLEMENTATION, value: rmw_fastrtps_cpp. And edit the variable “Path” to add “C:\isaaclab_isaac_sim\exts\isaacsim.ros2.bridge\humble\lib”. Then, ROS2 bridge can be used.