Unity-Technologies/ROS-TCP-Connector

Compiling Visualizations for Hololens 2 (UWP)

j-polden opened this issue · 3 comments

  • So far, I have been able to get the ROS TCP Connector working on Hololens 2 without too much issue. I can subscribe to topics and read information off them over a WIFI network.

  • I am now trying to leverage the functionality of the unity.robotics.visualizations package on the Hololens. I want to, for example, subscribe to a point cloud topic and render the point data on my Hololens. I am able to do this in unity, but i am finding it very difficult get any of the visualizations package to build for UWP. I am continually running into the following error, and no amount of creating assembly definitions seems to help:

The type or namespace name 'Visualizations' does not exist in the namespace 'Unity.Robotics' (are you missing an assembly reference?)

Has anyone else had any success with the unity.robotics.visualizations package on the Hololens 2?

Cheers,
Joe

I missed the obvious! The visualizations asmdef does not include build support for UWP.

image

Just wondering if there any plans to develop this? It would be very useful (and the ROS-TCP-Connector sister package is UWP compatible). Although it does seem that development of these packages is dead? Not much activity here or on the forums it seems.

Cheers

I've been doing some work with visualisations on the hololens too. I've gotten it to successfully build and deploy, though there are still issues when running the application on the Hololens.

I haven't been working with unity for long (this is my first project) but why couldn't you just tick the UWP support? I'm wondering if this is the reason for my issues

@zkrischer I'm no expert but I would imagine that it is somewhat more complicated than just making it possible to tick the UWP support option.... UWP does not support a number of C# libraries, so a decent amount of modification of the source code would be required to ensure these Visualization packages are able to compile with the reduced subset of libraries available.