EricVoll / ros-sharp

ROS# is a set of open source software libraries and tools in C# for communicating with ROS from .NET applications, in particular Unity3D
Apache License 2.0
36 stars 7 forks source link

Image is not rendered on Hololnes2 #20

Closed kkyuri0419 closed 2 years ago

kkyuri0419 commented 2 years ago

I have a question!

Here is my question:

I dont know why it doesn't work when deployed on Hololens2 while it works on play mode on Unity. Is there anything that I need to set or change to make it work on Hololens2? I dont even know what is causing this issue..please help,,


I found a bug!

Here is my bug description:

Perform the following steps reproduce the bug:

Observed results:

when I hit the play mode on unity, the image I receive though ImageSubscriber is rendered on the window. But when I deploy this application on HoloLens2, I cannot see the image on the window.

Expected results:

the image should be shown on the window on Hololens2 just like it is shown in the play mode

Relevant Code:

<!-- Insert code here. Optionally attach code or data files to this issue. -->

I have a feature request!

I want to do this:

For being able to do it, I wish ROS# had the following feature:

EricVoll commented 2 years ago

Hi @kkyuri0419 Please post more proper information about the message you are trying to receive. Have you checked that you receive the messages on the deployed app (in other words: is it a ROS issue, or a rendering issue?). Are you using custom ROS sharp messages or standard ones? If custom, please post the code.

This sounds like a Code-Stripping issue from IL2CPP. You can try to exclude your class/namespace from code stripping by adding it here: https://github.com/EricVoll/ros-sharp/blob/master/Unity3D/Assets/RosSharp/link.xml

EricVoll commented 2 years ago

Can this be closed?