RosPublisherExample gives warning in ROS2 Humble
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 領域
- networking, robotics
研究方向
Start by reproducing the warning with RosPublisherExample.cs and ros_tcp_endpoint's default_server_endpoint using the versions and Docker setup listed in the issue. Inspect the two RegisterPublisher calls and related ROS2 logging, then verify the example produces one INFO RegisterPublisher log without the duplicate-node warning.
由索引模型根據 Issue 內容生成。
描述
Description of the bug
Publishing the example PosRot message from the unity_robotics_demo_msgs package using ROS2 gives warning log.
To Reproduce
Steps to reproduce the behavior:
- Run up ros_tcp_endpoint version 0.7 and launch with default config e.g.
ROS_IP=0.0.0.0port 10000. - Start the RosPublisherExample in a Unity project.
Console logs
root@78932a399808:/ros2_ws# ros2 run ros_tcp_endpoint default_server_endpoint --ros-args -p ROS_IP:=0.0.0.0
[INFO] [1655364893.499026344] [UnityEndpoint]: Starting server on 0.0.0.0:10000
[INFO] [1655364914.368200902] [UnityEndpoint]: Connection from 172.19.0.1
[INFO] [1655364914.540648798] [UnityEndpoint]: RegisterSubscriber(/tf, <class 'tf2_msgs.msg._tf_message.TFMessage'>) OK
[INFO] [1655364914.547903045] [UnityEndpoint]: RegisterPublisher(pos_rot, <class 'unity_robotics_demo_msgs.msg._pos_rot.PosRot'>) OK
[WARN] [1655364914.548093382] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic.
[INFO] [1655364914.552324273] [UnityEndpoint]: RegisterPublisher(pos_rot, <class 'unity_robotics_demo_msgs.msg._pos_rot.PosRot'>) OK
Expected behavior
A clear and concise description of what you expected to happen.
A single INFO RegisterPublisher log without a warning.
Screenshot

Environment
- Unity Version: Unity 2020.3.19f1
- Unity machine OS + version: Windows 11
- ROS machine OS + version: Ubuntu 20.04, ROS2 Humble
- ROS–Unity communication: Docker
- Branch or version: v0.7.0
- 主要語言
- C#
- 星號
- 2.6k
- 分支
- 473
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Unity-Technologies/Unity-Robotics-Hub 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 35/100
-
ROS2,Action未關閉
難度 4/5 3-5 天 新手友好度 25/100
-
難度 1/5 1 小時以內 新手友好度 20/100
-
難度 5/5 一週以上 新手友好度 15/100
-
難度 4/5 3-5 天 新手友好度 25/100
Unity-Technologies/Unity-Robotics-Hub#433 · 1 則留言 ·
查看 Unity-Technologies/Unity-Robotics-Hub 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 3 天內回覆
-
bug python
難度 1/5 1 小時以內 新手友好度 88/100
ilia-sokolov/OfficeAgent.NET#89 ·
維護者通常 13 天內回覆
-
documentation
難度 2/5 1-3 小時 新手友好度 82/100
juandresrodca/AdminForge#66 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
umbraco/Umbraco.Automate#612 ·
維護者通常 1 天內回覆