Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HUDPanel already contains a header registered at index 0! Registering at index 1 instead. #315

Open
jpvr20 opened this issue Nov 15, 2023 · 0 comments

Comments

@jpvr20
Copy link

jpvr20 commented Nov 15, 2023

Describe the bug
HUDPanel already contains a header registered at index 0! Registering at index 1 instead.

To Reproduce
Steps to reproduce the behavior:

  1. Open the Scene that calls the ROSConnection GetOrCreateInstance()
  2. Change to some other scene that doesn't contain any ROS stuff
  3. Call the first Scene again

Console logs / stack traces

HUDPanel already contains a header registered at index 0! Registering at index 1 instead.
UnityEngine.Debug:LogWarning (object)
Unity.Robotics.ROSTCPConnector.HudPanel:RegisterHeader (System.Action,int) (at ./Library/PackageCache/com.unity.robotics.ros-tcp-connector@c27f00c6cf/Runtime/TcpConnector/HudPanel.cs:120)
Unity.Robotics.ROSTCPConnector.ROSConnection:Start () (at ./Library/PackageCache/com.unity.robotics.ros-tcp-connector@c27f00c6cf/Runtime/TcpConnector/ROSConnection.cs:484)

Expected behavior
UI should show just one TCP connection

Screenshots
Screenshot from 2023-11-15 11-43-04

Environment (please complete the following information, where applicable):

  • Unity Version: Unity 2022.3.10f1<OpenGL 4.5>
  • Unity machine OS + version: Ubuntu 20.04
  • ROS machine OS + version: Ubuntu 20.04, ROS Noetic
  • ROS–Unity communication: TCP
  • Branch or version: 0.7.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant