Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Image visualization issue using Visualization Package

Discussion in 'Robotics' started by silvia_fattorini, Aug 21, 2023.

  1. silvia_fattorini

    silvia_fattorini

    Joined:
    Jun 19, 2023
    Posts:
    1
    Hello,

    I have two PCs, one with Ubuntu 20.04 and a RealSense D435 publishing on ROS, the other with Windows 11 and Unity 2022.3.6f1. I'd like to see the live stream of the video from the RealSense in Unity. I'm using ROS-TCP-Connector to enstablish the connection between ROS and Unity and the Visualizations Package to visualize the incoming informations from ROS.
    To see the video I have selected the "/camera/color/image_raw" topic.
    When I press Play, I can see the incoming video in the Unity Game Window, but just in a widget, not really integrated in the scene. Instead, I would like to see the video directly in the Game, to stream it after in a VR HMD (Varjo Aero). I have tried to attach the "Image Default Visualizer" script to a GameObject (a plane), because I thought it was necessary to integrate the video in the Scene, but it didn't work. Could you give me some advice? Am I missing some steps?

    Immagine 2023-08-10 163328.jpg


    Environment:
    Unity Version: Unity 2022.3.6f1]
    Unity machine: Windows 11
    ROS machine: Ubuntu 20.04.6, ROS Noetic
    Camera: RealSense D435
     
  2. Envilon

    Envilon

    Joined:
    Aug 8, 2020
    Posts:
    55