-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
Describe the bug
HUDPanel already contains a header registered at index 0! Registering at index 1 instead.
To Reproduce
Steps to reproduce the behavior:
- Open the Scene that calls the ROSConnection GetOrCreateInstance()
- Change to some other scene that doesn't contain any ROS stuff
- 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
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
Metadata
Metadata
Assignees
Labels
No labels
