ms-iot / ros_msft_mrtk

This repository contains ROS2 bindings for the Mixed Reality Toolkit - allowing you to create VR and AR applications which reflect sensor data from a Robot or provide command and control
MIT License
65 stars 10 forks source link

UWP Topics are not shown #35

Open pabloinigoblasco opened 1 year ago

pabloinigoblasco commented 1 year ago

I was able to build your system from code based on foxy. The windows solution works well.

However, I found tons of problems for the UWP solution. Now at least I am being able to execute a simple node in UWP, however topics are not shown in the ROS2 network. The only I could do in the node is creating a subscriber and a subscriber inside this same process/node.

I put all the required capabilities: Internet (Client&Server), Internet(Client), Private Network. Do you have any Idea why this is happening?

ooeygui commented 1 year ago

Are you running the ROS2 network on the same machine or different machine?

ooeygui commented 1 year ago

The reason I ask is that UWP has issues with "loopback", even when configured with appropriate capabilities.

pabloinigoblasco commented 1 year ago

It does not work in any of the cases. The only that works is a publisher and a subscriber in the same process.

I tried many other combinations that do not work: (uwp-x64 process) to (uwp-x64 process same machine) (uwp-x64 process) to (windows-64 process same machine) (uwp-x64 process) to (linux process remote machine)