Skip to content

How to activate the visualization of a topic from code? #306

@Hydran00

Description

@Hydran00

The problem
Hi, I am trying to visualize the streaming of a PointCloud2 topic in a meta quest pro. It works well in the editor but the problem is that I cannot find a way to activate the topic subscribtion and trigger the drawer of the pointcloud since I do not have the camera GUI inside the oculus builded app. In other words I want to replicate what happens when I click the 3D button of that specific topic in the DefaultVisualizationSuite GUI directly from code.

Screenshot from 2023-05-16 23-42-07

Environment

  • Unity Version: 2021.3.25f1
  • Build Target: Meta quest pro
  • OS: Ubuntu 22.04
  • ROS2 Humble
  • ROS–Unity communication: Ros Tcp Endpoint in local

Thank you for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions