ros-sharp icon indicating copy to clipboard operation
ros-sharp copied to clipboard

Image is not rendered on Hololnes2

Open kkyuri0419 opened this issue 5 years ago • 2 comments

  • [x] I am at the right place and my issue is directly related to ROS#. General technical questions I would post e.g. at ROS Answers or Stack Overflow. For library-specific questions I would look for help in the corresponding library forums.
  • [x] I have thoroughly read the Contributing Guideline and writing this issue is the right thing to do in my case.

I have a question!

  • [x] I searched the Wiki, open and closed issues for an answer. I tried my best to find the answer by myself without success. I believe that the discussion we will have in this issue, and the solutions we might find, will help me, and likely other community members who have a similar problem.

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!

  • [x] I am using the latest ROS# version available here on the master branch.

  • [ ] I am adding all required information, code and data files, screenshots and log files so that you can reproduce the problem.

  • My OS is: windows

  • My Unity Version is: 2020.3.7f1

  • My ROS Distribution is:

  • My Build Target Platform is: HL2

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:

kkyuri0419 avatar Nov 30 '21 08:11 kkyuri0419

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 avatar Dec 07 '21 15:12 EricVoll

Can this be closed?

EricVoll avatar Jan 04 '22 08:01 EricVoll