Unity-Technologies / ROS-TCP-Connector

Apache License 2.0
286 stars 90 forks source link

Compiling Visualizations for Hololens 2 (UWP) #303

Open j-polden opened 1 year ago

j-polden commented 1 year ago

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

j-polden commented 1 year ago

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

zkrischer commented 1 year ago

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

j-polden commented 1 year ago

@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.